class Report < ApplicationRecord has_many :elements, dependent: :destroy end