updated the rails-dependency to 4 (this dependency is really quite a nuisance...)