Sha256: 1b67005d9f2f0746f40cd643223658d541f26fc539848913334b14293c2b2c20
Contents?: true
Size: 1007 Bytes
Versions: 8
Compression:
Stored size: 1007 Bytes
Contents
# encoding : utf-8 MoneyRails.configure do |config| # To set the default currency # #config.default_currency = :usd # Set default bank object # # Example: # config.default_bank = EuCentralBank.new # Add exchange rates to current money bank object. # (The conversion rate refers to one direction only) # # Example: # config.add_rate "USD", "CAD", 1.24515 # config.add_rate "CAD", "USD", 0.803115 # To handle the inclusion of validations for monetized fields # The default value is true # #config.include_validations = true # Register a custom currency # # Example: # config.register_currency = { # :priority => 1, # :iso_code => "EU4", # :name => "Euro with subunit of 4 digits", # :symbol => "€", # :symbol_first => true, # :subunit => "Subcent", # :subunit_to_unit => 10000, # :thousands_separator => ".", # :decimal_mark => "," # } end
Version data entries
8 entries across 8 versions & 2 rubygems