Method: CustomTable::ApplicationHelper#custom_table_customizable_fields_for

Defined in:
app/helpers/custom_table/application_helper.rb

#custom_table_customizable_fields_for(model, variant = nil) ⇒ Object



320
321
322
323
# File 'app/helpers/custom_table/application_helper.rb', line 320

def custom_table_customizable_fields_for(model, variant = nil)
  model_fields = custom_table_fields_definition_for(model, variant)
  model_fields.reject {|k,v| [:always, :export, :never].include?(v[:appear]) }
end