uninitialized constant AuthorsController

17 views
Skip to first unread message

rss2008

unread,
Aug 8, 2008, 4:46:27 AM8/8/08
to Beginning Ruby on Rails E-Commerce
when i tried code of chapter 2(author administration) on rails2.0.2,
one error "uninitialized constant AuthorsController"-- NameError in
AuthorsController#create
What means? and how to resolve it?
Thanks a lot

Jarkko Laine

unread,
Aug 12, 2008, 12:21:20 AM8/12/08
to railsec...@googlegroups.com

When/how do you get that error? Can you paste the whole exception
stack here? Also, note that the code is written for Rails in early
1.x's, so you probably have to be somewhat creative to make it work
with 2.x.

//jarkko

--
Jarkko Laine
http://jlaine.net
http://dotherightthing.com
http://www.railsecommerce.com
http://odesign.fi


Reply all
Reply to author
Forward
0 new messages