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”
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?