Remove the `optimized_project_and_group_activity_queries` feature flag
What does this MR do and why?
Remove the feature flag and fix some rubocop offenses as well.
How to set up and validate locally
Activity pages should work:
- Project -
http://localhost:3000/<project-path>/activity
- Group -
http://localhost:3000/groups/<your-group>/-/activity
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #360458 (closed)