Changeset 5618
- Timestamp:
- 11/23/06 05:16:46 (2 years ago)
- Files:
-
- trunk/railties/CHANGELOG (modified) (1 diff)
- trunk/railties/lib/dispatcher.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/railties/CHANGELOG
r5614 r5618 1 1 *SVN* 2 3 * 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] 2 4 3 5 * Made RAILS_GEM_VERSION work for beta gems too, so specifying 1.1.6 will give you 1.1.6.4520 if available [DHH] trunk/railties/lib/dispatcher.rb
r5516 r5618 56 56 # to restart the server (WEBrick, FastCGI, etc.). 57 57 def reset_application! 58 ActiveRecord::Base.reset_subclasses if defined?(ActiveRecord) 58 if defined?(ActiveRecord) 59 ActiveRecord::Base.reset_subclasses 60 ActiveRecord::Base.clear_active_connections! 61 end 62 59 63 Dependencies.clear 60 64 ActiveSupport::Deprecation.silence do # TODO: Remove after 1.2