search for: default_inspect

Displaying 1 result from an estimated 1 matches for "default_inspect".

2009 Feb 04
4
Rails 2.2.2 to_date and to_datetime methods
In the console I see this behaviour: >> "19270412000000".to_date.methods => ["ns?", "mon", "ago", "end_of_month", "months_since", "default_inspect", "minus_without_duration", ... >> "19270412000000".to_date.class => Date >> "19270412000000".class => String >> String.to_date.methods NoMethodError: undefined method `to_date'' for String:Class from (irb):23 Can someone e...