lalanikki/habit-app — pull request #18 by rugbycub (2014-02-25 07:25:53+00:00)
Title: added new habit form and updated logic in habit controller

Changed the logic in the habits controller. Will need to put the JSON back in when we add AJAX, but for now creates a new habit. Added the find current user to associate the user with the habit.

Added better errors gem to gemfile to help with debugging

Changed routes for habits to resources (Was having issues, can change this later)