Displaying 2 results from an estimated 2 matches for "hthomp".
2006 Jul 03
4
Display find(:include => [:children]) results in a view
I am trying to determine how to display a list returned from a Rails
find(:include => [:children]). I am using the following (which works in the
console):
@patients = Account.find(session[:account_id]).patients.find(:all, :include
=> [:patient_details])
How can I address the patient_details to display them in the view? The
console even shows a @patient_details instance variable
2006 Jun 05
1
Action Mailer contact form
I am trying to use Rails and the Action mailer to create a simple contact
form on a website. I am using a table-less model to validate the form
contents, then trying to use the Action Mailer chapter of the "Agile Web Development
with Rails" book as a pattern to develop the send e-mail portion. I am
having trouble getting it working and was hoping someone could point me in the