Scott Ribe wrote in post #1163809:
> The parameters reflect what's coming from the browser, what is submitted
> with the form. So this has nothing to do with the database. You need to
> look at your form, at your input fields, their names & ids--first look
> at the .erb source and if you don't right away see why time is different
> and not coming through, then look at the actual html that is generated,
> inspect the input elements, look at their names & ids.

By viewing the page source of my browser and comparing the results to my
index.html.erb, I can conclude that the values have not been sent to the
db from the form.  After updating a record, I can see that a value for a
boolean field is not recorded to my db and therefore not shown on the
index.html.erb browser source code.

I did a db:migrate, and now I am searching all my project files for
params of appointment to make sure all fields are included on create and
update.  In my controller, the appointment params are set up precisely
so that create and updates require all fields.  I just don't know how
appointment_date can be sent to the db and not appt_completion if they
were both created in the same manner.


I'm have been looking over the online copy of railstutorials.org for the 
past two hours looking for a solution to my form submit to db problem.

Attachments:
http://www.ruby-forum.com/attachment/10310/appt_form.jpg
http://www.ruby-forum.com/attachment/10311/appt_controller.jpg
http://www.ruby-forum.com/attachment/10312/appt-index.jpg


-- 
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 rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/a262a3aa94633219dea9c87ca9e13b04%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to