Remove rails4-autocomplete and jquery-ui-rails#2467
Merged
olleolleolle merged 4 commits intocodebar:masterfrom Feb 9, 2026
Merged
Remove rails4-autocomplete and jquery-ui-rails#2467olleolleolle merged 4 commits intocodebar:masterfrom
olleolleolle merged 4 commits intocodebar:masterfrom
Conversation
Documents the complete history and current state of the rails4-autocomplete gem, which has been non-functional since April 2022. Key findings: - Autocomplete was added in September 2015 and worked correctly - Accidentally broken during Bootstrap 5 migration in April 2022 (PR codebar#1745) - All infrastructure (gem, routes, controller code) remains but is unused - Broken for nearly 3 years with no user complaints - Gem last updated April 2014 (12 years ago, unmaintained) Recommendation: Complete removal of the feature and all related code. Related: codebar#2445
Removes rails4-autocomplete (12+ years unmaintained) and jquery-ui-rails dependencies that have been non-functional since April 2022. The autocomplete feature for the skill_list field was accidentally broken during Bootstrap 5 migration (PR codebar#1745) and has remained broken for nearly 3 years without user complaints. Analysis confirmed: - Feature broken since April 2022 (Bootstrap 5 migration) - Zero usage of jQuery UI widgets across entire codebase - Both gems added together in 2015 exclusively for autocomplete - No test coverage for autocomplete functionality - skill_list field continues working with manual comma-separated entry Removes: - rails4-autocomplete gem (last updated April 2014) - jquery-ui-rails gem (single-purpose dependency) - Controller autocomplete declaration - Autocomplete route endpoint - JavaScript and CSS requires Bundle size savings: ~120KB Closes codebar#2445 Documentation: docs/rails4-autocomplete-investigation.md
Until we have a removal with no issues, we keep this dependency explicit, with a clear sign-post about when we can remove it.
olleolleolle
approved these changes
Feb 9, 2026
Collaborator
olleolleolle
left a comment
There was a problem hiding this comment.
This simplifies the frontend story, and avoids having dead code.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This has been branched from #2464. Please review that one first
Summary
Removes
rails4-autocompleteandjquery-ui-railsgems. Both have been non-functional since April 2022.Closes #2445
Background
The autocomplete feature was added in September 2015 to suggest existing skills when coaches edited their profiles. During the Bootstrap 5 migration in April 2022 (PR #1745), the form was rewritten and lost the autocomplete parameters. The feature has been broken for nearly 3 years without user complaints.
Why These Removals Are Safe
rails4-autocomplete
jquery-ui-rails
Verification
Comprehensive codebase analysis confirms zero usage:
.datepicker(),.autocomplete(),.sortable(), etc.)ui-widget,ui-state-*, etc.)See
docs/rails4-autocomplete-investigation.mdfor full analysis.Changes
Removed:
rails4-autocompletegem from Gemfilejquery-ui-railsgem from Gemfileapp/controllers/members_controller.rb:8)config/routes.rb:29)//= require autocomplete-rails,//= require jquery-ui)*= require jquery-ui)Preserved:
acts-as-taggable-ongem (still used for tagging)Bundle size: Saves ~120KB in production assets
Testing
The skill_list field continues to work as a plain text input accepting comma-separated values. No functionality is lost because the autocomplete feature has been broken since 2022.
Documentation
Full investigation and analysis documented in:
docs/rails4-autocomplete-investigation.mdThis includes: