I created a model (User) using the scaffold_resource generator and get
the following error when I click “Edit” with ActiveScaffold:
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