Hi, We occasionally have a user pressing "submit" button more than once. I know I can disable submit button using "onclick".
But I sometimes need a more solid solution especially for a form that could change a record inside the database. What could be the best way to solve the problem? I need to access to the existing database record first and compare the record with a new coming record. I am now thinking about checking almost all attributes. Assuming this is a simple blog, I would check the title and post for exact match. I was trying to find an open source Rails app to have a solution, do you know any? Any help would be appreciated. Jon --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---