Module: Bali::Statics::ActiveRecord
- Defined in:
- lib/bali/statics/active_record.rb
Class Method Summary collapse
Class Method Details
.extended(cls) ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 |
# File 'lib/bali/statics/active_record.rb', line 2 def self.extended(cls) cls.class_eval do class << self attr_accessor :role_field_for_authorization end def self.extract_roles_from method_name = method_name end end end |