Sha256: ecd0d4eba708dc2c36eaae0307d6962ff23c57663efdadea7d875402cb565f50

Contents?: true

Size: 183 Bytes

Versions: 31

Compression:

Stored size: 183 Bytes

Contents

class ZoneMember < ActiveRecord::Base
  belongs_to :zone
  belongs_to :zoneable, :polymorphic => true    
  
  def name   
    return nil if zoneable.nil?
    zoneable.name
  end

end

Version data entries

31 entries across 31 versions & 4 rubygems

Version Path
kdmny-spree-0.0.1 app/models/zone_member.rb
spree-0.11.4 app/models/zone_member.rb
spree-0.11.3 app/models/zone_member.rb
spree_core-0.30.2 app/models/zone_member.rb
spree_core-0.40.4 app/models/zone_member.rb
spree_core-0.40.3 app/models/zone_member.rb
spree_core-0.40.2 app/models/zone_member.rb
spree_core-0.40.1 app/models/zone_member.rb
spree_core-0.40.0 app/models/zone_member.rb
spree_core-0.30.1 app/models/zone_member.rb
spree_core-0.30.0 app/models/zone_member.rb
spree-0.11.2 app/models/zone_member.rb
spree-0.11.1 app/models/zone_member.rb
spree_core-0.30.0.beta1 app/models/zone_member.rb
spree-0.11.0 app/models/zone_member.rb
spree-0.10.2 app/models/zone_member.rb
spree-0.10.1 app/models/zone_member.rb
spree-0.10.0 app/models/zone_member.rb
spree-0.10.0.beta app/models/zone_member.rb
spree-enriquez-0.9.4 app/models/zone_member.rb