The message is referring to friendly_id 3.x, not rails 3.x. If you had been using those older versions of friendly_id then you would have needed to make changes when upgrading to friendly_id 4.x
If you upgrade to rails 4 then you will need friendly_id 5.0.x