Class: Arel::Nodes::TableAlias
- Inherits:
-
Object
- Object
- Arel::Nodes::TableAlias
- Defined in:
- lib/arel_extensions.rb
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(*args) ⇒ Object
296 297 298 299 300 301 302 303 |
# File 'lib/arel_extensions.rb', line 296 def method_missing(*args) met = args.shift.to_sym if self.relation.respond_to?(met) self.relation.send(met, args) else super(met, *args) end end |