Sha256: 644af7f4fa2f675b1f76edf343159b8c6b69903c3616ee5de7a9570403e5116b
Contents?: true
Size: 536 Bytes
Versions: 2
Compression:
Stored size: 536 Bytes
Contents
begin ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :database => ":memory:") rescue ArgumentError ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :dbfile => ":memory:") end ActiveRecord::Base.configurations = true ActiveRecord::Schema.define(:version => 1) do create_table :settings, :force => true do |t| t.string :key t.string :value t.string :cast_as t.string :configurable_type t.integer :configurable_id end create_table "users", :force => true do |t| end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
acts-as-linkable-0.0.1.5 | test/lib/database.rb |
cockpit-0.0.1.5 | test/lib/database.rb |