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

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -