No need to require to_param, it is already required in to_query.rb
Merge pull request #15644 from akshay-vishnoi/activesupport

No need to require to_param, it is already required in object/to_query.rb