Enable the Layout/EmptyLinesAroundMethodBody cop

This commit is contained in:
gregoirenovel 2017-06-12 16:06:07 +02:00
parent 24e7537c49
commit 82eb66cfe8
13 changed files with 1 additions and 13 deletions

View file

@ -1,6 +1,5 @@
class ChangeStateConfirmedToValidated < ActiveRecord::Migration
def change
Dossier.where(state: 'confirmed').update_all(state: 'validated')
end
end

View file

@ -7,6 +7,5 @@ class DeleteAttributsToDossier < ActiveRecord::Migration
remove_column :dossiers, :position_lon
remove_column :dossiers, :ref_dossier_carto
end
end

View file

@ -1,7 +1,6 @@
class BuildDefaultPreferenceListDossier < ActiveRecord::Migration
class Gestionnaire < ActiveRecord::Base
def build_default_preferences_list_dossier
PreferenceListDossier.available_columns.each do |table|
table.second.each do |column|
if valid_couple_table_attr? table.first, column.first

View file

@ -96,7 +96,6 @@ class ResetAllPreferenceListDossier < ActiveRecord::Migration
has_many :procedures, through: :assign_to
def build_default_preferences_list_dossier procedure_id=nil
PreferenceListDossier.available_columns_for(procedure_id).each do |table|
table.second.each do |column|
if valid_couple_table_attr? table.first, column.first