mongomapper/mongomapper — pull request #569 by fcheung (2014-04-16 13:07:31+00:00)
Title: validatior#setup is deprecated in activemodel 4.1

instead class is passed to initialize