app/models/concerns/verification.rb
Line is too long. [193/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
scope :level_two_verified, -> { where("users.level_two_verified_at IS NOT NULL OR (users.confirmed_phone IS NOT NULL AND users.residence_verified_at IS NOT NULL) AND verified_at IS NULL") }
- Exclude checks
Line is too long. [211/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
scope :level_two_or_three_verified, -> { where("users.verified_at IS NOT NULL OR users.level_two_verified_at IS NOT NULL OR (users.confirmed_phone IS NOT NULL AND users.residence_verified_at IS NOT NULL)") }
- Exclude checks
Line is too long. [181/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
scope :unverified, -> { where("users.verified_at IS NULL AND (users.level_two_verified_at IS NULL AND (users.residence_verified_at IS NULL OR users.confirmed_phone IS NULL))") }
- Exclude checks
Line is too long. [248/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
scope :incomplete_verification, -> { where("(users.residence_verified_at IS NULL AND users.failed_census_calls_count > ?) OR (users.residence_verified_at IS NOT NULL AND (users.unconfirmed_phone IS NULL OR users.confirmed_phone IS NULL))", 0) }
- Exclude checks