In my previous project I had my own validations system that had carried over as a legacy component. I want to dump that in favor of something in wider use.
My question is this: Should I use Sequel's validations or include ActiveModel's in a new project. I'm guessing AM's integrates better with Rails at large (locales and the like), and if I remember correctly Sequel validations are simply application level too, so it's not like they're any different as far as the data goes. With that said, if AM's would be the preference, any idea how to get them up and running? include ActiveModel::Validations in my model doesn't seem to work. Something simple like: validates_presence_of :first_name, :last_name Still seems to be calling the Sequel validations. -- You received this message because you are subscribed to the Google Groups "sequel-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/sequel-talk?hl=en.
