All integers are by default delimited by ',' .
For ex: 123456 is shown as 1,23,456.
Is there a way to remove ',' from all integers for all tables.
If it is for a single table and a particular field, we can do in the following way in its controller.
config.columns[:<int_field>].options={:i18n_options => {delimiter: ""}}
Is there a way to do this for all integer fields?
PS: Using Activescaffolding in my application.
Thanks.
Use
tras:-Convert the result to integer as:-
Check methods in string in
irbas:-Use it in view as:-
For more details see the document