What is this error ?

Hi Emil,

my guess is, that your @parentForum class-var is populated as an array by the find_by_sql method. This array doesn’t know how to work with the message @parentForum.parent.to_s give @parentForum[0].parent.to_s a try.

Cheers, Jan