from Rails 4 in Action