RE: [Rails] Re: Modelling money

You can optionally do validation in the form for quick feedback, but don't do formatting. That way if javascript is disabled, it won't affect what the controller receives.

You can use Ruby's text processing to translate to an integer in the controller, or change it to whatever format the Money gem accepts.