Sha256: 55a32e616eafa91caba837b491deb0d4ab0aa405cfd48b29088f3944d7502f13

Contents?: true

Size: 157 Bytes

Versions: 63

Compression:

Stored size: 157 Bytes

Contents

class SpudUserSetting < ActiveRecord::Base
	belongs_to :spud_user

	validates :key,:presence=>true
	validates_uniqueness_of :key,:scope => :spud_user_id
end

Version data entries

63 entries across 63 versions & 2 rubygems

Version Path
spud_core-1.0.6 app/models/spud_user_setting.rb
spud_core-1.0.5 app/models/spud_user_setting.rb
spud_core-1.0.4 app/models/spud_user_setting.rb
spud_core-1.0.3 app/models/spud_user_setting.rb
spud_core-1.0.2 app/models/spud_user_setting.rb
spud_core-1.0.1 app/models/spud_user_setting.rb
spud_core-1.0.0 app/models/spud_user_setting.rb
spud_core-1.0.0.rc2 app/models/spud_user_setting.rb
spud_core-1.0.0.rc1.1 app/models/spud_user_setting.rb
spud_core-1.0.0.rc1 app/models/spud_user_setting.rb
spud_core-0.9.22 app/models/spud_user_setting.rb
spud_core-0.9.21 app/models/spud_user_setting.rb
spud_core-0.9.20 app/models/spud_user_setting.rb
spud_core-0.9.19 app/models/spud_user_setting.rb
tb_core-1.0.2 app/models/spud_user_setting.rb
spud_core-0.9.18 app/models/spud_user_setting.rb
tb_core-1.0.1 app/models/spud_user_setting.rb
tb_core-1.0 app/models/spud_user_setting.rb
tb_core-0.9.19 app/models/spud_user_setting.rb
tb_core-0.9.18 app/models/spud_user_setting.rb