modified activerecord version dependencies for 4.1 compatibility