cirandas.net

ref: master

app/models/validation_info.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
class ValidationInfo < ApplicationRecord

  attr_accessible :validation_methodology, :restrictions, :organization

  belongs_to :organization

  validates_presence_of :organization
  validates_presence_of :validation_methodology

  xss_terminate :only => [ :validation_methodology, :restrictions ], :on => 'validation'
end