David Heinemeier Hansson
c3cfc2636b
AR should run schema.rb for tests when building test DBs ( closes #3578 ) [Rick Olson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3466 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-23 05:29:17 +00:00
Jeremy Kemper
2b28575734
Reloading a model doesn't lose track of its connection. References #2996 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3182 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-24 07:01:43 +00:00
David Heinemeier Hansson
c21fdf31a5
Changed :dbfile to :database for SQLite adapter for consistency (old key still works as an alias) ( closes #2644 ) [Dan Peterson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2825 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-30 08:10:04 +00:00
Jeremy Kemper
effe522515
r3577@sedna: jeremy | 2005-10-13 11:55:20 -0700
...
Add in_memory_connection for SQLite3 AR tests. Uses :dbfile => ':memory:' so we don't have to manage db files. It seems a bit quirky, so I'm including it as a separate connection type until we iron out the details.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2556 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-13 19:05:54 +00:00
David Heinemeier Hansson
bfa6bfc24a
Fixed that SQLite3 exceptions are caught and reported properly #823 [yerejm]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@909 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-14 23:48:39 +00:00
David Heinemeier Hansson
bc574a86ac
Skip Active Record tests in Action Pack if the SQLite database cant be brought up
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@652 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-17 19:28:13 +00:00
David Heinemeier Hansson
a133f3e64f
Added SQLite3 compatibility through the sqlite3-ruby adapter by Jamis Buck #381 [bitsweat]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@374 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-10 23:09:51 +00:00