paninapress/WDI_Final_Project — pull request #33 by paninapress (2014-09-29 07:37:16+00:00)
Title: Backend work

Sorry for the huge pull request. This was a major haul to transfer the calculations to be done on the rails end. Also I set up some changes to the display using tabs. The Groups tab is made for Desktop view as a quick overall view of your contacts plus you can still make a name query while viewing any of these tabs.
Overview:
-if signed in, automatically takes you to dashboard
-New tabs display
-Health is updated when logging in with Def decide_to_update
-Groups added in schema display that user's groups and respective averages
-Changed colors: Green = good, Yellow = needs attention, Blue=Losing touch, Grey=Lost touch long time
I expect to change these these again soon though
-recent_log allows us to update health and provide more info of when a contact was last contacted

Noticed a slight hang up when logging in with LinkedIn and had to refresh the auth page. Let me know if you have that issue. Also due to the major changes you'll want to rake db:drop

Let me know what you think and if there are any errors I need to fix!
Thank,
Nina