Sha256: cfe60d81b2f1bc105380ce407bef72910e9dc58143b0b9263b670f9f94a3da01

Contents?: true

Size: 440 Bytes

Versions: 3

Compression:

Stored size: 440 Bytes

Contents

# frozen_string_literal: true
require 'active_record'

ActiveRecord::Migration.verbose = false
ActiveRecord::Base.logger = Logger.new(nil)
if Rails.gem_version >= Gem::Version.new('5.2.0')
  ActiveRecord::MigrationContext.new(File.expand_path('../../dummy/db/migrate', __FILE__)).migrate
else
  ActiveRecord::Migrator.migrate(File.expand_path('../../dummy/db/migrate', __FILE__))
end

ORMInvalidRecordException = ActiveRecord::RecordInvalid

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
oh_my_log-1.0.5 spec/orm/active_record.rb
oh_my_log-1.0.4 spec/orm/active_record.rb
oh_my_log-1.0.3 spec/orm/active_record.rb