Remove old record_tag_helper gem

This is a transitional gem to help with upgrading from old versions of
Rails: it provides a deprecated feature that Rails removed.

I audited and I *think* we only used it in one place, and that this one
place doesn't even use any of its functionality for styling or
scripting? So, begone!
This commit is contained in:
Emi Matchu 2024-09-26 12:50:47 -07:00
parent e63f4df25b
commit 64b1d11faa
2 changed files with 1 additions and 4 deletions

View file

@ -68,9 +68,6 @@ gem "thread-local", "~> 1.1", require: false
# For debugging. # For debugging.
gem 'web-console', '~> 4.2', group: :development gem 'web-console', '~> 4.2', group: :development
# TODO: Review our use of content_tag_for etc and uninstall this!
gem 'record_tag_helper', '~> 1.0', '>= 1.0.1'
# Reduces boot times through caching; required in config/boot.rb # Reduces boot times through caching; required in config/boot.rb
gem 'bootsnap', '~> 1.16', require: false gem 'bootsnap', '~> 1.16', require: false

View file

@ -1,5 +1,5 @@
- contributed = contribution.contributed - contributed = contribution.contributed
= content_tag_for :li, contribution do %li
%span.point-value= contribution.point_value %span.point-value= contribution.point_value
= t 'contributions.contribution.description_html', = t 'contributions.contribution.description_html',
:user_link => link_to(contribution.user.name, :user_link => link_to(contribution.user.name,