Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uninitialized constant for controller concern in Heroku production sstem #25

Closed
Dragonicity opened this issue Nov 1, 2017 · 1 comment

Comments

@Dragonicity
Copy link

Dragonicity commented Nov 1, 2017

I am getting an error when running the app (or using Rails Console) on Heroku where the petergate action_controller finds a missing constant for a concern module:

/app/vendor/bundle/ruby/2.4.0/gems/petergate-1.8.0/lib/petergate/action_controller/base.rb:10:in `const_missing': uninitialized constant ApplicationController::SetI18nLocale (NameError)

This works OK in development and there is no issue with the concern. I tried to add include Petergate::ActionController::Base before the include for the concern in the ApplicationController but this also does not work. I am using Ruby 2.4.1 and Rails 5.1.3. Any suggestions on how to proceed? Thanks.

@Dragonicity
Copy link
Author

Sorry, was unrelated to Petergate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant