aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/autoloading_fixtures/should_not_be_required.rb
diff options
context:
space:
mode:
authorAndrew White <andrew.white@unboxedconsulting.com>2016-04-03 23:43:53 +0100
committerAndrew White <andrew.white@unboxedconsulting.com>2016-04-03 23:47:46 +0100
commit08073125a5bd4cae0f2e02723e7743a389d496cd (patch)
treee290932b105597ea893565b1f62420cf6b0c4dd8 /activesupport/test/autoloading_fixtures/should_not_be_required.rb
parentae2f193c0379453f73ae08a3df541d2cb0ae00e2 (diff)
downloadrails-08073125a5bd4cae0f2e02723e7743a389d496cd.tar.gz
rails-08073125a5bd4cae0f2e02723e7743a389d496cd.tar.bz2
rails-08073125a5bd4cae0f2e02723e7743a389d496cd.zip
Call super instead of returning nil for DateTime#<=>
The native DateTime#<=> implementation can be used to compare instances with numeric values being considered as astronomical julian day numbers so we should call that instead of returning nil. Fixes #24228.
Diffstat (limited to 'activesupport/test/autoloading_fixtures/should_not_be_required.rb')
0 files changed, 0 insertions, 0 deletions