Making Redis-store views cache work with simple Regexps Posted by mencio on June 03, 2012 — 0 comments I've found a way to make Redis-store work with simple Regexps and also expire caches with wirdcard string (once that hit Redis Keys method). Check this out! Comments Post a Comme...
Ruby Internals: Exec Posted by oscardb on June 03, 2012 — 0 comments This article explains how Ruby implements exec in C. Comments Post a Comment Comment abilities for non registered users are currently deactivated, pending time to add a proper CAPTCHA to solve the escalating spam...
IProcess v2.1.0 released Posted by robgleeson on June 03, 2012 — 0 comments IProcess v2.1.0 is a collection of Ruby classes you can use to transport Ruby objects between processes. It can be useful if you'd like to run CPU-heavy units of work in parallel or if you'd like to perform so...
Introducing Phusion Passenger™ Phusion Passenger® — a.k.a. mod_rails or mod_rack — makes deployment of Ruby web applications, such as those built on the revolutionary Ruby on Rails web framework , a breeze. It follows the usual Ruby on Rails conventions, such as “Don’t-Repeat-Yourself...
数週間前、エピソード235[動画を見る , 原文を読む ]と236[動画を見る , 原文を読む ]でOmniAuthについて説明しました。OmniAuthは、Twitterなどのサードパーティによる認証サービスを自分のRailsアプリケーションに統合することを可能にします。これらのエピソードで提示したシナリオでは、アプリケーションにすでにユーザ名とパスワードを管理するしくみ(この場合はDevice)が存在しているところにOmniAuthを統合するという、どちらかというと複雑なものでした。また、ユーザごとに複数の認証方法を提供していました。このような特別な要求がない...
configict 0.0.1 YAML config loader with checking conflict from example install gem install configict Download Documentation Subscribe Stats Authors Narihiro Nakamura 3 total downloads 3 for this version Owners Links Homepage Gemfile gem "configict", "~> 0.0.1" Versions 0.0.1 June 3, 2012
When writing your first few Ruby programs, you tend to place all of your code in a single file. But as you grow as a Ruby programmer, your Ruby programs will also grow, and at some point you will realize that having a single file containing all of your code just won't do. It is easier...
This episode is the first in a series on handling the checkout process for orders. Here we show how to complete purchases through PayPal's Website Payments Standard service.
kannomiho 0.0.1 kannomiho install gem install kannomiho Download Documentation Subscribe Stats Authors koshikawa 17 total downloads 17 for this version Owners Links Homepage Gemfile gem "kannomiho", "~> 0.0.1" Versions 0.0.1 June 3, 2012 Help Guides Blog Contribute Mobile Status Uptim...
lz4-ruby 0.1.0 Ruby bindings for LZ4. install gem install lz4-ruby Download Documentation Subscribe Stats Authors KOMIYA Atsushi 7 total downloads 7 for this version Owners Links Homepage Gemfile gem "lz4-ruby", "~> 0.1.0" Versions 0.1.0 June 3, 2012 Development Dependencies bundler ~...
Ruby on Railsでは、データベーステーブルの主キーとしてidというカラムを使うのがデフォルトです。 誤解される方も多いのですが、もちろん主キーの名前は変更できます。たとえば、User モデルに対応するusers テーブルの主キーがuid である場合、次のように書けばOKです。 class User < ActiveRecord::Base self.primary_key = "uid" end 本稿のテーマからは外れますが、テーブルの名前も指定できます。テーブルuser_master をUser モデルで取り扱いたいなら、次のように書きます。 clas...
kannomiho 0.0.1 kannomiho install gem install kannomiho Download Documentation Subscribe Stats Authors koshikawa 32 total downloads 32 for this version Owners Links Homepage Gemfile gem "kannomiho", "~> 0.0.1" Versions 0.0.1 June 3, 2012 Help Guides Blog Contribute Mobile Status Uptim...
A simple mechanism to create custom log files based on queue names of Resque workers.
176,669 downloads soap4r (1.5.8) An implementation of SOAP 1.1 for Ruby. Displaying all 15 Rubygem 176,669 downloads soap4r (1.5.8) An implementation of SOAP 1.1 for Ruby. 27,779 downloads mumboe-soap4r (1.5.8.5) An implementation of SOAP 1.1 for Ruby. 8,373 downloads rubyjedi-soap4r ...
The RSpec Book will introduce you to RSpec, Cucumber, and a number of other tools that make up the Ruby BDD family. Replete with tutorials and practical examples, the RSpec Book will help you get your BDD on, taking you from executable requirements to working software that is clean, w...
“Deliver Newsletter”のリンクをクリックしてニュースレターを配信することができます。この処理が終わるまでには時間がかかり、それまでRailsインスタンスはその他のリクエストを処理することができず、レスポンスを待つ間ブラウザは反応が止まってしまったように見えます。このため、処理に時間がかかるタスクはできるだけバックグラウンドプロセスに変える方がいいでしょう。ニュースレターがようやく配信されるとページ上部にメッセージが表示され、ステータスがリストに表示されます。
...eine dynamische, freie Programmiersprache, die sich einfach anwenden und produktiv einsetzen lässt. Sie hat eine elegante Syntax, die man leicht lesen und schreiben kann.
Talk about a hard problem to diagnose! I canceled the installation of Rack 1.0 half way through because I realized I was running the wrong command (I didn’t use sudo like I wanted to). After that, I couldn’t load rack at all, even though I could see it in my gems directory and I could...
Yesterday, Matz made a commit to the MRI Ruby repository bumping the trunk version from 1.9.4 to 2.0.0 , marking the start of the work of implementing the long-discussed ideas for Ruby 2.0. What is Ruby 2.0? Ruby 2.0 is the next major version release of MRI Ruby, the de facto official...
hinagiku-volume1.zip (145.6 KB) -- サンプルアプリケーションHinagikuのソースコード。第1巻終了時の形。 hinagiku-volume2.zip (164.5 KB) -- サンプルアプリケーションHinagikuのソースコード。第2巻終了時の形。 hinagiku-volume3.zip (99.7 KB) -- サンプルアプリケーションHinagikuのソースコード。第3巻終了時の形。※ ファイルサイズが第2巻終了時より小さいのはjQueryのソースコードが除外されたためです。 shelf.zip (105.5 KB)...
Send your application errors to our hosted service and reclaim your inbox.