Remove case statement as it is redundant in the else
Extracting un-dry sql to scope for reuse
Merge pull request #482 from ready4god2513/chores/dryup-code

Chores/dryup code
Merge remote-tracking branch 'origin/master' into event_update_should_not_touch_last_event_at

Conflicts:
	app/models/event.rb