search for: test_saves_both_date_and_tim

Displaying 2 results from an estimated 2 matches for "test_saves_both_date_and_tim".

2007 Oct 07
0
Rails AR/Oracle Unit Test: [7769] failed (getting worse)
...test_preserving_date_objects'' /usr/pkg/ruby184/lib/ruby/gems/1.8/gems/mocha-0.5.1/lib/mocha/test_case_adapter.rb:19:in `run'']: The last_read attribute should be of the Time class. <Thu, 15 Apr 2004> expected to be kind_of? <Time> but was <Date>. 2) Error: test_saves_both_date_and_time(DateTimeTest): RangeError: out of range of Time (expect between 1970-01-01 00:00:00 UTC and 2037-12-31 23:59:59, but 1807-10-06 22:33:09 PST) /usr/pkg/ruby184/lib/ruby/site_ruby/1.8/oci8.rb:983:in `to_time'' /usr/pkg/ruby184/lib/ruby/gems/1.8/gems/activerecord-1.15.1/lib/active_rec...
2007 May 31
0
Rails AR/SQLServer Unit Test: [6912] failed (but getting better)
..., 31 May 2007) | 1 line Fix an edge case with find with a list of ids, limit, and offset. Closes #8437. ------------------------------------------------------------------------ U activerecord\test\finder_test.rb U activerecord\lib\active_record\base.rb Updated to revision 6912. 1) Error: test_saves_both_date_and_time(DateTimeTest): ArgumentError: argument out of range ./test/../lib/active_record/connection_adapters/sqlserver_adapter.rb:106:in `mktime'' ./test/../lib/active_record/connection_adapters/sqlserver_adapter.rb:106:in `cast_to_datetime'' ./test/../lib/active_record/connecti...