ruby on rails - How to exclude PaperTrail versions from views in RailsAdmin -


i'm using railsadmin v0.6.8 papertrail versioning.

the list, show, create , edit views each of has_paper_trail models includes versions attribute. in fact create , edit views allow addition/removal of versions, doesn't make sense me. other using exclude_fields :versions each view on each model, there global way this?

thanks!

in rails_admin configuratoin can specify it:

config.actions   history_index     except %w(modela modelb)   end end 

or other way round:

config.actions   history_index     %w(modela modelb)   end end 

Comments