[Locomotive-users] NameError
Ryan Raaum
ryan.raaum at gmail.com
Wed Jun 7 19:06:15 GMT 2006
Hi,
On 6/7/06, Matthew Paz <matt at wisesmile.com> wrote:
> I've been using Locomotive successfully for months - suddenly any new
> scaffold code that I generate is throwing an "uninitialized constant"
> message"
>
> Here is the application trace:
>
> /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in
> `const_missing'
> /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:131:in
> `const_missing'
> /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/inflector.rb:161:in
> `constantize'
> /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/core_ext/string/inflections.rb:59:in
> `constantize'
> /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/pagination.rb:194:in
> `paginator_and_collection_for'
> /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/pagination.rb:129:in
> `paginate'
> #{RAILS_ROOT}/app/controllers/items_controller.rb:12:in `list'
> #{RAILS_ROOT}/app/controllers/items_controller.rb:3:in `index'
> _
Stabbing into the dark here....
* Are you storing objects in the session? Have you cleared the
session? (Don't really think this is it, but worth a try...)
* If you work at the console ('ruby script/console'), do you see any
other error messages that may be of help?
* Are these "stock" scaffold files - no changes to what's given?
Best,
-r
______________________________________________
> Locomotive-users mailing list
> Locomotive-users at lists.raaum.org
> http://lists.raaum.org/mailman/listinfo/locomotive-users
>
--
Ryan Raaum
http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X
More information about the Locomotive-users
mailing list