On Mon, Dec 1, 2014 at 2:33 PM, Dmoneyzzz Darko <[email protected]> wrote:

> Currently, my issue is that I cannot see the values I have selected in
> my Appointment form.

>      I have this in the appointments/show.html.erb:

>   <%= @appointment.appointment_time %>

So what do you see there? Use `view source`.

The likely cause of missing values is either

1) the values were never inserted into the DB to start with
    or
2) you're not setting @appointment in your controller

Either of those should be easy to identify. Start by looking at your
DB. If the data isn't there, look at your logs; are the params being
received what you expect? Does your model have validations that
might be failing?

-- 
Hassan Schroeder ------------------------ [email protected]
http://about.me/hassanschroeder
twitter: @hassan

-- 
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/CACmC4yDkiefTNpyMv13ZiCUaHz7wcQOhOtGmdgqkTpM5-iLBDA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to