Sha256: 3bff789eae6abd2dffdf1083e185aa48646c281ce001a448293d295a69ebdb0f

Contents?: true

Size: 566 Bytes

Versions: 5

Compression:

Stored size: 566 Bytes

Contents

EffectiveAddresses.setup do |config|
  # Database table name to store addresses in.  Default is :addresses
  config.addresses_table_name = :addresses

  # Display Full Name on Address forms, and validate presence by default
  # (can be overridden on a per address basis)
  config.use_full_name = false

  # Country codes to display in country_select dropdowns.
  config.country_codes = :all #
  config.country_codes_priority = ['US', 'CA'] # Leave empty array for no priority countries

  # Or you can be more selective...
  #config.country_codes = ['US', 'CA']
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
effective_addresses-1.2.3 spec/dummy/config/initializers/effective_addresses.rb
effective_addresses-1.2.2 spec/dummy/config/initializers/effective_addresses.rb
effective_addresses-1.2.1 spec/dummy/config/initializers/effective_addresses.rb
effective_addresses-1.2.0 spec/dummy/config/initializers/effective_addresses.rb
effective_addresses-1.1.0 spec/dummy/config/initializers/effective_addresses.rb