[Rails] Re: Redirect issue after update

2010-10-28 Thread Pale Horse
Ganesh Kathare wrote in post #957752: > > Hi, > Why you want to post your form on same (i.e edit) method? > As in rails already has CRUD good feature. So y need to custom your form > submit flow? I asked myself the very same question; it was not me that built the site. I can assure you that if it

[Rails] Re: Redirect issue after update

2010-10-28 Thread Pale Horse
Srikanth Jeeva wrote in post #957747: > > Fine. Can you check the log, copy & paste the params that you get for > the action. Also paste the log till redirect occurs. Processing ProductAdminController#edit (for ---.---.-.-- at 2010-10-28 11:41:01) [POST] Parameters: {"commit"=>"Update", "authe

[Rails] Re: Redirect issue after update

2010-10-28 Thread Ganesh Kathare
> I have tried to insert a raise after request.post? but my application > doesn't make contact with this. > > Of course, I've ensured my form method is set to "post". Hi, Why you want to post your form on same(i.e edit) method..?? As in rails already has CRUD good feature. So y need to custom your

[Rails] Re: Redirect issue after update

2010-10-28 Thread Srikanth Jeeva
Fine. Can you check the log, copy & paste the params that you get for the action. Also paste the log till redirect occurs. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group,

[Rails] Re: Redirect issue after update

2010-10-28 Thread Pale Horse
Srikanth Jeeva wrote in post #957743: > > Now what is the exact problem here. My apologies, I seem to have omitted the point of my post o.O The problem is that the changes are not being saved and it (seemingly) redirects to the site index. -- Posted via http://www.ruby-forum.com/. -- You rec

[Rails] Re: Redirect issue after update

2010-10-28 Thread Srikanth Jeeva
Now what is the exact problem here. -- Posted via http://www.ruby-forum.com/. -- 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-t...@googlegroups.com. To unsubscribe from this group, send e