change dependency for railties to "> 3.1"