Changed the rails dependency to work with newer versions of Rails

So that I can use it with Happy Wife (and other future projects)