I used paper_trail to tracking transnational changes when I migrated rails 3.2 to rails 4.2, have got below issue:
NoMethodError - undefined method `t
In Rails 6, the preferred method is now to create a model, do not put model code in the initializer. This is what I'm using...
module PaperTrail class Version < ::ActiveRecord::Base include PaperTrail::VersionConcern belongs_to :user, foreign_key: :whodunnit end end