Permalink
Browse files

Add new options to the initializer template

  • Loading branch information...
1 parent e66ebf7 commit 7b227a02b63274a6ab2ede8cf6335eacd45798e1 @alup alup committed Jan 28, 2013
Showing with 8 additions and 2 deletions.
  1. +8 −2 lib/generators/templates/money.rb
@@ -4,7 +4,7 @@
# To set the default currency
#
- #config.default_currency = :usd
+ # config.default_currency = :usd
# Set default bank object
#
@@ -21,7 +21,7 @@
# To handle the inclusion of validations for monetized fields
# The default value is true
#
- #config.include_validations = true
+ # config.include_validations = true
# Default ActiveRecord migration configuration values for columns:
#
@@ -58,4 +58,10 @@
# :decimal_mark => ","
# }
+ # Set money formatted output globally.
+ # Default value is nil meaning "ignore this option".
+ # Options are nil, true, false.
+ #
+ # config.no_cents_if_whole = nil
+ # config.symbol = nil
end

0 comments on commit 7b227a0

Please sign in to comment.