[Locomotive-users] Re: NameError

Matthew Paz crshle at gmail.com
Thu Jun 8 14:55:15 GMT 2006


I'm not doing anything out of the ordinary at all.  At this point I'm
wondering if its possible that something has changed in my
environment.  I'm using a mac mini and running OSX v 10.4.6.

The strange thing is that all of the previously generated scaffold
code is running just fine - its only when I'm trying to implement
something new.  I've created a new user and downloaded the previous
release of locomotive - I'm still getting the same message on any
newly generated scaffold code.

However I have no problem when simply generating a controller -
similar to the Say controller in the Agile Development book.


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'
>


More information about the Locomotive-users mailing list