Skip to content

Commit

Permalink
Temporarily disable Rubocop checks to fix the build
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaelCodes committed Oct 6, 2021
1 parent df50e48 commit fddff36
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/profile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ class Profile < ApplicationRecord
# Whether they are "buddy" or "friend"
has_many :buddyships, class_name: "Friendship", foreign_key: "buddy_id", dependent: :destroy, inverse_of: :buddy
has_many :friendships, class_name: "Friendship", foreign_key: "friend_id", dependent: :destroy, inverse_of: :friend
# rubocop:disable Rails/UniqueValidationWithoutIndex, Layout/LineLength
validates :handle, presence: true, format: { with: /\A[a-zA-Z0-9]+\z/, message: "Only letters and numbers are allowed" }, uniqueness: { case_sensitive: true }
# rubocop:enable Rails/UniqueValidationWithoutIndex, Layout/LineLength

This comment has been minimized.

Copy link
@JuanVqz

JuanVqz Oct 6, 2021

Contributor

@ChaelCodes I already opened a PR #72 to pass this rubocop rule.


def to_s
name
Expand Down

0 comments on commit fddff36

Please sign in to comment.