Sha256: 3a844809f57566440937326283695bb708c3204af10b18b0e855e24fa220c866

Contents?: true

Size: 322 Bytes

Versions: 19

Compression:

Stored size: 322 Bytes

Contents

def active_record_load_schema
  ActiveRecord::Schema.define do
    create_table :users, :force => true do |t|
      t.integer :name
    end

    create_table :agents, :id => false, :force => true do |t|
      t.integer :name
    end
  end
end

class ::User < ActiveRecord::Base
end

class ::Agent < ActiveRecord::Base
end

Version data entries

19 entries across 19 versions & 3 rubygems

Version Path
database_cleaner-1.6.2 spec/support/active_record/schema_setup.rb
database_cleaner-1.6.1 spec/support/active_record/schema_setup.rb
database_cleaner-1.6.0 spec/support/active_record/schema_setup.rb
autocompl-0.2.2 test/dummy/vendor/bundle/ruby/2.3.0/gems/database_cleaner-1.5.3/spec/support/active_record/schema_setup.rb
autocompl-0.2.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/database_cleaner-1.5.3/spec/support/active_record/schema_setup.rb
autocompl-0.2.0 test/dummy/vendor/bundle/ruby/2.3.0/gems/database_cleaner-1.5.3/spec/support/active_record/schema_setup.rb
autocompl-0.1.2 test/dummy/vendor/bundle/ruby/2.3.0/gems/database_cleaner-1.5.3/spec/support/active_record/schema_setup.rb
autocompl-0.1.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/database_cleaner-1.5.3/spec/support/active_record/schema_setup.rb
autocompl-0.1.0 test/dummy/vendor/bundle/ruby/2.3.0/gems/database_cleaner-1.5.3/spec/support/active_record/schema_setup.rb
autocompl-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/database_cleaner-1.5.3/spec/support/active_record/schema_setup.rb
database_cleaner-1.5.3 spec/support/active_record/schema_setup.rb
database_cleaner-1.5.2 spec/support/active_record/schema_setup.rb
database_cleaner-1.5.1 spec/support/active_record/schema_setup.rb
database_cleaner-1.5.0 spec/support/active_record/schema_setup.rb
solidus_backend-1.0.0.pre3 vendor/bundle/gems/database_cleaner-1.4.1/spec/support/active_record/schema_setup.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/database_cleaner-1.4.1/spec/support/active_record/schema_setup.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/database_cleaner-1.4.1/spec/support/active_record/schema_setup.rb
database_cleaner-1.4.1 spec/support/active_record/schema_setup.rb
database_cleaner-1.4.0 spec/support/active_record/schema_setup.rb