change activerecord