Hello all,

I just noticed that when I `include ActiveModel::Model` in a class, I get 
the validation class methods from the `ActiveModel::Validations` concern 
but the class methods from `ActiveModel::Validations::Callbacks` are not 
included.
I'm not sure whether it's a bug - didn't expect this is behaviour myself - 
but maybe it was a conscious decision and everything works like it should.
If it turns out to be a bug, I'm willing to create the relevant patch, 
otherwise I'd be interested in the reason behind this - maybe there's some 
disadvantage from including the callbacks that I'm not seeing at the moment?

All the best
Marcus

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to