jshawl/ritly — pull request #1 by Cspeisman (2014-06-19 23:43:53+00:00)
Title: minor refactors

- took @path assignment out of view and added to preview action
- replaced find_by( hashed: params[:code] ) with find_by_hashed
- find_by_field is common rails method
- removed weird initialize method from model