Sha256: 6714cea6f9dee4ed274bd643cf139847b690600ee8a8ed58a9256f12852bae4d

Contents?: true

Size: 195 Bytes

Versions: 46

Compression:

Stored size: 195 Bytes

Contents

class DatabaseAdapter
  def initialize(opts = {})
    @database = opts[:database]
  end

  def establish_connection!
    ActiveRecord::Base.establish_connection(database_configuration)
  end
end

Version data entries

46 entries across 46 versions & 4 rubygems

Version Path
microscope-1.1.1 spec/support/macros/database/database_adapter.rb
microscope-1.1.0 spec/support/macros/database/database_adapter.rb
activerecord_json_validator-1.2.0 spec/support/macros/database/database_adapter.rb
emojimmy-0.3 spec/support/macros/database/database_adapter.rb
activerecord_json_validator-1.1.0 spec/support/macros/database/database_adapter.rb
activerecord_json_validator-1.0.0 spec/support/macros/database/database_adapter.rb
microscope-1.0.1 spec/support/macros/database/database_adapter.rb
activerecord_json_validator-0.5.1 spec/support/macros/database/database_adapter.rb
activerecord_json_validator-0.5 spec/support/macros/database/database_adapter.rb
activerecord_json_validator-0.4.2 spec/support/macros/database/database_adapter.rb
activerecord_json_validator-0.4.1 spec/support/macros/database/database_adapter.rb
activerecord_json_validator-0.4 spec/support/macros/database/database_adapter.rb
activerecord_json_validator-0.3 spec/support/macros/database/database_adapter.rb
encore-0.2.3 spec/support/macros/database/database_adapter.rb
microscope-1.0.0 spec/support/macros/database/database_adapter.rb
microscope-0.6.2 spec/support/macros/database/database_adapter.rb
encore-0.2.2 spec/support/macros/database/database_adapter.rb
encore-0.2.1 spec/support/macros/database/database_adapter.rb
encore-0.2 spec/support/macros/database/database_adapter.rb
encore-0.1 spec/support/macros/database/database_adapter.rb