ruby on rails - undefined local variable or method `has_paper_trail' -
i having trouble paper_trail gem. love using , has nice features. works fine when run server in development , test environments, displays "undefined local variable or method `has_paper_trail' " error when start run server in production environment. couldn't able figure out. please?
check configuration :
if defined in /config/application.rb
bundler.require(*rails.groups(:assets => %w(development test)))
change :
bundler.require(:default, rails.env)
Comments
Post a Comment