Module: WithOrder::ActiveRecordExtension::ClassMethods
- Defined in:
- lib/with_order/active_record_extension.rb
Instance Method Summary (collapse)
Instance Method Details
- (Object) inherited_with_with_order(base)
16 17 18 19 |
# File 'lib/with_order/active_record_extension.rb', line 16 def inherited_with_with_order(base) inherited_without_with_order(base) base.send(:include, WithOrder::ActiveRecordModelExtension) if base.superclass == ActiveRecord::Base end |