ruby on rails Currency Input Masking with Cleave.js and Money gem in Ruby On Rails Relying on the user's input is a crucial part of building a robust application. That's why I try to apply strong validations on the incoming data on forms or otherwise.