Fixed has_many for comments and posts relationship