I know this is rather easy to solve but doesnt AS already do this - avoid the user pressing f5 on a page to create 100's of records, I also find that if there is an error in the posting - i..e validation check on a missing field that AS ACTUALLY creates a record from the subfrom before the parent form is correct - wow, not what I expected. I checked the db and it is scattering partially saved information into the db, e.g.
I dont want to have unique data in a table/model but a user has 2 forms, parent and sub form. completes the parent form and an error is thrown stating - field cant be blank. the subform in the meantime has created a record. the parent form is then fixed and saved and the user presses f5 to see the results. = 3 subform records, 2 parent records... Going to give up using AS, more and more issues that are costing time to understand, yucck yuck yuck. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
