rails
rails copied to clipboard
Google search links to old API docs
Steps to reproduce
- Search Google for a Rails API https://www.google.com/search?q=rails+update_all
- Follow link for "ActiveRecord::Relation - Rails API"
Expected behavior
Find documentation for the latest version of Rails. Currently 7.0.3.1
.
https://api.rubyonrails.org/classes/ActiveRecord/Relation.html
Actual behavior
Find documentation for the the very old version of 3.2.3
.
https://api.rubyonrails.org/v3.2.3/classes/ActiveRecord/Relation.html
This could probably be fixed by setting a canonical tag on all the old versions.
<link rel="canonical" href="https://api.rubyonrails.org/classes/ActiveRecord/Relation.html" />
Can I take this up? First-time contributor here :)
where to find the source for the older version