Completed Railscast 325 in Rails4