rails-on-services/apartment

How to use it in a rack app?

Closed this issue · 1 comments

The gem is used in Rails app, but how to use it in a normal Rack app based on config.ru?

The main problems I encounter in my rack app:

  1. The gem use Rails constant.
  2. The config.excluded_models not work.
  3. The rake db:migrate not work for config.tenant_names.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.