Browse Source

style: move "validate :validate_owning_organisation" onto new line

pull/1027/head
Sam Seed 4 years ago
parent
commit
6b3fa8f28d
  1. 3
      app/models/scheme.rb

3
app/models/scheme.rb

@ -21,7 +21,8 @@ class Scheme < ApplicationRecord
scope :order_by_completion, -> { order("confirmed ASC NULLS FIRST") }
scope :order_by_service_name, -> { order(service_name: :asc) }
validate :validate_confirmed, :validate_owning_organisation
validate :validate_confirmed
validate :validate_owning_organisation
auto_strip_attributes :service_name

Loading…
Cancel
Save