More changes to rails validation