Update Rails4

Rails 3.2 -> Rails 4.0