Carlos Paramio
CTO at Evolve Studio · Not a member
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 created the ticket at 7:12 PMAt 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 commented at 4:13 PMOoops. Sorry, I forgot the <code> tags.
The example:
$ irb1.9 >> defined? Gem::RubyGemsVersion => nil >> Gem::RubyGemsVersion => "1.2.0.1824" >> defined? Gem:... -
- Tag changed from ruby1.9 to 2.2, railties, ruby1.9
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 ...