Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v3.2.13) is shown here.
to_date()
public
A method to keep Time, Date and DateTime
instances interchangeable on conversions. In this case, it simply returns
self.
# File activesupport/lib/active_support/core_ext/date/conversions.rb, line 68
def to_date
self
end