Method: Monban::FieldMap#to_fields
- Defined in:
- lib/monban/field_map.rb
#to_fields ⇒ Array, Hash
converts params into values that can be passed into a where clause
18 19 20 21 22 23 24 |
# File 'lib/monban/field_map.rb', line 18 def to_fields if @field_map params_from_field_map else params_with_symbolized_keys end end |