Only allow hashes to be supplied to .new calls as rails 3.1 and later require this