allowing activerecord 4.1