I am not sure if this will work but could you provide a named_scope on
Forum that takes a user id as a parameter, :include topic, user,
comment and reply, and specify the condition that
forum.topic.user.id=user_id OR forum.topic.comment.user.id = user_id
OR forum.topic.reply.user.id=user_id.
I am not sure if the include user will include comment.user and
reply.user, I am working out of my comfort zone here. If there is not
a rails way to do it then you could always just write the above as SQL
though I always try and avoid this.