Rails4 new

* Change all `find_all_by_...` to `where(...)`, `find_or_create_by_` to `find_or_create_by`, `find_last_by_` to `where(...).last`

* Remove code that is commented out

* Update TODO