Sha256: 905c33cafdf013963cb125bb3b0c34daba8537369ab3f8cee92a7c398cf80ab7

Contents?: true

Size: 552 Bytes

Versions: 26

Compression:

Stored size: 552 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'] # nil for no priority countries

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

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
effective_addresses-1.8.2 spec/dummy/config/initializers/effective_addresses.rb
effective_addresses-1.8.1 spec/dummy/config/initializers/effective_addresses.rb
effective_addresses-1.8.0 spec/dummy/config/initializers/effective_addresses.rb
effective_addresses-1.7.4 spec/dummy/config/initializers/effective_addresses.rb
effective_addresses-1.7.3 spec/dummy/config/initializers/effective_addresses.rb
effective_addresses-1.7.2 spec/dummy/config/initializers/effective_addresses.rb
effective_addresses-1.7.1 spec/dummy/config/initializers/effective_addresses.rb
effective_addresses-1.7.0 spec/dummy/config/initializers/effective_addresses.rb
effective_addresses-1.6.3 spec/dummy/config/initializers/effective_addresses.rb
effective_addresses-1.6.2 spec/dummy/config/initializers/effective_addresses.rb
effective_addresses-1.6.1 spec/dummy/config/initializers/effective_addresses.rb
effective_addresses-1.6.0 spec/dummy/config/initializers/effective_addresses.rb
effective_addresses-1.5.1 spec/dummy/config/initializers/effective_addresses.rb
effective_addresses-1.5.0 spec/dummy/config/initializers/effective_addresses.rb
effective_addresses-1.4.1 spec/dummy/config/initializers/effective_addresses.rb
effective_addresses-1.4.0 spec/dummy/config/initializers/effective_addresses.rb
effective_addresses-1.3.9 spec/dummy/config/initializers/effective_addresses.rb
effective_addresses-1.3.8 spec/dummy/config/initializers/effective_addresses.rb
effective_addresses-1.3.7 spec/dummy/config/initializers/effective_addresses.rb
effective_addresses-1.3.6 spec/dummy/config/initializers/effective_addresses.rb