Sha256: 192f34fa82aef33973cec4b6211435b4953ef48cb20d4ec1b6a31aa477fcff0c
Contents?: true
Size: 309 Bytes
Versions: 16
Compression:
Stored size: 309 Bytes
Contents
module Spree class ZoneMember < ActiveRecord::Base belongs_to :zone, :counter_cache => true belongs_to :zoneable, :polymorphic => true attr_accessible :zone, :zone_id, :zoneable, :zoneable_id, :zoneable_type def name return nil if zoneable.nil? zoneable.name end end end
Version data entries
16 entries across 16 versions & 2 rubygems