commented out validation code so app works again in rails 4