diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-03-06 09:41:17 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-03-06 09:44:01 +0900 |
commit | 2803c0382fe60423b5c17c1be37abaf1cc408819 (patch) | |
tree | d62b9ce9113a3202b0a23b0d80537257d74c40cd /activemodel | |
parent | d731d6366ae68c790ef79ff66b2d2d41f5767cc3 (diff) | |
download | rails-2803c0382fe60423b5c17c1be37abaf1cc408819.tar.gz rails-2803c0382fe60423b5c17c1be37abaf1cc408819.tar.bz2 rails-2803c0382fe60423b5c17c1be37abaf1cc408819.zip |
Extract `SchemaMigration.all_versions`
Use `SchemaMigration.all_versions` instead of
`SchemaMigration.all.map(&:version)` to avoid to instantiate AR objects.
Diffstat (limited to 'activemodel')
0 files changed, 0 insertions, 0 deletions