complete rails validation with models