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.

Carlos Paramio's latest activity

Tuesday, November 04 2008
1328 One-to-one Association example at docs is confused was created in Ruby on Rails
  • Carlos Paramio
    Carlos Paramio created the ticket at 7:12 PM

    At the ActiveRecord::Associations::ClassMethods module, in the documentation about "Cardinality and associations", the One-to-one example is confused. The examp...

1176 script/server make an error in Ruby 1.9 because of defined? method's change was updated in Ruby on Rails
  • Carlos Paramio
    Carlos Paramio commented at 4:13 PM

    Ooops. Sorry, I forgot the <code> tags.

    The example:

    
    $ irb1.9
    >> defined? Gem::RubyGemsVersion
    => nil
    >> Gem::RubyGemsVersion
    => "1.2.0.1824"
    >> defined? Gem:...
  • Carlos Paramio
    • Tag changed from ruby1.9 to 2.2, railties, ruby1.9
    by Carlos Paramio at 4:06 PM

    I can reproduce this. I think it is more that rubygems are automatically loaded by Ruby 1.9, but only the first time a gem (or rubygem itself) is used. So when ...