Sha256: d60735b60255ddd922ae3e42ecba5d2a02d49e79d0300db1b9e4506dc26528c2
Contents?: true
Size: 722 Bytes
Versions: 3
Compression:
Stored size: 722 Bytes
Contents
require 'active_support/all' require 'active_record' ActiveRecord::Base.establish_connection adapter: 'sqlite3', database: ':memory:' ActiveRecord::Schema.define version: 0 do create_table :people do |t| t.string :name t.timestamps end create_table :people_teams, id: false do |t| t.integer :person_id t.integer :team_id end create_table :teams do |t| t.string :name t.timestamps end create_table :issues do |t| t.string :subject t.integer :person_id t.timestamps end create_table :non_validated_issues do |t| t.string :subject t.integer :person_id t.timestamps end end ActiveRecord::Base.logger = Logger.new(File.dirname(__FILE__) + '/debug.log')
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
deferring-0.1.2 | spec/support/active_record.rb |
deferring-0.1.1 | spec/support/active_record.rb |
deferring-0.1.0 | spec/support/active_record.rb |