demarches-normaliennes/app/models
Nicolas Bouilleaud 4f0871dab0 Use a single query in dossiers_id_with_notifications (instead of four)
This is used in /procedures#show and /procedures#index, to display badges on the “suivis” and “traités” tabs of each procedure. Rails cache helps when it’s the exact same query, but it’s not the case for different tabs.

I’m not certain it’ll be a visible performance improvement but it shouldn’t hurt.
2019-09-20 09:45:59 +02:00
..
champs Serialize champ repetition for tags 2019-09-12 17:23:18 +02:00
concerns Move the cached procedure stats queries to a ProcedureStatsConcern 2019-09-17 16:43:48 +02:00
mails mailers: improve wording of transactional emails and default templates 2019-07-25 12:25:50 +02:00
types_de_champ Serialize champ repetition for tags 2019-09-12 17:23:18 +02:00
.keep First Commit 2015-08-10 11:05:06 +02:00
administrateur.rb Prepare to drop columns 2019-09-17 12:37:37 +02:00
administrateurs_procedure.rb [Ref #1626] Add the administrateurs_procedures table and associations 2018-03-23 11:40:03 +01:00
administration.rb Add User.create_or_promote_to_administrateur 2019-08-20 12:20:12 +02:00
application_record.rb Bootstrap Action Cable and Unicorn 2016-12-22 21:49:31 +01:00
assign_to.rb Link assign_to and procedure by groupe_instructeur 2019-09-03 06:47:02 +02:00
attestation.rb Remove duplicated attachments 2019-09-17 18:12:53 +02:00
attestation_template.rb Remove duplicated attachments 2019-09-17 18:12:53 +02:00
avis.rb Rename gestionnaire in code to instructeur 2019-08-12 13:47:01 +02:00
bill_signature.rb Add BillSignature Model 2019-06-17 16:16:28 +02:00
champ.rb Serialize champ repetition for tags 2019-09-12 17:23:18 +02:00
commentaire.rb Prepare to drop columns 2019-09-17 12:37:37 +02:00
current.rb Rename gestionnaire in code to instructeur 2019-08-12 13:47:01 +02:00
deleted_dossier.rb Enforce Timezone rule in Rubocop 2019-02-18 16:19:42 +01:00
demande.rb [fix #1601] show pipedrive demandes in manager 2018-03-22 15:37:16 +01:00
dossier.rb Eager load procedure: :groupe_instructeurs for export 2019-09-19 12:30:12 +02:00
dossier_operation_log.rb Migrate to flipper 2019-09-10 16:10:14 +02:00
drop_down_list.rb Add Style/CollectionMethods to rubocop 2019-09-12 14:48:18 +02:00
entreprise.rb Remove entreprise and rna_information models 2018-05-24 17:54:51 +02:00
etablissement.rb Add default etablissement champ name 2019-07-30 17:17:36 +02:00
exercice.rb Remove unused alias 2018-05-24 17:54:51 +02:00
feedback.rb Add AR validation for Feedback rating 2018-08-28 10:36:36 +02:00
follow.rb Rename gestionnaire in code to instructeur 2019-08-12 13:47:01 +02:00
france_connect_information.rb Remove the mandataire_social guess 2018-03-20 16:09:00 +01:00
france_connect_particulier_client.rb FC initializers: remove Hashie 2018-01-15 17:08:38 +01:00
geo_area.rb Save selection utilisateur as geo area 2019-08-01 11:38:09 +02:00
groupe_instructeur.rb groupe_instructeur: unsassign instructeurs on group destroy 2019-09-09 17:29:29 +02:00
individual.rb introduce constants for M./Mme 2019-08-01 17:42:32 +02:00
instructeur.rb Use a single query in dossiers_id_with_notifications (instead of four) 2019-09-20 09:45:59 +02:00
invite.rb [Fix #1619] Do not consider invitations to deleted dossiers 2018-03-15 11:32:21 +01:00
module_api_carto.rb Remove unused carto models 2018-11-27 16:11:25 +01:00
procedure.rb Procedure.routee? 2019-09-19 12:30:12 +02:00
procedure_overview.rb DateTime.now => Time.zone.now 2018-10-26 10:10:20 +00:00
procedure_presentation.rb ProcedurePresentation: can use groupe instructeur 2019-09-18 15:51:02 +02:00
service.rb Prepare to drop columns 2019-09-17 12:37:37 +02:00
siret.rb Do one thing per line 2018-10-01 16:15:46 +02:00
trusted_device_token.rb Rename gestionnaire in code to instructeur 2019-08-12 13:47:01 +02:00
type_de_champ.rb Enable the Rails/InverseOf cop and add missing inverse_of 2019-06-17 13:44:07 +02:00
user.rb Migrate to flipper 2019-09-10 16:10:14 +02:00