Working in development, Not working in production
seyonv opened this issue · 3 comments
seyonv commented
Deployment is on Heroku. Nothing I can notice in production.rb would cause this issue and
there's no production specific gem that would cause this either.
Any ideas or is this a problem anyone else has experienced before?
seyonv commented
Never mind, nothing related to this gem
thapakazi commented
@seyonv what was the issue, I am facing the similar.
after commenting out the impersonates section, then only app started working on other envs.
class ApplicationController < ActionController::API
before_action :authenticate_user!
include DeviseTokenAuth::Concerns::SetUserByToken
# impersonates :user
...
end
Are there any change this gem tied up to environment specific configuration ??