Elasticsearch + Ruby: Use Query Objects to Build and Execute Queries

Writing code to construct and execute elasticsearch queries can get complex and lengthy quickly. On top of building and executing the query you usually have to format the returned results. When I was implementing search at Zaarly I wasn't super confident that the place I was putting all of this…

Email Parsing: Don't Parse text/plain

A few weeks ago I worked on a feature over at Zaarly which allowed our users to reply directly to messaging-related emails. This was made relatively straightforward by using the Griddler gem along with Sendgrid's parse API. Almost everything worked right out of the box and we even quietly deployed…