aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/README.rdoc
diff options
context:
space:
mode:
authorGilad Zohari <gzohari@gmail.com>2013-07-31 13:57:25 +0300
committerGilad Zohari <gzohari@gmail.com>2013-07-31 13:57:25 +0300
commit89060b8ef9b56e69e5f28754b5b633f6c8b8c909 (patch)
treecd0f9917e23e0d811c53b7afce58217aee0c1535 /activerecord/README.rdoc
parentffb680e121b1868c184381882b083290db230d78 (diff)
downloadrails-89060b8ef9b56e69e5f28754b5b633f6c8b8c909.tar.gz
rails-89060b8ef9b56e69e5f28754b5b633f6c8b8c909.tar.bz2
rails-89060b8ef9b56e69e5f28754b5b633f6c8b8c909.zip
Remove duplication from date_time calculations
Methods: :past? and :future? are already defined identically in date_and_time/calculations.rb which is included in Date. Because DateTime is a subclass of Date, it can call them.
Diffstat (limited to 'activerecord/README.rdoc')
0 files changed, 0 insertions, 0 deletions