Module: Effective::EffectiveDatatable::Options
- Included in:
- Datatable
- Defined in:
- app/models/effective/effective_datatable/options.rb
Instance Method Summary collapse
Instance Method Details
#initialize_options ⇒ Object
7 8 9 |
# File 'app/models/effective/effective_datatable/options.rb', line 7 def @table_columns = (@table_columns) end |
#quote_sql(name) ⇒ Object
11 12 13 |
# File 'app/models/effective/effective_datatable/options.rb', line 11 def quote_sql(name) collection_class.connection.quote_column_name(name) rescue name end |