Sha256: bca2bda5a1c6dccaf45ad909dac29f117685b420fe0e5c84b468bbcbd7f31740
Contents?: true
Size: 742 Bytes
Versions: 9
Compression:
Stored size: 742 Bytes
Contents
# encoding : utf-8 MoneyRails.configure do |config| # To set the default currency # config.default_currency = :eur # Add some rates 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 # 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
9 entries across 9 versions & 1 rubygems