Added relation and validation to comment/post.rb