Unfortunately, I have already tried that. When I click on the link it does nothing. It stays on whatever page i'm on but won't do anything.It's very strange
Johnny Stewart wrote in post #1184507: > Ruth Stephenson wrote in post #1184504: >> ERROR: >> SQLite3::SQLException: no such column: appointments.appointment_date: > > This is telling you that there is no appointment_date column in your > appointments table. > > replace appointment_date with whatever you have named the appointment > date column in the appointments table. I think you mentioned it was > called date in another post, so: > > <%= link_to 'My > appointment',current_user.appointments.order(:date).last%> > > J. -- 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/d9d865b22dddd7925520447528cd0f56%40ruby-forum.com. For more options, visit https://groups.google.com/d/optout.

