Rails is not passing the "commit" button parameter

Posted by Wayne M on Stack Overflow See other posts from Stack Overflow or by Wayne M
Published on 2010-01-04T15:11:25Z Indexed on 2010/04/30 7:57 UTC
Read the original article Hit count: 188

Filed under:

Reinstalling a Rails app on a new server. Part of the app can fork in one of two directions based on the button the user selects. This part isn't working, and when I look at the log I see the values that I gave the form, execept for the commit portion of the params hash. This seems to be why the app isn't working as expected (since there's nothing in params[:commit], but I have no idea why commit would not be passed in; the request is definitely a POST request, and all of the other parameters are there.

© Stack Overflow or respective owner

Related posts about ruby-on-rails