app/models/effective/effective_datatable/options.rb in effective_datatables-2.7.0 vs app/models/effective/effective_datatable/options.rb in effective_datatables-2.8.0
- old
+ new
@@ -132,10 +132,10 @@
else
:string # When in doubt
end
)
- cols[name][:class] = "col-#{cols[name][:type]} col-#{name} #{cols[name][:class]}".strip
+ cols[name][:class] = "col-#{cols[name][:type]} col-#{name.parameterize} #{cols[name][:class]}".strip
# Formats
if name == 'id' || name.include?('year') || name.end_with?('_id')
cols[name][:format] = :non_formatted_integer
end