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.

This project is archived and is in readonly mode.

script/generate throws 'undefined method id for class ActiveRecord::Base'

#2996

When executing script/generate with:

ruby 1.9.1p243 (2009-07-16 revision 24175) [i686-linux]

Edge Rails

the following is thrown:

path/test/vendor/rails/activerecord/lib/active_record/attribute_methods/read.rb:15:in undef_method': undefined methodid' for class ActiveRecord::Base' (NameError)

from path/test/vendor/rails/activerecord/lib/active_record/attribute_methods/read.rb:15:in block in <module:Read>

Reported by Diego Carrion · August 5th, 2009 @ 08:04 PM

State: invalid
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. Diego Carrion
    Diego Carrion

    Sorry, formatted stack is in the attachment.

    August 5th, 2009 @ 08:06 PM

  2. Ryan Bigg
    Ryan Bigg
    • State changed from new to invalid

    I'm guessing this is no longer valid, given on what is now edge rails I can generate fine.

    June 16th, 2010 @ 11:34 PM