Mario
Not a member
Mario's latest activity
Monday, April 12 2010
4372
Some plugins overriding method_missing crashes
was created
in Ruby on Rails
-
Mario created the ticket at 5:41 PMFor example, the plugin searchlogic utilizes method_missing to create new named scopes. When it hits method_missing it creates a named scope (using define_metho...
4371
I18n.translate strange behavior with the << operator
was updated
in Ruby on Rails
-
Mario commented at 5:03 PMSorry, the previous post is not correctly formatted.
Repeat code:x = I18n.translate :foo #=> "Foo Text" x << ' plus more text added on the fly' #=> "... -
Mario created the ticket at 4:56 PMRun script/console in a Rails application:
x = I18n.translate 'foo' => "Foo text"
x << ' more text added on the fly' => "Foo text more text added on the fly"
...