Created
February 17, 2015 09:42
-
-
Save czepluch/bd300f6815b3cae0fd24 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I want to sort the data by uid(this set only has one uid), and then be able to choose only to get answers or questions grouped by uid. | |
[#<Response id: 37, question: "Region", answer: "Other Asian country", date: "2015-02-04", count: nil, created_at: "2015-02-04 12:39:34", updated_at: "2015-02-04 12:39:34", uid: "1423053574502", quiz_id: 1>, #<Response id: 38, question: "Profession", answer: "Neurologist", date: "2015-02-04", count: nil, created_at: "2015-02-04 12:39:34", updated_at: "2015-02-04 12:39:34", uid: "1423053574502", quiz_id: 1>, #<Response id: 39, question: "Experience with increased L-dopa dose/frequency cau...", answer: "Yes", date: "2015-02-04", count: nil, created_at: "2015-02-04 12:39:34", updated_at: "2015-02-04 12:39:34", uid: "1423053574502", quiz_id: 1>, #<Response id: 40, question: "Azilect's perceived efficacy compared to entacapone...", answer: "Less efficacious", date: "2015-02-04", count: nil, created_at: "2015-02-04 12:39:34", updated_at: "2015-02-04 12:39:34", uid: "1423053574502", quiz_id: 1>, #<Response id: 41, question: "Graph 1: Reduction in daily OFF time after 6 weeks", answer: "Azilect", date: "2015-02-04", count: nil, created_at: "2015-02-04 12:39:34", updated_at: "2015-02-04 12:39:34", uid: "1423053574502", quiz_id: 1>, #<Response id: 42, question: "Most disabling factors impacting PD patients", answer: "Emotional feeling", date: "2015-02-04", count: nil, created_at: "2015-02-04 12:39:34", updated_at: "2015-02-04 12:39:34", uid: "1423053574502", quiz_id: 1>, #<Response id: 43, question: "Most disabling factors impacting PD patients", answer: "Social support", date: "2015-02-04", count: nil, created_at: "2015-02-04 12:39:34", updated_at: "2015-02-04 12:39:34", uid: "1423053574502", quiz_id: 1>, #<Response id: 44, question: "Graph 2: Improvement in morning functioning", answer: "Azilect", date: "2015-02-04", count: nil, created_at: "2015-02-04 12:39:34", updated_at: "2015-02-04 12:39:34", uid: "1423053574502", quiz_id: 1>, #<Response id: 45, question: "Find the false statement", answer: "L-dopa+entacapone eliminates pulsatile response", date: "2015-02-04", count: nil, created_at: "2015-02-04 12:39:34", updated_at: "2015-02-04 12:39:34", uid: "1423053574502", quiz_id: 1>] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment