similar to: Re: WebServices and DateTime - 3 elements of civil date are

Displaying 20 results from an estimated 10000 matches similar to: "Re: WebServices and DateTime - 3 elements of civil date are"

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?
2006 Jul 13
0
webservices and date time error - part 2
Hello, When I am trying to receive an array of objects, retrieved by ActiveRecord from table with datetime column, while using using ActionWebServices I get the error: ArgumentError: 3 elements of civil date are necessary Daniel Berger, posted that this might be fixed by changing the timezone format in the Windows registry.
2006 Jan 20
1
XMLRPC::DateTime from AWS
When I do an XMLRPC webservice call to retrieve a single Product, my DateTime fields in the products table do not get converted to a valid DateTime value, but remain as XMLRPC::DateTime structures. So, say my webservice call is: @product = @aws.get_product(1) Then my @product object looks like this: name: My product last_updated: #<XMLRPC::DateTime:0x37c5338> description: This is my
2010 Oct 31
1
Rails application Webservices
hi all, I have a rails application at http://electric-sky-98.heroku.com/products require ''net/http'' require ''uri'' res = Net::HTTP.get_response(URI.parse(''http://electric- sky-98.heroku.com/products.xml'')) puts res.body the above code gave me the xml file below: <?xml version="1.0"
2006 Jan 23
1
How to call C# webservices
hey, i have created some webservices in C# with vb.net and IIS. i can go to them with http://localhost/Twodecode.Webservices/webservices.asmx Like: [Webservice] AddCity(string zip, string city) { ...do some stuff return "SUCCES"; } How must i call this from ruby?? I save an object, and then call the services. city = City.new() if city.save //call webservice else //do
2014 Jul 22
3
Question: Publishing R/S objects with WebServices (SOAP/WSDL)
Hello, Can anyone tell me if there is a package which will allow me to write a package in R, then publish the package using WebServices? The idea is that I want to be able to pass a data set into R, have R perform the calculations, then send the result back to either a .Net application or a LIMS BASIC application. So far I see many packages that allow R to consume WebServices, but I haven't
2006 Apr 10
1
Bizzare Date, DateTime, date_select issues
I''ve been banging my head against this wall for several hours, and it hurts now so I''ll stop and ask someone. In one of my forms I had been using a statement to extract the current year for use with some form field calculations. <% currentyear = DateTime.now.year %> And then further down several date_selects like the following, <%= date_select
2008 May 22
0
Getting the datetime when using Calendar Date Select plugin in an Ajax update operation.
Hey,everyone, I encountered a problem when getting a date through calendar date select plugin. It''s convenient to put the very tag(calendar_date_select_tag) in a form, then get the date when the form is submitted, however, if I don''t put the calendar_date_select_tag in a form, and just use it as an element which can show a calendar on the page, now I wanna update a specific area
2008 May 21
1
Testing REST webservices? (Not Rails)
Hi, I am new to RSpec and BDD. I was wondering if RSpec specifications are a good solution for testing REST webservices (not implemented in Rails). If so, what would be a good way to test something like the API described below? =========== GET http://localhost/workflow text/xml Result: 200 OK <?xml version="1.0"?> <workflows>
2006 Dec 15
1
What's up with DATETIME and TIMESTAMP in Asterisk 1.4beta3 ?
Hello, In Asterisk 1.4 beta 3, the UPGRADE.txt file says: Variables: * The builtin variables ${CALLERID}, ${CALLERIDNAME}, ${CALLERIDNUM}, ${CALLERANI}, ${DNID}, ${RDNIS}, ${DATETIME}, ${TIMESTAMP}, ${ACCOUNTCODE}, and ${LANGUAGE} have all been deprecated in favor of their related dialplan functions. You are encouraged to move towards the associated dialplan function, as these
2008 May 21
2
RSpec for testing REST webservices? (Not Rails)
Hi, I am new to RSpec and BDD. I was wondering if RSpec specifications are a good solution for testing REST webservices (not implemented in Rails). If so, what would be a good way to test something like the API described below? =========== GET http://localhost/workflow text/xml Result: 200 OK <?xml version="1.0"?> <workflows>
2007 Jun 25
0
[1072] trunk/wxruby2/swig/shared/datetime.i: Add typemap for DateTime::WeekDay; plug mem leak with wxDateTime arg
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2006 Jul 07
0
datetime/date problems w/ Oracle
I am "script\generate scaffold"ing w/ Oracle. The CRUD controls for DATE columns in _form.rhtml are generated as datetime_select, rather than date_select . This is understandable, as Oracle uses a DATETIME data type for DATE columns. I''m also not too bothered by the fact that I have to manually replace "datetime_select" w/ "date_select" for all
2006 Dec 21
1
changing active record to use date or datetime instead of time
Hello, I need to use Date or DateTime for a column instead of Time because I have need to include dates older than 1970. I am using SQL Server for a backend. I have been experimenting with changing the column type in SQL Server, but active record always seems to Time regardless of what the column type is. Is there something I need to declare in my model? I can''t seem to get active
2007 Oct 01
0
Patch review requested: #9750 Unambiguous Time, Date and DateTime #to_json format
This patch changes the date format for Time, Date and DateTime #to_json from the ambiguous 10/01/2007 ...to the unambiguous 2007/10/01 http://dev.rubyonrails.org/ticket/9750 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to
2001 Apr 09
1
syntax error in datetime.c (PR#901)
Full_Name: Naoki Takebayashi Version: 1.2.2 OS: Linux, RedHat 7.0/alpha Submission from: (NULL) (152.3.12.123) With RedHat 7.0/alpha (gcc 2.96-69), I encountered following error: gcc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -mieee -O2 -mieee -c datetime.c -o datetime.o datetime.c: In function `do_systime': datetime.c:306: parse error before `ans'
2005 Feb 19
0
[Error] Using validates_presence_of for datetime field causes parse error?
Hi Everyone - I''ve got an odd sort of error when I try to use validates_presence_of for a MySQL ''datetime'' field. Here''s the relevant portion of the table definition: mysql> describe student_surveys; +---------------------+---------------------+------+----- +---------------------+----------------+ | Field | Type | Null |
2008 Mar 20
4
Blank DateTime versus Nil DateTime
Hi! These days I have been having trouble with a test that tried to test DateTime functionality. I have discovered that a NULL DateTime is auto-type casted to NIL by Rails. My problem here is that I have a field :datetime and I want to allow NULL datetimes but not wrong datetimes. With this validation if deadline is wrong or if is is blank it returns true. How I can accomplish this? protected def
2005 Sep 22
1
ActiveRecord DateTime mapping
Hye, I try to store DateTime as integer (seconds) in my database (MySQL). I''d like to convert seconds to DateTime in the ActiveRecord object to handle it easily in my views. I try to play with callbacks or with method dedicated to my attributes for eg. def fetched upd = nil v =read_attribute(:fetched) if (v) upd = DateTime.at(v) else upd = DateTime.now end end def
2005 Nov 20
1
mySQL 5.0 upgrade - incompatible DateTime format?
I''ve upgraded to mySQL 5.0, and it''s gone pretty smoothly except that on DateTime.now doesn''t seem to return a value that mySQL likes any more, as seen in the following exception: Incorrect datetime value: ''2005-11-20T15:33:12-0800'' for column ''logged_at'' at row 1: UPDATE notes SET `due_on` = ''2005-11-20'',