Created
February 12, 2013 10:54
-
-
Save akirill0v/4761544 to your computer and use it in GitHub Desktop.
sqlite in memory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'active_record' | |
ActiveRecord::Base.establish_connection adapter: "sqlite3", database: ":memory:" | |
ActiveRecord::Migration.create_table :users do |t| | |
t.string :email | |
t.string :name | |
t.timestamps | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment