changed activerecord version