validates_uniqueness_of

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

i use post method,

can anyone suggest me a code which will avoid the resubmittion

you could just post your code. that way we have at least a chance to
find the error.