demarches-normaliennes/app/models
Pierre de La Morinerie 4ad9adc510 models: fix Ruby 2.7 arguments passing
Arguments to an ActiveRecord scope will always been passed as a
Dictionnary. Thus
`Dossier.with_notifiable_procedure(notify_on_closed: true)` will trigger
a Ruby 2.7 warning:

> /ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/relation.rb:412: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call

Fix the issue by always expecting a Dictionary (rather than keyword
arguments).
2021-02-09 09:20:46 +01:00
..
champs Add job exception logs to dossier and champ 2021-02-04 19:27:27 +01:00
concerns Show titre identite link only once watermark is added 2020-12-10 16:50:03 +01:00
mails models: require belong_to associations on mail templates 2020-08-18 15:57:37 +02:00
types_de_champ Add annuaire_education champ 2021-01-14 17:57:48 +01:00
.keep First Commit 2015-08-10 11:05:06 +02:00
administrateur.rb remove dead code in admin model 2020-09-18 11:16:34 +02:00
administrateurs_procedure.rb models: generate annotations 2020-08-12 11:45:53 +02:00
api_entreprise_token.rb extract class ApiEntrepriseToken 2020-05-06 10:57:45 +02:00
application_record.rb Resolve models and types 2019-09-24 10:47:21 +02:00
assign_to.rb Update Raven references to use Sentry 2021-01-28 19:46:36 +01:00
attestation.rb models: require belong_to associations on attestation 2020-08-18 15:57:36 +02:00
attestation_template.rb models: require belong_to associations on attestation_template 2020-08-18 15:57:36 +02:00
avis.rb instead of call Avis table, we now call Experts Procedure table to see the experts list 2021-01-26 13:59:10 +01:00
bill_signature.rb factorize read_attachment 2020-12-14 14:09:15 +01:00
champ.rb Add job exception log methods to champ and dossier 2021-02-05 18:56:27 +01:00
commentaire.rb Add content validation for avis and messages 2021-01-18 17:23:08 +01:00
current.rb Rename gestionnaire in code to instructeur 2019-08-12 13:47:01 +02:00
current_confirmation.rb mailers: add procedure context to the confirmation link 2020-02-25 11:45:36 +00:00
deleted_dossier.rb EQT instructeur, je peux supprimer un dossier terminé 2020-12-16 15:00:26 +01:00
demande.rb [fix #1601] show pipedrive demandes in manager 2018-03-22 15:37:16 +01:00
dossier.rb models: fix Ruby 2.7 arguments passing 2021-02-09 09:20:46 +01:00
dossier_operation_log.rb add grace period to deleted dossiers 2020-12-16 15:00:26 +01:00
dynamic_smtp_settings_interceptor.rb introduce smtp_key in order to use 2 different sendinblue keys 2019-11-06 13:34:36 +01:00
entreprise.rb Make some api entreprise fields optional 2021-01-27 11:53:00 +01:00
etablissement.rb Ignore entreprise_id on etablissements 2021-01-27 11:53:00 +01:00
exercice.rb models: require belong_to associations on exercice 2020-08-18 15:57:36 +02:00
expert.rb add an email method to expert model 2021-01-26 13:59:09 +01:00
experts_procedure.rb instead of call Avis table, we now call Experts Procedure table to see the experts list 2021-01-26 13:59:10 +01:00
export.rb compute async only after create 2020-09-29 14:00:31 +02:00
feedback.rb models: require belong_to associations on feedback 2020-08-18 15:57:36 +02:00
follow.rb models: require belong_to associations on follow 2020-08-18 15:57:37 +02:00
france_connect_information.rb models: explicitly mark optional belongs_to relationship as so 2020-08-18 15:57:36 +02:00
france_connect_particulier_client.rb FC initializers: remove Hashie 2018-01-15 17:08:38 +01:00
geo_area.rb Remove legacy geo sources 2020-12-10 11:26:16 +01:00
groupe_instructeur.rb models: require belong_to associations on groupe_instructeur 2020-08-18 15:57:37 +02:00
individual.rb affiche Madame ou Monsieur 2020-12-08 21:30:54 +01:00
instructeur.rb refactor Dossier#with_notifications 2020-09-21 08:28:42 +00:00
invite.rb use after_create instead of after_save 2020-09-29 18:15:38 +00:00
module_api_carto.rb models: require belong_to associations on module_api_carto 2020-08-18 15:57:37 +02:00
procedure.rb fix order of types de champ on procedure 2021-01-26 10:45:34 +01:00
procedure_overview.rb removed routing condition in weekly summary 2020-01-20 14:23:19 +01:00
procedure_presentation.rb Add migration task to use stable_id in filters 2020-12-17 10:51:09 +01:00
procedure_revision.rb Include in exports types_de_champ from all revisions 2020-09-30 13:42:38 +02:00
procedure_revision_type_de_champ.rb Remove migration service 2020-09-02 11:26:26 +02:00
service.rb models: require belong_to associations on service 2020-08-18 15:57:37 +02:00
siret.rb Do one thing per line 2018-10-01 16:15:46 +02:00
stat.rb cache landing data 2020-10-06 16:12:01 +02:00
super_admin.rb extract password complexity validator 2020-12-15 16:26:09 +01:00
traitement.rb models: require belong_to associations on traitement 2020-08-18 15:57:37 +02:00
trusted_device_token.rb models: require belong_to associations on trusted_device_token 2020-08-18 15:57:37 +02:00
type_de_champ.rb add skip_content_type_pj_validation attr to pj 2021-01-18 15:12:17 +01:00
user.rb Add create expert method 2021-01-20 18:03:05 +01:00