Displaying 1 result from an estimated 1 matches for "scheduled_date_before_type_case".
2007 Sep 20
2
Oracle date, i get 0007 instead of 2007
I''m running Oracle and in my table i have a field:
SCHEDULED_DATE of type DATE.
When I do a query model = MyModel.find(1)
model.scheduled_date_before_type_case ends up being equal to
''0007-09-19'' instead of ''2007-09-19''.
In the oracle adapter I ran a debug accross all the fields and got, just
after it does the query and gets the results.
- 0001017408770802
- 0001017408
- "770802"
- !ruby/object:OraDate 0007/...