I think it is looking for vendors_controller.rb

The controller is always the plural of the model, unless specified.

Renaming your vendor_controller.rb file to vendors_controller.rb should 
work.

Punit

RichardOnRails wrote:
> I�ve got a Rails app that brings up a Home page,  which includes a
> Vendor link.  Clicking on that link I get
> ===========Web page start ========
> NameError in VendorController#index
> uninitialized constant VendorController
> RAILS_ROOT: K:/_Projects/Ruby/_Rails_Apps/_EIMS/RTS
> Application Trace | Framework Trace | Full Trace
> Request
> Parameters:
> None
> Show session dump
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to