Re: [Rails] Re: submit_tag doesn't do it anything
On 3 November 2010 13:30, h0bit <jsantana.gcc@gmail.com> wrote:
> The submit doesn't do what i want, it means that the submit doesn't
> update the responsibles. I don't see any error messages. Only the
> browser charguing and then redirect to the same view.
Have a look in the log (log/development.log assuming you are in
development mode) and see what happens when you click the button.
Also you can use ruby-debug to break into your application to see what
is happening. See the Rails Guide on Debugging.
I presume you have checked the generated html (View, Page Source or
similar in your browser) to check the html is what you expect.
Colin
--
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-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home