diff options
author | Tarmo Tänav <tarmo@itech.ee> | 2008-08-26 04:55:57 +0300 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-08-25 22:03:47 -0700 |
commit | 3d2ac918b987ef0cff34f6a7fdd20926b7a9e5d9 (patch) | |
tree | c59dd78994dd9892c0707947d4e02d6c79b2556d /activerecord/lib/active_record/locale/en-US.yml | |
parent | 4bcd64c9e93af2f13dc7309cd76bb764e4d7d23d (diff) | |
download | rails-3d2ac918b987ef0cff34f6a7fdd20926b7a9e5d9.tar.gz rails-3d2ac918b987ef0cff34f6a7fdd20926b7a9e5d9.tar.bz2 rails-3d2ac918b987ef0cff34f6a7fdd20926b7a9e5d9.zip |
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>
Diffstat (limited to 'activerecord/lib/active_record/locale/en-US.yml')
0 files changed, 0 insertions, 0 deletions