add #vlidates to rails snippet
for merge
conflict resolved