Sha256: 89c89f5dd3ed3f40247b7416e1eef693e1e337f5dc7e24a1942cc56772b410c8

Contents?: true

Size: 415 Bytes

Versions: 3

Compression:

Stored size: 415 Bytes

Contents

ROM::Rails::Railtie.configure do |config|
  scheme = RUBY_ENGINE == 'jruby' ? 'jdbc:sqlite' : 'sqlite'
  config.gateways[:arro] = [:test_adapter, uri: 'http://example.org' ]
  config.gateways[:sql] = [:sql, "#{scheme}://#{Rails.root}/db/#{Rails.env}.sqlite3"]
  config.gateways[:default] = [:test_adapter, foo: :bar]
  config.auto_registration_paths += [Rails.root.join('lib', 'additional_app', 'persistence')]
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rom-rails-2.3.0 spec/dummy/config/initializers/rom.rb
rom-rails-2.2.0 spec/dummy/config/initializers/rom.rb
rom-rails-2.0.0 spec/dummy/config/initializers/rom.rb