mirror of
https://github.com/edcommonwealth/Dashboard.git
synced 2026-03-17 01:45:53 -07:00
chore: seed framework
This commit is contained in:
parent
cd7b05df73
commit
27550e0b30
10 changed files with 83 additions and 82 deletions
|
|
@ -5,7 +5,7 @@ module Dashboard
|
|||
|
||||
scope :sorted, -> { order(:category_id) }
|
||||
|
||||
has_many :subcategories, class_name: "Subcategory", foreign_key: :dashboard_category_id
|
||||
has_many :subcategories, class_name: "Subcategory", foreign_key: :dashboard_categories_id
|
||||
has_many :measures, through: :subcategories
|
||||
has_many :admin_data_items, through: :measures
|
||||
has_many :scales, through: :subcategories
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue