Method: Ransack::Nodes::Grouping#method_missing
- Defined in:
- lib/ransack/nodes/grouping.rb
#method_missing(method_id, *args) ⇒ Object
114 115 116 117 118 119 120 121 122 |
# File 'lib/ransack/nodes/grouping.rb', line 114 def method_missing(method_id, *args) method_name = method_id.to_s writer = method_name.sub!(/\=$/, '') if attribute_method?(method_name) writer ? write_attribute(method_name, *args) : read_attribute(method_name) else super end end |