Bump to Rails 4.0.1

I had to change one test to make it pass on Rails 4.0.1 But i think its correct change