search for: new_with_hash

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

2006 Mar 28
11
ActionWebService date casting error
...e scaffolding) FindAllVobs works as expected, but FindVobById returns an error as seen below. The date that "parse" is puking on in the database is set to ''2001-10-15 10:41:41''. ArgumentError in Backend#invoke_submit invalid date c:/ruby/lib/ruby/1.8/date.rb:1214:in `new_with_hash'' c:/ruby/lib/ruby/1.8/date.rb:1258:in `parse'' c:/ruby/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0.4008/lib/action_web_service/casting.rb:103:in `cast_base_type'' c:/ruby/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0.4008/lib/action_web_service/casting.rb:62:in `cast'...
2006 May 18
4
WebServices and DateTime - 3 elements of civil date are necessary
I simply trying to receive an array of objects, retrieved by ActiveRecord from table with datetime column and I have: test_list(SoapControllerApiTest): ArgumentError: 3 elements of civil date are necessary /usr/lib/ruby/1.8/date.rb:1214:in `new_with_hash'' /usr/lib/ruby/1.8/date.rb:1258:in `parse'' .... It''s a bug or I am wrong somewhere?