Hassan Schroeder wrote in post #1163806:
> On Mon, Dec 1, 2014 at 7:34 PM, Dmoneyzzz Darko <[email protected]>
> wrote:
>
>> TO "appointments"
>>
> 
("id","patient_id","appointment_date","created_at","updated_at","physician_id","reason","notes","diagnostic_id","diagnostic_code_id","appt_completion","appointment_time")
>> VALUES (22, 8, '2014-12-01', '2014-12-01 22:23:26.455231', '2014-12-01
>> 22:23:26.455231', 4, 'asfafs', 'sfa', NULL, NULL, NULL, NULL)
>
> OK, that's a SQL statement, but what do the actual parameters
> look like?
>
> --
> Hassan Schroeder ------------------------ [email protected]
> http://about.me/hassanschroeder
> twitter: @hassan

Parameters: {"utf8"=>"✓", 
"authenticity_token"=>"3aeYhNBVYaFdHpPHWR5qpoD3QDB8PRUJIiR94WC1kag=", 
"appointment"=>{"physician_id"=>"5", "patient_id"=>"12", 
"reason"=>"Because", "appointment_date(1i)"=>"2014", 
"appointment_date(2i)"=>"11", "appointment_date(3i)"=>"30", 
"diagnostic_code_id"=>"3", "notes"=>"Easy"}, "commit"=>"Create 
Appointment"}

I found this in my development log.  In particular, these parameters do 
not contain appointment_time but I am sure I added the column 
respectively.

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/9a1fe2f4aeceed7fda9ce14686be2ebf%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to