docbrown/spec/services/articles
Jeremy Friesen 5430c2e203
Refactoring and documenting class (#15849)
* Refactoring and documenting class

I came to this commit by looking for raw `where` method calls to the
Article object.  Originally, I was looking at `where.not(user_id: :id)`
but found this service class.

In this class, I saw some significant duplication and went with a bit of
refactoring and some documentation.

This refactoring removed some unnecessary guards and calculations (as
documented inline).

* Naming a constant and adding more documentation
2022-01-03 09:30:41 -05:00
..
feeds Spelling (#15702) 2021-12-07 06:59:10 -07:00
attributes_spec.rb Articles update refactoring (#12913) 2021-03-10 13:08:36 +03:00
builder_spec.rb Use new UserSetting and UserNotificationSettings and Ignore Related User Table Fields (#14121) 2021-07-08 09:31:34 -05:00
creator_spec.rb Remove webhooks and related code (#15827) 2021-12-28 10:56:37 +07:00
destroyer_spec.rb Remove webhooks and related code (#15827) 2021-12-28 10:56:37 +07:00
enrich_image_attributes_spec.rb [Quick Fix] Fixed a couple of warnings in specs (#15288) 2021-11-07 22:07:05 +03:00
feeds_spec.rb Fixing blank home page for anonymous/visitor (#15665) 2021-12-03 08:32:02 -05:00
suggest_spec.rb Fix app/services' ruby 2.7 kwargs warnings (#13177) 2021-04-01 18:40:50 -04:00
suggest_stickies_spec.rb Refactoring and documenting class (#15849) 2022-01-03 09:30:41 -05:00
updater_spec.rb Remove webhooks and related code (#15827) 2021-12-28 10:56:37 +07:00