where can i find the documentation for all of the action_controller_path functions?
multiple submits on a form are no longer a viable solution because the only way to tell which one was hit was to know the name "value" of the submit button.. when its in different languages it gets ugly.. im just going to try to use a link_to solution but i cant figure out how _path wants its arguments. link_to 'release', station_path(@station, :state => :release), :method => :put generates a url that looks right but doesnt work. On May 18, 4:08 pm, Hassan Schroeder <hassan.schroe...@gmail.com> wrote: > On Tue, May 18, 2010 at 12:49 PM, frankjmat...@gmail.com > > <frankjmat...@gmail.com> wrote: > > so i can have a form submit to update, have the submit buttons have > > different values and then in the update action figure out which one > > was clicked? > > Exactly. > > > what is necessary beyond f.submit in my view? > > Just create multiple tags with different values, e.g. > > <%= submit_tag 'Accumulate' %> > <%= submit_tag 'Release' %> > <%= submit_tag 'Tenderize' %> # etc.... > > -- > Hassan Schroeder ------------------------ hassan.schroe...@gmail.com > twitter: @hassan > > -- > 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 rubyonrails-t...@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://groups.google.com/group/rubyonrails-talk?hl=en. -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.