docbrown/lib
Jeremy Friesen 0484c550c5
Create/update by NavigationLink identity (#16312)
Prior to this commit, we were treating all NavigationLink attributes as
unique.  So, were we to change a position of one of the NavigationLinks
during the add_navigation_links rake task, we would have created a new
NavigationLink (and the only one would have remained).

With this commit, we're introducing the concept of the NavigationLink's
surrogate identity, that is to say if we have two NavigationLink objects
with the same `url` and `name` we should consider them the same
NavigationLink.  This allows us to update properties of those
NavigationLinks (via the rake task) without the risk of creating new
entries.

This unblocks PR #16268 which addresses #16076.
2022-01-27 13:51:41 -05:00
..
cypress-rails Monkey-patch instead of forking cypress-rails gem (#15797) 2021-12-16 11:36:45 -05:00
data_update_scripts Stripping tags from "tags.short_summary" column (#16248) 2022-01-21 09:38:26 -05:00
generators Spelling (#15702) 2021-12-07 06:59:10 -07:00
liquid Remove redundant freeze calls (#14596) 2021-08-26 10:01:08 -04:00
omni_auth/strategies Forem passport (cont) (#14759) 2021-09-30 06:47:45 -06:00
sidekiq Abstract DatadogStatsClient to ForemStatsClient (#12304) 2021-01-27 11:25:44 -05:00
sitemap_generator [deploy] Bug Fix:Monkey Patch Sitemap Generator is lib not config (#10113) 2020-08-31 16:12:11 -05:00
slack/notifier/util Fix link_formatter.rb's lints (#13301) 2021-04-07 14:28:58 -04:00
tasks Create/update by NavigationLink identity (#16312) 2022-01-27 13:51:41 -05:00