Skip to content


Subversion checkout URL

You can clone with
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: RubyMoney/money-rails
base: a27da830ea
head fork: RubyMoney/money-rails
compare: 73d3eb9f37
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Commits on Oct 04, 2012
@anthonator anthonator Fixed concatination of subunit_name and name to be just a joins to pr…
…event an infinite loop
@alup alup Merge pull request #43 from anthonator/master
Fixed issue causing infinite loop when adding monetize to model
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/money-rails/active_record/monetizable.rb
2  lib/money-rails/active_record/monetizable.rb
@@ -43,7 +43,7 @@ def monetize(field, *args)
name = subunit_name.sub(/_cents$/, "")
# FIXME: provide a better default
- name = subunit_name << "_money"
+ name = [subunit_name, "money"].join("_")
# Create a reverse mapping of the monetized attributes

No commit comments for this range

Something went wrong with that request. Please try again.