Parent

Methods

Files

DataMapper::Spec::Adapters::SqliteAdapter

Public Instance Methods

connection_uri() click to toggle source
# File lib/dm-sqlite-adapter/spec/setup.rb, line 11
def connection_uri
  if name == :default
    "sqlite3::memory:"
  else
    # sqlite doesn't support two in memory dbs
    "sqlite3://#{Dir.tmpdir}/#{storage_name}.db"
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.