Skip to content
Manage money in Shopify with a class that won't lose pennies during division
Find file
Latest commit 2e188a6 @jahfer jahfer Merge pull request #29 from Shopify/allocate-support-rational
Don't coerce Rationals to floats in allocate
Failed to load latest commit information.
lib Don't coerce Rationals to floats in allocate
spec Don't coerce Rationals to floats in allocate
.document Initial commit to money.
.gitignore allow dependency injection for Money.parser, add new AccountingMoneyP…
.rspec Initial commit to money.
Gemfile Update RSpec to 3.2.0
LICENSE.txt doc updates
Rakefile Update RDoc
VERSION add railtie for money_column, initialize version, add more specs
money.gemspec Convert README.rdoc to in gemspec


Build Status

Manage money in shopify with a class that wont lose pennies during division!

money_column expects a decimal 8,2 database field.

Contributing to money

  • Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
  • Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
  • Fork the project
  • Start a feature/bugfix branch
  • Commit and push until you are happy with your contribution
  • Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
  • Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.


Copyright (c) 2011 Shopify. See LICENSE.txt for further details.

Something went wrong with that request. Please try again.