change rails activerecord requirements