DataObjects.logger = DataMapper::Logger.new(STDOUT, 0) DataObjects::Sqlite3.logger = DataObjects::Logger.new(STDOUT, 0) # SQLite3 in-memory ActiveRecord::Base.establish_connection( :adapter => "sqlite3", :database => ":memory:") ä»ã®DBMSã¨ã®æ¥ç¶æ¹æ³ã¨ãã¦ã¯ã以ä¸ã®ããã«æ¸ããã¨ãå¯è½ã§ãã # SQLite3 file # ActiveRecord::Base.establish_connection( # :adapter => "sqlite3", :database => "dm_test.sqlite3") # MySQL, Postgresã¯ç¥ #
{{#tags}}- {{label}}
{{/tags}}