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