I have a form that I'm trying to create which is broken up into sections. Each section saves a little bit of info to that table and then moves on to the next page. I'm trying to figure out the best way to validate the data for each section in the model. I was to use something like validates_presence_of, but that expects all of the data that is being validated will be available upon saving... In my case, the entire table won't be filled out until they're done going through each section.
What's the best way to do this if there is a way?