Updating for Rails4 portion of tutorial