Sha256: 4d56a8e3ad16e452242b944b3a48cad465547d6bba8dc3cce082ac0b805a7725

Contents?: true

Size: 156 Bytes

Versions: 17

Compression:

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

17 entries across 17 versions & 1 rubygems

Version Path
tb_core-1.5.4 app/models/spud_user_setting.rb
tb_core-1.5.3 app/models/spud_user_setting.rb
tb_core-1.5.2 app/models/spud_user_setting.rb
tb_core-1.5.1 app/models/spud_user_setting.rb
tb_core-1.4.3.1 app/models/spud_user_setting.rb
tb_core-1.5.0 app/models/spud_user_setting.rb
tb_core-1.4.8 app/models/spud_user_setting.rb
tb_core-1.4.7 app/models/spud_user_setting.rb
tb_core-1.4.6 app/models/spud_user_setting.rb
tb_core-1.4.5 app/models/spud_user_setting.rb
tb_core-1.4.4 app/models/spud_user_setting.rb
tb_core-1.4.3 app/models/spud_user_setting.rb
tb_core-1.4.2 app/models/spud_user_setting.rb
tb_core-1.4.1 app/models/spud_user_setting.rb
tb_core-1.4.0.1 app/models/spud_user_setting.rb
tb_core-1.4.beta2 app/models/spud_user_setting.rb
tb_core-1.4.beta1 app/models/spud_user_setting.rb