Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class ApplicationModel < ActiveRecord::Base
- self.abstract_class = true
- class ActiveRecord::Relation
- def where args
- # Do your stuff here
- super
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement