calagator/calagator — pull request #108 by botandrose (2014-07-07 08:09:10+00:00)
Title: Extract Event::Search from EventsController#search

Classic extract-object refactoring here. Lots of yummy benefits:
* EventsController is now only concerned about controller stuff: flash, redirects, etc.
* EventsController only deals with one object as its context, instead of many. Same with the View.
* New Event::Search can be unit tested without involving a controller and the rest of the Rails stack.
* Event::Search object is now a natural home to move some event-searching responsibilities off of Event in the future.