Used Active Record with Object-Relational Mapping (ORM) to association comments and posts in Database