RE: How to provide 2 actions to a form?

<%=button_to “edit”, :action=>“edit” %>
<%=button_to “delete”, :action=>“delete” %>

See default scaffold for the “list” action view and change link_to to
button_to

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs