Sha256: 51a9f94a13e018985041ee7bfeacae7ab5d0ad2ed6e09fff351aa24cd6cb29df
Contents?: true
Size: 730 Bytes
Versions: 7
Compression:
Stored size: 730 Bytes
Contents
ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :database => ":memory:") ActiveRecord::Base.configurations = true ActiveRecord::Base.logger = TEST_LOGGER WillPaginate.enable ActiveRecord::Schema.verbose = false ActiveRecord::Schema.define(:version => 1) do create_table :entries do |t| t.integer :group_id t.string :name t.string :category t.boolean :disabled, :null => false, :default => false t.boolean :confirmed, :null => false, :default => false t.date :shipping_date t.timestamps end create_table :groups do |t| t.string :name t.timestamps end class ::Entry < ActiveRecord::Base belongs_to :group end class ::Group < ActiveRecord::Base end end
Version data entries
7 entries across 7 versions & 1 rubygems