Sha256: cf38f2b48bb7a637565960ea89555f7328212fdb476efa3543fbafbf8df5d986

Contents?: true

Size: 174 Bytes

Versions: 29

Compression:

Stored size: 174 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

29 entries across 29 versions & 6 rubygems

Version Path
spree_core-0.70.7 app/models/zone_member.rb
spree_core-0.70.6 app/models/zone_member.rb
apispree_core-0.0.0 app/models/zone_member.rb
My-Commerce_core-1.1.0 app/models/zone_member.rb
My-Commerce_core-1.0.0 app/models/zone_member.rb
MyCommerceapi-1.0.0 core/app/models/zone_member.rb
MyCommerce-0.0.3 core/app/models/zone_member.rb
rfcommerce_core-0.0.3 app/models/zone_member.rb
spree_core-0.60.6 app/models/zone_member.rb
spree_core-0.70.5 app/models/zone_member.rb
spree_core-0.70.4 app/models/zone_member.rb
spree_core-0.60.5 app/models/zone_member.rb
spree_core-0.70.3 app/models/zone_member.rb
spree_core-0.70.2 app/models/zone_member.rb
spree_core-0.50.4 app/models/zone_member.rb
spree_core-0.60.4 app/models/zone_member.rb
spree_core-0.50.3 app/models/zone_member.rb
spree_core-0.60.3 app/models/zone_member.rb
spree_core-0.70.1 app/models/zone_member.rb
spree_core-0.70.0 app/models/zone_member.rb