Sha256: 2329214b1b89c7d1a9e45aae5c0e490d58132725288add37657e164f0772a03c

Contents?: true

Size: 259 Bytes

Versions: 1

Compression:

Stored size: 259 Bytes

Contents

ROM::Rails::Railtie.configure do |config|
  scheme = RUBY_ENGINE == 'jruby' ? 'jdbc:sqlite' : 'sqlite'
  config.repositories[:default] = [:sql, "#{scheme}://#{Rails.root}/db/#{Rails.env}.sqlite3"]
  config.repositories[:test] = [:test_adapter, foo: :bar]
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rom-rails-0.3.3 spec/dummy/config/initializers/rom.rb