Enable the Layout/SpaceBeforeComma cop

This commit is contained in:
gregoirenovel 2018-01-15 21:49:52 +01:00
parent 2814fcf27e
commit 3e93bd3615
2 changed files with 2 additions and 2 deletions

View file

@ -185,7 +185,7 @@ Layout/SpaceBeforeBlockBraces:
Enabled: false
Layout/SpaceBeforeComma:
Enabled: false
Enabled: true
Layout/SpaceBeforeComment:
Enabled: false

View file

@ -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