Displaying 1 result from an estimated 1 matches for "heartratescontrol".
2007 Apr 24
1
problem POSTing with curl and REST using scaffold_resource
...=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=-=-=-=-=
The POST command makes it to the Rails controller and actually inserts
a record into the database, but it inserts all NULLs in the fields
(instead of above specified values) as shown by the following log:
Processing HeartratesController#create (for 127.0.0.1 at 2007-04-24
13:17:10) [POST]
Session ID: 36bc0c6a51f5fb79f4086700776e0aed
Parameters: {"action"=>"create", "controller"=>"heartrates",
"<heartrate><hear
tRate>102</heartRate><sessionID>1002<...