On Aug 11, 10:23 am, Wap Addon <[email protected]>
wrote:
> i got error
>  ActiveRecord::RecordNotFound in AdminsController#update
>
> Couldn't find Admin with ID=cateupdate
>
> i have pro_categories table edit file display record but when i press
> update i give me above error

in a restful world when you add actions you need to add them to your
routes file (see the :member and :collection options to map.resources)

Fred
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to