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.

Robin Salkeld's latest activity

Saturday, February 05 2011
5718 Models fail to autoload in Rake files if config.threadsafe! was updated in Ruby on Rails
  • Robin Salkeld
    Robin Salkeld commented at 1:10 AM

    The problem is actually that eager loading of application classes is disabled for rake tasks. From initializer.rb:

    def load_application_classes

    return if $rail...
Thursday, July 08 2010
2543 Make ActiveRecord::Base.exists? invoke find_initial to support :include scopes was updated in Ruby on Rails
  • Robin Salkeld
    • Importance changed from to Low
    by Robin Salkeld at 7:03 PM

    Hi all,

    I know this is an old discussion, but I just hit this change when upgrading from 2.3.5 to 2.3.8 and it's caused me a bit of trouble. The issue is the fa...

Monday, July 27 2009
2961 belongd_to proxy loads from database every time if record is missing was updated in Ruby on Rails
  • Robin Salkeld
    Robin Salkeld commented at 10:20 PM

    Whoops, didn't format the example correctly. Sorry - I'm a lighthouse noob. :)

    class Alpha < ActiveRecord::Base end

    class Beta < ActiveRecord::Base

    belongs_to ...
  • Robin Salkeld
    Robin Salkeld commented at 10:19 PM

    Whoops, didn't format the example correctly. Sorry - I'm a lighthouse noob. :)

    class Alpha < ActiveRecord::Base end

    class Beta < ActiveRecord::Base

    belongs_to ...
  • Robin Salkeld
    Robin Salkeld created the ticket at 10:18 PM

    Greetings all,

    I'm hitting some interesting behaviour in the association proxy code that seems to be intentional, but seems non-optimal and is actually causing ...