Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

Mario's latest activity

Monday, April 12 2010
4372 Some plugins overriding method_missing crashes was created in Ruby on Rails
  • Mario
    Mario created the ticket at 5:41 PM

    For 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
    Mario commented at 5:03 PM

    Sorry, the previous post is not correctly formatted.
    Repeat code:

      x = I18n.translate :foo
      #=> "Foo Text"
    
      x << ' plus more text added on the fly'
      #=> "...
  • Mario
    Mario created the ticket at 4:56 PM

    Run 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"

    ...