Skip to content
Snippets Groups Projects
Select Git revision
  • renovate/icalendar-2.x-lockfile
  • renovate/turbo-rails-2.x-lockfile
  • renovate/gcr.io-kaniko-project-executor-1.x
  • renovate/ruby
  • main default protected
  • eh22 protected
  • update-rubocop
7 results

candidate.rb

Blame
  • candidate.rb 198 B
    class Candidate < ApplicationRecord
      belongs_to :user
      belongs_to :session
    
      validates :user_id, uniqueness: { scope: :session_id, message: "has already recorded interest for this session" }
    end