Thursday, November 24, 2011

Re: [Rails] f.submit calls #destroy

On 21 November 2011 13:20, manavortex <ewa.baumgarten@emercs.com> wrote:
> Hi group,
> i have a rather weird problem - if i use f.submit on my form, the
> controller calls #destroy.

What do you see in the log when you click submit?

Also when odd things are happening it is always a good idea to check
the web page for valid html. Copy the complete html source from the
browser and paste it into the w3c html validator.

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


Real Estate