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-0.5.1 spec/support/macros/database/database_adapter.rb
emojimmy-0.1.4 spec/support/macros/database/database_adapter.rb
emojimmy-0.1.3 spec/support/macros/database/database_adapter.rb
emojimmy-0.1.2 spec/support/macros/database/database_adapter.rb
emojimmy-0.1.1 spec/support/macros/database/database_adapter.rb
microscope-0.5 spec/support/macros/database/database_adapter.rb