search for: certificationtyp

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

Did you mean: certificationtype
2006 Jun 13
3
acts_as_tree problem accessing parent object
...nd %> so, the line above (<%= certification.certification_type.parent.type_description %> ) does not work; it says The error occured while evaluating nil.type_description. if i do a debug(certification.certification_type.parent) it shows that i have a hash of values: --- !ruby/object:CertificationType attributes: type_description: Allergy & Immunology id: "12" parent_id: "11" can anyone help me with how to access the parent type_description when looping through my collection? Thanks, Nate -- Posted via http://www.ruby-forum.com/.