aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/calculations.rb
diff options
context:
space:
mode:
authorschneems <richard.schneeman@gmail.com>2012-06-03 15:07:11 -0500
committerschneems <richard.schneeman@gmail.com>2012-06-03 15:07:11 -0500
commite5b39862cb4f8f3097cc8ab2dc606ddb1bd1febb (patch)
treefeee3d3ef6371b3e5207aa3087675db2b62c30d5 /activerecord/lib/active_record/relation/calculations.rb
parent0460949070d4105810d2c39e6e85fcf93034a861 (diff)
downloadrails-e5b39862cb4f8f3097cc8ab2dc606ddb1bd1febb.tar.gz
rails-e5b39862cb4f8f3097cc8ab2dc606ddb1bd1febb.tar.bz2
rails-e5b39862cb4f8f3097cc8ab2dc606ddb1bd1febb.zip
add convenience methods for checking migrations
if a rails project needs to be migrated ActiveRecord::Migrator.needs_migration? will be true or false if the current version matches the last version.
Diffstat (limited to 'activerecord/lib/active_record/relation/calculations.rb')
0 files changed, 0 insertions, 0 deletions