include activerecord gem and refactor require models