In a Rails app using ActiveAdmin, one of my fields is printing an enormous length of text in a very narrow column and causing a single db row to take up an entire screen vertically. I only want ActiveAdmin to show the first ~50 chars with an ellipsis if it exceeds.
index do
column :too_long
...
I am looking for something like this
index do
column :too_long, :max => 50
...
you can use something like
I have not tested this but something like this should work.
check more details in docs http://activeadmin.info/docs/3-index-pages/index-as-table.html