search for: find_treat

Displaying 1 result from an estimated 1 matches for "find_treat".

2008 Sep 02
5
Appending a record to a table
...ment, customer and therapist data. But I cannot seem to get the treatment information from the cart into the LineItem record. Any ideas? My code is as follows. I keep coming across this idea of using << but none of the literature I''m reading makes a huge deal of sense. @cart = find_treat l = LineItem.new c = Customer.find(session[:currentcustID]) t = Therapist.find(params[:appt_therapist]) a = Appointment.new a.appdate = params[:appt_date] a.apptime = params[:appt_time] a.applength = @cart.total_time a.customer = c l.appointment = a l.cust...