Closed carols10cents closed 11 years ago
I'll see if I can knock this out quickly... crap, maybe not so quick, issues building eventmachine may stop me from testing this unless I fix quickly
Oh, I tested this locally, but I didn't write a new acceptance test for it, didn't think of it.. if that's a big deal before merge lmk and I'll try and knock one out and add it in.
:heart: :heart: :heart: thank you @bglusman!!!
Since we started using tire/ElasticSearch, doing an empty search to get all updates stopped working.
The behavior is deceiving because if you go to https://rstat.us/search it says "no statuses match your search", but if you submit the search form you get sent to https://rstat.us/search?search= which currently throws an error.
I'm seeing logs of the google bot going directly to URLs like https://rstat.us/search?page=742&per_page=20&search= which is now throwing an error.
We should probably just fall back to paginating through all Updates and not even bothering tire at all if params[:search] is blank.