There's a small, but vital configuration detail that isn't on the main
website:
(Assignments might as well be or Abcxyz or YourModel)

config/routes.rb
  map.resources :assignment_types, :active_scaffold => true
  map.resources :assignments, :active_scaffold => true



Without that you get an error like this:

  Request Failed (code 500, Internal Error)
  ActiveRecord::RecordNotFound in AssignmentsController#show
  Couldn't find Assignment with ID=edit_associated


As an aside, I'm confused as to why Active Scaffold reports HTTP 500,
but HTTP 404 is what's actually sent over the wire.
-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en.


Reply via email to