This project is archived and is in readonly mode.
Changeset [3d2ac918b987ef0cff34f6a7fdd20926b7a9e5d9] by Tarmo Tänav
August 26th, 2008 @ 06:03 AM
Cache migrated versions list in Migrator and use it to fetch the latest migrated version name [#845 state:resolved]
Also optimized Migrator#current_version class method to fetch only the latest version number and not all of them.
With this change no matter how many migrations there are the schema_migrations table is only SELECTed from once.
Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...
Committed by Tarmo Tänav
- M activerecord/lib/active_record/migration.rb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>