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
248 249 250 251 252 253 254 255 |
# File 'lib/arel_extensions.rb', line 248 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 |