Small fix for checking against the Rails version.
Merge pull request #565 from patrickdavey/with_improved_rails_version_check

Small fix for checking against the Rails version.