Enable the Layout/SpaceBeforeComma cop
This commit is contained in:
parent
2814fcf27e
commit
3e93bd3615
2 changed files with 2 additions and 2 deletions
|
@ -185,7 +185,7 @@ Layout/SpaceBeforeBlockBraces:
|
|||
Enabled: false
|
||||
|
||||
Layout/SpaceBeforeComma:
|
||||
Enabled: false
|
||||
Enabled: true
|
||||
|
||||
Layout/SpaceBeforeComment:
|
||||
Enabled: false
|
||||
|
|
|
@ -57,7 +57,7 @@ class Dossier < ActiveRecord::Base
|
|||
scope :en_cours, -> { not_archived.state_en_construction_ou_instruction }
|
||||
scope :without_followers, -> { left_outer_joins(:follows).where(follows: { id: nil }) }
|
||||
scope :with_unread_notifications, -> { where(notifications: { already_read: false }) }
|
||||
scope :followed_by , -> (gestionnaire) { joins(:follows).where(follows: { gestionnaire: gestionnaire }) }
|
||||
scope :followed_by, -> (gestionnaire) { joins(:follows).where(follows: { gestionnaire: gestionnaire }) }
|
||||
|
||||
accepts_nested_attributes_for :individual
|
||||
|
||||
|
|
Loading…
Reference in a new issue