upgraded rails gem to 3.1.11