update rails version for earlier releases in edgeguides
Merge pull request #17504 from Gaurav2728/gaurav-update_edgeguide

update rails version for earlier releases in edgeguides [ci skip]