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.

Saimon Moore's latest activity

Tuesday, February 01 2011
6353 I18n load path needs to be setup before eager loading was created in Ruby on Rails
  • Saimon Moore
    Saimon Moore created the ticket at 3:21 PM

    While running some cucumber features I came across a failing cuke that at first glance seemed to be a simple case of a missing translation. In fact, the transla...

Thursday, April 22 2010
4454 Adding a scope to ActiveRecord:Base throws undefined method exception was updated in Ruby on Rails
  • Saimon Moore
    • Tag changed from activerecord rails3 to activerecord rails3, ruby-1.9.1
    by Saimon Moore at 9:58 AM
  • Saimon Moore
    • Tag set to activerecord rails3
    by Saimon Moore at 9:57 AM
  • Saimon Moore
    Saimon Moore created the ticket at 9:57 AM
    #works
    class User < ActiveRecord::Base
      scope :random, lambda { |lt| where("created_at < ?", Time.now.utc).order('RAND()').limit(lt) }
    end
    
    #throws exception ...
Wednesday, April 21 2010
4031 Having Rails 2.3pre or Rack 1.1 installed breaks Rails 2.x was updated in Ruby on Rails
  • Saimon Moore
    Saimon Moore commented at 9:23 AM

    Hongli, I think I know what happened. I'm using rvm to handle my
    rubies. I have 1.9.1-p378 installed. I also use a gemset for each
    application. Recently I upgra...

Tuesday, April 20 2010
4031 Having Rails 2.3pre or Rack 1.1 installed breaks Rails 2.x was updated in Ruby on Rails
  • Saimon Moore
    Saimon Moore commented at 12:02 PM

    Is there any other workaround apart from physically modifying rails/actionpack/lib/action_controller.rb?