I created a RESTful model (User) using the scaffold_resource generator
and used ActiveScaffold on it. Unfortunately, I get the following
error when I click "Edit" for a particular row:
ActionController::RoutingError (no route found to match "/user/1;edit"
with {:method=>:"get/"}):
Like the instructions suggested, I added the active_scaffold => true
to config/routes.rb and emptied out the built-in Rails scaffolding in
the generated controller.
I suspect that I misinterpreted the term "empty out". Do I get rid of
all the methods completely and replace it with active_scaffold :user?
Any ideas on how to fix this error?
Thanks!
Chirag
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---