```ruby
class Skill < ActiveRecord::Base
  belongs_to :skill_category
  belongs_to :user

  acts_as_tenant(:user)
end
```

Add AR uniquness validator on name
user
```ruby
class Skill < ActiveRecord::Base
  belongs_to :skill_category
  belongs_to :user

  acts_as_tenant(:user)

  validates_uniqueness_of :name
end
```
assistant