Hello,

I was curious if there were any examples for a very basic ( pure html,  
non-javascript ) delete / destroy implementation anywhere?

I have found the following [1] which suggests that I need an  
additional page in my view, and I see the destroy method that was  
created by 'merb-gen resource_controller' but I'm not sure about how  
to glue them together, and what additional routes may be required.

I've tried to start out with a simple page in the view for  
delete.html.haml, but I see the following in the logs when I try to  
access it:

  ~ Started request handling: Tue Sep 23 17:38:00 -0700 2008
  ~ Routed to: {"format"=>nil, "action"=>"delete", "id"=>"294",  
"controller"=>"bgp_relationships"}
  ~ Params: {"format"=>nil, "action"=>"delete", "id"=>"294",  
"controller"=>"bgp_relationships"}
  ~ Action 'delete' was not found in BgpRelationships -  
(Merb::ControllerExceptions::ActionNotFound)

Are there any examples around that you could point me toward?

Thanks,

Brad

[1]  
http://jarrodspillers.com/articles/merb-crud-ie-how-to-properly-destroy-things/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" 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/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to