Hassan Schroeder wrote in post #1163795:
> On Mon, Dec 1, 2014 at 4:40 PM, Dmoneyzzz Darko <[email protected]>
> wrote:
> use the rails console to examine e.g. Appointment.last.
>
> Hassan Schroeder ------------------------ [email protected]
> http://about.me/hassanschroeder
> twitter: @hassan

Hey, thanks for your help thus far.

I ran the rails console and entered Appointment.last and found that 
these three fields were entered into the database as nil even though 
they were selected in the Appointment form.

#<Appointment id: 22, patient_id: 8, appointment_date: "2014-12-01", 
created_at: "2014-12-01 22:23:26", updated_at: "2014-12-01 22:23:26", 
physician_id: 4, reason: "asfafs", notes: "sfa", diagnostic_code_id: 
nil, appt_completion: nil, appointment_time: nil>

So I'm not sure of my next step code wise, but I know I should figure 
out how to get the select in the form to create and update info to send 
to the db.

-- 
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/1955dd97b6b4220c26a3755e7037a045%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to