Rebuilt with Rails 4