Sha256: f609bad55a852d298014bd54a6c671b417b17d0ac432e4c939e1b1ca403cd7d3
Contents?: true
Size: 394 Bytes
Versions: 3
Compression:
Stored size: 394 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 :posts, :force => true do |t| t.string :title t.timestamps end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
crawlable-0.0.1.8 | test/lib/_database.rb |
crawlable-0.0.1.7 | test/lib/_database.rb |
crawlable-0.0.1.6 | test/lib/_database.rb |