dashboard_query.rb 201 B

123456789
  1. module Blazer
  2. class DashboardQuery < ActiveRecord::Base
  3. belongs_to :dashboard
  4. belongs_to :query
  5. validates :dashboard_id, presence: true
  6. validates :query_id, presence: true
  7. end
  8. end