using 4.1 activerecord to run on rails 4.1