extract minimum rails version out to a method and use that in deprecation warning
Merge pull request #1112 from justinfrench/fix-rails-deprecation-version

Fix incorrect Rails version in deprecation notice