Money.default_formatting_rules = {
  with_currency: true,
  sign_before_symbol: true
}

curr = [{
          priority: 100,
          iso_code: "HUF",
          name: "Hungarian Forint",
          symbol: "Ft",
          alternate_symbols: [],
          subunit: "",
          subunit_to_unit: 100,
          symbol_first: false,
          html_entity: "",
          decimal_mark: ",",
          thousands_separator: " ",
          iso_numeric: "348",
          smallest_denomination: 5
        },
        {
          priority: 100,
          iso_code: "sub_token",
          name: "Subscription Token",
          symbol: "",
          alternate_symbols: [],
          subunit: "",
          subunit_to_unit: 1,
          symbol_first: false,
          html_entity: "",
          decimal_mark: ",",
          thousands_separator: ",",
          iso_numeric: "",
          smallest_denomination: 1
        }]

curr.each { |c| Money::Currency.register(c) }
