inherit activerecord::base