Sha256: d8ef17a3788e8b86b390c6d1a7dbcda954b9b6079a3d1db81f0d7cd5edafd906

Contents?: true

Size: 292 Bytes

Versions: 6

Compression:

Stored size: 292 Bytes

Contents

require 'active_record'
HaveCode.enable_activerecord
ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :database => ":memory:")
ActiveRecord::Base.connection.create_table :mugs do |t|
  t.column :name, :string
  t.column :material, :string
end
class Mug < ActiveRecord::Base
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
bkerley-have-code-0.1.1 test/active_record_helper.rb
bkerley-have-code-0.1.2 test/active_record_helper.rb
bkerley-have-code-0.1.3 test/active_record_helper.rb
have-code-0.2.0 test/active_record_helper.rb
have-code-0.1.2 test/active_record_helper.rb
have-code-0.1.3 test/active_record_helper.rb