update docstring to ref a more recent version of Rails
use new deprecation API
Merge pull request #752 from rspec/new-deprecation-api

New deprecation api