Hi. Could you post all the code of your form?
On Mon, Nov 21, 2011 at 11:20 AM, manavortex <[email protected]>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 [email protected]. > To unsubscribe from this group, send email to > [email protected]. > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

