depends on activerecord ~> 3.2