Apply the new ::Rails.version approach everywhere it's used

This takes the rspec/rspec-rails#723 approach and applies it everywhere we are checking ::Rails.version.