Hello, I know that I have read about the solution to the problem, but I have searched and searched again - to no avail. If I submit a form, and then refresh the page, the information will be resubmitted. How can I stop this from occurring? Thanks, and sorry for a repeated question. Erik --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 30 Apr 2008, at 14:38, erik wrote:> > Hello, > > I know that I have read about the solution to the problem, but I have > searched and searched again - to no avail. > > If I submit a form, and then refresh the page, the information will be > resubmitted. > How can I stop this from occurring? >In the action that processes the form submission, do a redirect_to. Fred> Thanks, and sorry for a repeated question. > > Erik > >--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks again Frederick. On Apr 30, 9:40 pm, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 30 Apr 2008, at 14:38, erik wrote: > > > > > Hello, > > > I know that I have read about the solution to the problem, but I have > > searched and searched again - to no avail. > > > If I submit a form, and then refresh the page, the information will be > > resubmitted. > > How can I stop this from occurring? > > In the action that processes the form submission, do a redirect_to. > > Fred > > > Thanks, and sorry for a repeated question. > > > Erik--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---