Sha256: c36cab1d70a640b59a8292fe1f2228e7c3f3cd2e9485e2a5aa71f22de80770e8

Contents?: true

Size: 387 Bytes

Versions: 4

Compression:

Stored size: 387 Bytes

Contents

require 'active_record'

###
# Active record database configuration
###
ActiveRecord::Base.establish_connection adapter: 'sqlite3', database: ':memory:'

###
# Active record migrator configuration
###
if ActiveRecord.version.release() < Gem::Version.new('5.2.0')
  ActiveRecord::Migrator.migrate 'spec/db/migrate'
else
  ActiveRecord::MigrationContext.new('spec/db/migrate').migrate
end

Version data entries

4 entries across 4 versions & 4 rubygems

Version Path
mention_system-0.1.1 spec/support/active_record.rb
like_system-0.1.1 spec/support/active_record.rb
follow_system-0.1.1 spec/support/active_record.rb
bookmark_system-0.1.1 spec/support/active_record.rb