Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2014
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1.  
  2. Started POST "/therapy_sessions/33/exercise_sessions" for 10.10.122.160 at 2014-07-22 12:01:01 -0700
  3. Processing by V1::ExerciseSessionsController#create as application/api.reflexion.v1
  4. Parameters: {"exercise_id"=>44, "sets_performed"=>[{"reps_attempted"=>2, "reps_successful"=>2, "time_started"=>"2014-07-22T18:56:49.7911963-07:00", "time_completed"=>"2014-07-22T19:00:05.1808171-07:00"}], "therapy_session_id"=>"33", "exercise_session"=>{"exercise_id"=>44, "sets_performed"=>[{"reps_attempted"=>2, "reps_successful"=>2, "time_started"=>"2014-07-22T18:56:49.7911963-07:00", "time_completed"=>"2014-07-22T19:00:05.1808171-07:00"}]}}
  5. Doorkeeper::AccessToken Load (0.2ms) SELECT `oauth_access_tokens`.* FROM `oauth_access_tokens` WHERE `oauth_access_tokens`.`token` = '2053efd2777ab6ed001287fc82afcc932271ec395e37bbf8d1797715f4ec54e3' ORDER BY `oauth_access_tokens`.`id` ASC LIMIT 1
  6. Patient Load (0.1ms) SELECT `patients`.* FROM `patients` WHERE `patients`.`deleted_at` IS NULL AND `patients`.`id` = 1 LIMIT 1
  7. TherapySession Load (0.1ms) SELECT `therapy_sessions`.* FROM `therapy_sessions` WHERE `therapy_sessions`.`patient_id` = 1 AND `therapy_sessions`.`id` = 33 LIMIT 1
  8. (0.0ms) BEGIN
  9. Exercise Load (0.1ms) SELECT `exercises`.* FROM `exercises` WHERE `exercises`.`deleted_at` IS NULL AND `exercises`.`id` = 44 LIMIT 1
  10. TherapySession Load (0.1ms) SELECT `therapy_sessions`.* FROM `therapy_sessions` WHERE `therapy_sessions`.`deleted_at` IS NULL AND `therapy_sessions`.`id` = 33 LIMIT 1
  11. (0.1ms) ROLLBACK
  12. Completed 422 Unprocessable Entity in 6ms (Views: 0.1ms | ActiveRecord: 0.7ms)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement