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
269 270 271 272 273 274 275 276 |
# File 'lib/arel_extensions.rb', line 269 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 |