```ruby
class Admin < ActiveRecord::Base
  include PgSearch

  # Include default devise modules. Others available are:
  # :confirmable, :lockable, :timeoutable and :omniauthable

  devise :authy_authenticatable, :database_authenticatable,
         :recoverable, :rememberable, :trackable, :validatable, :confirmable,
         :zxcvbnable, :lockable

  validates :first_name, :last_name, presence: true

  has_many :form_answer_attachments, as: :attachable

  pg_search_scope :basic_search,
                  against: [
                    :first_name,
                    :last_name,
                    :email
                  ],
                  using: {
                    tsearch: {
                      prefix: true
                    }
                  }
  def lead?(*)
    true
  end

  def lead_or_assigned?(*)
    true
  end
end
```

Set minimum password score for Admin model to 3
user
```ruby
class Admin < ActiveRecord::Base
  include PgSearch

  # Include default devise modules. Others available are:
  # :confirmable, :lockable, :timeoutable and :omniauthable

  devise :authy_authenticatable, :database_authenticatable,
         :recoverable, :rememberable, :trackable, :validatable, :confirmable,
         :zxcvbnable, :lockable

  validates :first_name, :last_name, presence: true

  has_many :form_answer_attachments, as: :attachable

  pg_search_scope :basic_search,
                  against: [
                    :first_name,
                    :last_name,
                    :email
                  ],
                  using: {
                    tsearch: {
                      prefix: true
                    }
                  }
  def lead?(*)
    true
  end

  def lead_or_assigned?(*)
    true
  end

  private

  def min_password_score
    3
  end
end
```
assistant