Hi.

Could you post all the code of your form?
On Mon, Nov 21, 2011 at 11:20 AM, manavortex wrote:

Hi group,
i have a rather weird problem - if i use f.submit on my form, the
controller calls #destroy.
i can workaround that if i use button_to "update", :controller
=> :mycontroller, :action => :update, but i don't really want that,
and i want to get this issue fixed.

anyone ever encountered this bug and found a solution?

routes are absolutely okay.

greetings

--
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.
--
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.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 5 | next ›
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedNov 21, '11 at 1:21p
activeNov 24, '11 at 6:14p
posts5
users4
websiterubyonrails.org
irc#RubyOnRails

People

Translate

site design / logo © 2021 Grokbase