Scott R. wrote in post #1163866:
{
“utf8”=>“✓”,
“authenticity_token”=>“3aeYhNBVYaFdHpPHWR5qpoD3QDB8PRUJIiR94WC1kag=”,
“appointment”=>{
“physician_id”=>“4”,
“patient_id”=>“8”,
“reason”=>“fdsdfs”,
“appointment_date(1i)”=>“2014”,
“appointment_date(2i)”=>“12”,
“appointment_date(3i)”=>“3”,
“diagnostic_code_id”=>“1”,
“notes”=>“sdfsdfs”,
“appt_completion”=>“true”
},
“appointment_time”=>{
“test”=>“7”
},
“commit”=>“Create Appointment”
}
Is my problem the formatting of the appointment_time field in the
appointments params? Or is the value that is planned for insert
constrained by a single string input such as “7” rather than “test” =>
“7”?
I tried to remove the “test” => segment to just leave the index, or even
better retrieve the value. I don’t see any spelling errors, but I do
know the insert is not typical of String values.