mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
Add scope for boston
This commit is contained in:
parent
ae6d7151b3
commit
5d07f06a65
1 changed files with 2 additions and 0 deletions
|
|
@ -14,4 +14,6 @@ class District < ApplicationRecord
|
|||
before_save do
|
||||
self.slug ||= name.parameterize
|
||||
end
|
||||
|
||||
scope :boston, -> { where(name: 'Boston') }
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue