Class: ActiveRecord::Relation
- Inherits:
-
Object
- Object
- ActiveRecord::Relation
- Defined in:
- lib/groupdate/active_record.rb
Instance Method Summary collapse
Instance Method Details
#method_missing_with_hack(method, *args, &block) ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/groupdate/active_record.rb', line 12 def method_missing_with_hack(method, *args, &block) if Groupdate::METHODS.include?(method) scoping { @klass.send(method, *args, &block) } else method_missing_without_hack(method, *args, &block) end end |