aboutsummaryrefslogtreecommitdiffstats
path: root/cleanlogs.sh
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2006-11-23 05:16:46 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2006-11-23 05:16:46 +0000
commita02dbe0a3dee9c5f7645de74f233c57cabbdfcac (patch)
tree3a33f0d91706cd1cce6ef9d8aaeaee90abcba325 /cleanlogs.sh
parent83dd1d8a034d7254b0d1314f9dc39a8e80e49fc7 (diff)
downloadrails-a02dbe0a3dee9c5f7645de74f233c57cabbdfcac.tar.gz
rails-a02dbe0a3dee9c5f7645de74f233c57cabbdfcac.tar.bz2
rails-a02dbe0a3dee9c5f7645de74f233c57cabbdfcac.zip
Added ActiveRecord::Base.clear_active_connections! in development mode so the database connection is not carried over from request to request. Some databases won't reread the schema if that doesn't happen (I'm looking at you SQLite), so you have to restart the server after each migration (= no fun) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5618 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'cleanlogs.sh')
0 files changed, 0 insertions, 0 deletions