leikind / wice_grid

A Rails grid plugin to create grids with sorting, pagination, and (automatically generated) filters
MIT License
537 stars 215 forks source link

Auto detect column name from i18n data if attribute given #254

Closed zuf closed 8 years ago

zuf commented 8 years ago

It would be nice if the wice_grid could use name for column from I18n attribute names like that:

g.column attribute: 'last_name'

could means something like this

g.column attribute: 'last_name', name: t('activerecord.attributes.users.last_name')
leikind commented 8 years ago

I am against it. I prefer less magic, and I want to have a option to have no names at all.