I have a large number of models with attributes like backup_started_at, backup_ended_at; essentially paired dates. To ensure that start dates are always on or prior to end dates, I have written a custom validation (config/initializers/validators.rb), and I am wondering how to test it. Ideas? Is there a best practice for this sort of thing?
Cheers-- Charles -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=.

