Sha256: c8b350aa1638d07a4f8c80e816a06ee0d52b0c9bed69038ee9c25ecc393d3632

Contents?: true

Size: 253 Bytes

Versions: 35

Compression:

Stored size: 253 Bytes

Contents

class ProviderProfile < ActiveRecord::Base
  include Redis::Objects::RMap

  has_rmap({:id => lambda{|x| x.to_s}}, :title)

  has_many :providers
  has_many :limits
  has_many :commissions

  validates :title, :presence => true, :uniqueness => true
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
smartkiosk-server-0.13.1 app/models/provider_profile.rb
smartkiosk-server-0.13 app/models/provider_profile.rb
smartkiosk-server-0.12.1 app/models/provider_profile.rb
smartkiosk-server-0.12 app/models/provider_profile.rb
smartkiosk-server-0.11.11 app/models/provider_profile.rb
smartkiosk-server-0.11.10 app/models/provider_profile.rb
smartkiosk-server-0.11.9 app/models/provider_profile.rb
smartkiosk-server-0.11.8 app/models/provider_profile.rb
smartkiosk-server-0.11.7 app/models/provider_profile.rb
smartkiosk-server-0.11.6 app/models/provider_profile.rb
smartkiosk-server-0.11.5 app/models/provider_profile.rb
smartkiosk-server-0.11.4 app/models/provider_profile.rb
smartkiosk-server-0.11.3 app/models/provider_profile.rb
smartkiosk-server-0.11.2 app/models/provider_profile.rb
smartkiosk-server-0.11.1 app/models/provider_profile.rb
smartkiosk-server-0.11 app/models/provider_profile.rb
smartkiosk-server-0.10.19 app/models/provider_profile.rb
smartkiosk-server-0.10.18 app/models/provider_profile.rb
smartkiosk-server-0.10.17 app/models/provider_profile.rb
smartkiosk-server-0.10.16 app/models/provider_profile.rb