money-rails
Money

money-rails | Money | |
---|---|---|
4 | 4 | |
1,812 | 2,772 | |
0.3% | 0.6% | |
2.9 | 4.2 | |
15 days ago | 15 days ago | |
Ruby | Ruby | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
money-rails
-
Keep Your Ruby Code Maintainable with Money-Rails
Money-Rails integrates the money gem in Rails. It can handle automatic conversion between the database representation of money to Money instances. These instances can then be used to access all helpers available from the money gem (we will get to an overview of those helpers later in this post).
- How to store properly a BigDecimal in Ruby on Rails
-
Ten Ruby gems for Rails you should definitely know about
Money-Rails
-
Currency Calculations in Ruby
Money-rails: An integration of RubyMoney for Ruby on Rails, mixing all the money's library power with Rails flexibility.
Money
-
Keep Your Ruby Code Maintainable with Money-Rails
Many other options are available to customize this for your Ruby on Rails app. Check out the full details in the money and money-rails guides.
-
Why I Stopped Using Sorbet in All My Ruby Projects
For now I just try to use better objects, avoiding primitive datatypes in internal code (using the null object pattern or an option/maybe class can go a long way), and using gems that do the same, such as dry-rb and money.
-
[Production code] The previous dev thought it was ok to use floating point variables for money
Java has to have a modern money library by now? Ruby has one => https://github.com/RubyMoney/money
-
Currency Calculations in Ruby
Make sure to refer to the docs for more of the provided currency attributes, such as iso_code (which returns the international three-digit code of that currency) and decimal_mark (the char between the value and the fraction of the money data), among others.
What are some alternatives?
strong_migrations - Catch unsafe migrations in development
Monetize - A library for converting various objects into `Money` objects.
counter_culture - Turbo-charged counter caches for your Rails app.
Income Tax Estimation - Ruby library to calculate the income tax for any country
lockbox - Modern encryption for Ruby and Rails
Wallet - A Ruby program to track your finances.
eu_central_bank - A gem that calculates the exchange rate using published rates from European Central Bank. Compatible with the money gem
phony_rails - This Gem adds useful methods to your Rails app to validate, display and save phone numbers. It uses the super awesome Phony gem (https://github.com/floere/phony).
DoubleEntry - A double-entry accounting system for Ruby applications.
Pagy - 🏆 The Best Pagination Ruby Gem 🥇
Plutus - A Ruby on Rails Engine which provides a double entry accounting system for your application
