> puts a.[:comments] > puts a.[:comments].to_s > Remove the period before the brackets:
puts a[:comments] puts a[:comments].to_s > to try and ONLY have the comments print onto the console to no avail. > the other thing I need to cover off is when there are no comments (entries > in the table for a customer) I want to pass back my own default comment. > puts(a ? a[:comments] : 'no comment') Michael -- http://codeconnoisseur.org -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en.
