luxerama
2012-Jul-18 09:16 UTC
Overriding validates in the subclass which is first defined in the superclass
I have a little problem when it comes to trying to override a validates, first defined in superclass in subclass. Please see the following stackoverflow post: http://stackoverflow.com/questions/11527708/ruby-rails-inheritance-overriding-validators-defined-in-super-class-in-sub-clas Am I going about this the wrong way? What would be the best way of solving this? Thanks. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/vRad3kkPbTAJ. For more options, visit https://groups.google.com/groups/opt_out.