Rails 4 in action 3.2