upgrade rails & fix rspec