i have a table called requests which save the data of a form.
but whenever i refresh the browser it again resubmit.it includes
the following fields

user_id, arrival, departure, date

this table can include same user_id, arrival, departure.so that
i couldn't use the validates_uniqueness_of property. each column
should be independent of others.can anyone
suggest me a code which will avoid the resubmittion

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

Reply via email to