Sha256: d064728d8305b9ebe8f474b90b29493c398bfc21107c07dd6dca79c39854da5d

Contents?: true

Size: 194 Bytes

Versions: 3

Compression:

Stored size: 194 Bytes

Contents

class User < ApplicationRecord
  # Could also do:
  #   has_addresses [:physical, :shipping, :billing]
  has_addresses
  has_address :physical
  has_address :shipping
  has_address :billing
end

Version data entries

3 entries across 3 versions & 1 rubygems

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