Sha256: a805f452e733c4875ffe35efe6621e527f92cbf6b1ce325f42b31feb72e8e26f

Contents?: true

Size: 232 Bytes

Versions: 3

Compression:

Stored size: 232 Bytes

Contents

class AddressWithCodeOnly < ApplicationRecord
  self.table_name = 'address_with_code_or_name_only'

  acts_as_address(
    state: {
      code_attribute: 'state',
    },
    country: {
      code_attribute: 'country'
    },
  )
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
address_concern-3.0.0 spec/support/models/address_with_code_only.rb
address_concern-2.1.1 spec/support/models/address_with_code_only.rb
address_concern-2.1.0 spec/support/models/address_with_code_only.rb