Update Rails to 3.1.11
Update to Rails 4 and reset project