app/models/claim_intention.rb
# == Schema Information
#
# Table name: claim_intentions
#
# id :integer not null, primary key
# form_id :string
# created_at :datetime not null
# updated_at :datetime not null
# user_id :integer
#
class ClaimIntention < ApplicationRecord
validates :form_id, presence: true, uniqueness: true
belongs_to :user
end