This project is archived and is in readonly mode.
[PATCH] DateTime#to_date returns self when Date#to_date is defined at first
-
Raimonds Simanovskis
Updated patch to also include correct condition for DateTime#to_datetime method definition.
-
Greg Campbell
This patch appears to work, except that without the shim we now need to explicitly require active_support/core_ext/file/path for test/core_ext/file_test.rb to pass. I've attached a second patch which does only that.
-
Ryan Bigg
- State changed from new to resolved
Greg, I don't see how that patch relates to this issue. I'm going to close this ticket and hope you've attached that patch to the right ticket.
-
Raimonds Simanovskis
This patch was applied to master branch therefore it's OK to close this ticket
http://github.com/rails/rails/commit/5fcaf917612c61174f55bbd2301131...
