Module: Challah::ActiveRecordExtensions::ClassMethods
- Defined in:
- lib/challah/active_record_extensions.rb
Instance Method Summary collapse
Instance Method Details
#challah_authorization ⇒ Object
12 13 14 15 |
# File 'lib/challah/active_record_extensions.rb', line 12 def ActiveSupport::Deprecation.warn("#{ self.to_s }.challah_authorization is deprecated and will be removed in future versions, use `include Challah::Authorizeable` instead") self.send(:include, Challah::Authorizeable) end |
#challah_user ⇒ Object
17 18 19 20 |
# File 'lib/challah/active_record_extensions.rb', line 17 def challah_user ActiveSupport::Deprecation.warn("#{ self.to_s }.challah_user is deprecated and will be removed in future versions, use `include Challah::Userable` instead") self.send(:include, Challah::Userable) end |