On Jun 15, 1:34 pm, cult hero <binarypala...@gmail.com> wrote:
> I was debating between using Sequel validations and ActiveModel
> validations for a Rails 3 project I'm working on. In the end, the
> ActiveModel validations won out because I have a number of models that
> aren't Sequel and aren't even associated with a database, so it's nice
> to be able to share those.
>
> A lot of the validations I am using often only matter to the end user
> and not to me or a lot of internal stuff. What I was thinking was that
> it'd be nice to subclass an existing model and add active model and
> some other stuff that's valid only on the front end.
>
> Is there a good way to do this and is there a better solution to what
> I am trying to do?

That should work fine, so I'd give it a shot.  If you run into any
problems, please let me know.

Thanks,
Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to sequel-t...@googlegroups.com.
To unsubscribe from this group, send email to 
sequel-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to