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 Apartment::Migrator::Database #161

Closed
marciol opened this issue Jul 17, 2014 · 2 comments
Closed

uninitialized constant Apartment::Migrator::Database #161

marciol opened this issue Jul 17, 2014 · 2 comments

Comments

@marciol
Copy link

marciol commented Jul 17, 2014

Hi all.

I get this error only in a production environment, on Heroku.

Follow the complete backtrace:

NameError: uninitialized constant Apartment::Migrator::Database
/app/vendor/bundle/ruby/2.0.0/gems/apartment-0.25.0/lib/apartment/migrator.rb:10:in `migrate'
/app/vendor/bundle/ruby/2.0.0/gems/apartment-0.25.0/lib/tasks/apartment.rake:24:in `block (3 levels) in <top (required)>'
/app/vendor/bundle/ruby/2.0.0/gems/apartment-0.25.0/lib/tasks/apartment.rake:21:in `each'
/app/vendor/bundle/ruby/2.0.0/gems/apartment-0.25.0/lib/tasks/apartment.rake:21:in `block (2 levels) in <top (required)>'
/app/vendor/bundle/ruby/2.0.0/gems/apartment-0.25.0/lib/apartment/tasks/enhancements.rb:5:in `block in <top (required)>'

Is there something I can do to skip this error?

Regards.

@marciol
Copy link
Author

marciol commented Jul 17, 2014

I will use the development branch, that seems to solve the problem.

@marciol marciol closed this as completed Jul 17, 2014
@bradrobertson
Copy link
Contributor

Hey sorry, completely forgot to release the bugfix for that from the dev branch. I've just pushed up 0.25.1

gmhawash pushed a commit to downhome/apartment that referenced this issue Jul 19, 2022
**Implemented enhancements:**

- Increase errors visibility by showing more information on the underlying error rather than a generic error 'Apartment::TenantNotFound' (influitive#176)
- Resolved influitive#177 - Added rails 7 support (influitive#178)

**Fixed bugs:**

- Fixing tenant_presence_check config in the README (influitive#180)
- Resolved influitive#161 and influitive#81 - Fixed sequence name (influitive#187)

**Closed issues:**

- Resolved influitive#151 - removed reloader and console overwrite of reload method (influitive#174)
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

2 participants