activerecord validation updates