Pre-commit checks: remove migrations check.
Issue #73 Change relation between Idea/UserNotification and User from many to many to has many through
Pre-commit: fix bug with calling `which`

Apparently output redirection messes with the exit status.
Merge pull request #124 from DevYah/C1_mnzaki_commit_hooks

Fix checks.
Merge branch 'master' into C1_AminaZoheir_#73_Notifications_migrations

Conflicts:
	Idearator/app/models/user.rb
Merge branch 'master' into C1_AminaZoheir_#73_Notifications_migrations
Merge pull request #123 from DevYah/C1_AminaZoheir_#73_Notifications_migrations

Issue #73 Change relation
Issue #80, add vote_count table to track daily changes in votes.

This table is needed to create the Threshold method. "prev_day_votes" variable will store the
number of votes the idea got the day before, and "curr_day_votes" will store the votes that
the idea will get in the new day. Each time the Threshold method is called, the "curr_day_votes"
column values will be set to 0, and the previous values will overwrite the column "prev_day_votes".