Enable the Layout/EmptyLinesAroundClassBody cop
This commit is contained in:
parent
f1907f4d0e
commit
24e7537c49
52 changed files with 1 additions and 69 deletions
|
@ -1,11 +1,8 @@
|
|||
class UpdateModuleAPICarto < ActiveRecord::Migration
|
||||
|
||||
class Procedure < ActiveRecord::Base
|
||||
|
||||
end
|
||||
|
||||
class ModuleAPICarto < ActiveRecord::Base
|
||||
|
||||
end
|
||||
|
||||
def up
|
||||
|
|
|
@ -1,11 +1,8 @@
|
|||
class CreateFranceConnectInformation < ActiveRecord::Migration
|
||||
|
||||
class User < ActiveRecord::Base
|
||||
|
||||
end
|
||||
|
||||
class FranceConnectInformation < ActiveRecord::Base
|
||||
|
||||
end
|
||||
|
||||
def up
|
||||
|
|
|
@ -8,7 +8,6 @@ class PieceJustificativeHaveUser < ActiveRecord::Migration
|
|||
end
|
||||
|
||||
class User < ActiveRecord::Base
|
||||
|
||||
end
|
||||
|
||||
def change
|
||||
|
|
|
@ -8,7 +8,6 @@ class CerfaHaveUser < ActiveRecord::Migration
|
|||
end
|
||||
|
||||
class User < ActiveRecord::Base
|
||||
|
||||
end
|
||||
|
||||
def change
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
class SetOriginalFilenameForUploaders < ActiveRecord::Migration
|
||||
class PieceJustificative < ActiveRecord::Base
|
||||
|
||||
end
|
||||
|
||||
class Cerfa < ActiveRecord::Base
|
||||
|
||||
end
|
||||
|
||||
def change
|
||||
|
|
|
@ -1,18 +1,14 @@
|
|||
class DeleteDefaultDescriptionToDossier < ActiveRecord::Migration
|
||||
class Dossier < ActiveRecord::Base
|
||||
|
||||
end
|
||||
|
||||
class Champ < ActiveRecord::Base
|
||||
|
||||
end
|
||||
|
||||
class Procedure < ActiveRecord::Base
|
||||
|
||||
end
|
||||
|
||||
class TypeDeChamp < ActiveRecord::Base
|
||||
|
||||
end
|
||||
|
||||
def up
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
class ConvertAllDatetimeToDateOnDatabase < ActiveRecord::Migration
|
||||
|
||||
class TypeDeChamp < ActiveRecord::Base
|
||||
|
||||
end
|
||||
|
||||
def change
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
class FixDefaultTypeOnTypeDeChampTable < ActiveRecord::Migration
|
||||
class TypeDeChamp < ActiveRecord::Base
|
||||
|
||||
end
|
||||
|
||||
def up
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
class AddTypeAttrInChampTable < ActiveRecord::Migration
|
||||
|
||||
class TypeDeChamp < ActiveRecord::Base
|
||||
has_many :champs
|
||||
end
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
class DeleteValueOfFilterProcedure < ActiveRecord::Migration
|
||||
class Gestionnaire < ActiveRecord::Base
|
||||
|
||||
end
|
||||
|
||||
def change
|
||||
|
|
|
@ -4,7 +4,6 @@ class InitiatedAllReceivedMailForProcedure < ActiveRecord::Migration
|
|||
end
|
||||
|
||||
class MailTemplate < ActiveRecord::Base
|
||||
|
||||
end
|
||||
|
||||
class ::MailReceived < MailTemplate
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
class ChangeEmptytoNilInPreferenceListDossierTable < ActiveRecord::Migration
|
||||
class PreferenceListDossier < ActiveRecord::Base
|
||||
|
||||
end
|
||||
|
||||
def change
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
class FixTypeDeChampHeaderSectionWithMandatoryTrue < ActiveRecord::Migration
|
||||
class TypeDeChamp < ActiveRecord::Base
|
||||
|
||||
end
|
||||
|
||||
def change
|
||||
|
|
|
@ -143,7 +143,6 @@ class ResetAllPreferenceListDossier < ActiveRecord::Migration
|
|||
class Procedure < ActiveRecord::Base
|
||||
has_many :assign_to, dependent: :destroy
|
||||
has_many :gestionnaires, through: :assign_to
|
||||
|
||||
end
|
||||
|
||||
def change
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue