validatior#setup is deprecated in activemodel 4.1

instead class is passed to initialize