Sha256: f19eb5fe3c7ed1dd25b8ac3c7528a1ab1546d056a9957f7339dd4c0dc3235a1b

Contents?: true

Size: 145 Bytes

Versions: 19

Compression:

Stored size: 145 Bytes

Contents

Apartment.configure do |config|
  config.excluded_models = ["Company"]
  config.database_names = lambda{ Company.scoped.collect(&:database) }
end

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
apartment-0.22.1 spec/dummy/config/initializers/apartment.rb
apartment-0.22.0 spec/dummy/config/initializers/apartment.rb
apartment-0.21.1 spec/dummy/config/initializers/apartment.rb
apartment-0.21.0 spec/dummy/config/initializers/apartment.rb
dr-apartment-0.14.1 spec/dummy/config/initializers/apartment.rb
apartment-0.20.0 spec/dummy/config/initializers/apartment.rb
apartment-0.19.0 spec/dummy/config/initializers/apartment.rb
apartment-0.18.0 spec/dummy/config/initializers/apartment.rb
apartment-0.17.3 spec/dummy/config/initializers/apartment.rb
apartment-0.17.2 spec/dummy/config/initializers/apartment.rb
apartment-0.17.1 spec/dummy/config/initializers/apartment.rb
apartment-0.17.0 spec/dummy/config/initializers/apartment.rb
apartment-0.16.0 spec/dummy/config/initializers/apartment.rb
apartment-0.15.0 spec/dummy/config/initializers/apartment.rb
apartment-0.14.4 spec/dummy/config/initializers/apartment.rb
apartment-0.14.3 spec/dummy/config/initializers/apartment.rb
apartment-0.14.2 spec/dummy/config/initializers/apartment.rb
apartment-0.14.1 spec/dummy/config/initializers/apartment.rb
apartment-0.14.0 spec/dummy/config/initializers/apartment.rb