Sha256: 4a0db8fc29bdfa492bf60ccd210f4fdd0619cb0ec2aec7d74d935745459927d2

Contents?: true

Size: 993 Bytes

Versions: 1

Compression:

Stored size: 993 Bytes

Contents

## 3.0.0

Breaking changes:

- Rename `.address_attributes`, `#address_lines`, … to something less ambiguous so it's clear whether we're talking about street address or all address attributes
    - Rename .address_attr_names  -> .street_address_attr_names
    - Rename #address_lines       -> #street_address_lines

    It was confusing having .address_attributes and #address_attributes referring to completely
    different sets of attributes.

- Change the default value for `street_address.attributes` config to a more strict Regex pattern to avoid
  matching `'foo_address'`: `column_names.grep(/^address$|^address_\d$/)`

Fixes:

- Fix `.states_for_country` to always return a `Carmen::RegionCollection` rather than sometimes a
- plain Array `[]`, so that we won't get an error if we try to call `coded` on the returned collection.

- Fix error with rails 5.2

Added:

- Add experimental support for `:on_unknown` config and state validation (added
    `validate_state_for_country`)


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
address_concern-3.0.0 Changelog.md