add post for activerecord