Sha256: 384a323e5f649ca81b082bd1052d523972ff76cd03824b289fd6ab4baa533981
Contents?: true
Size: 272 Bytes
Versions: 45
Compression:
Stored size: 272 Bytes
Contents
module Spree class ZoneMember < Spree::Base belongs_to :zone, class_name: 'Spree::Zone', counter_cache: true, inverse_of: :zone_members belongs_to :zoneable, polymorphic: true def name return nil if zoneable.nil? zoneable.name end end end
Version data entries
45 entries across 45 versions & 2 rubygems