Rails edge case solved with middleware
Rails edge case solved with middleware
Recently I was working with a friend, @sidho on an interesting problem. Sid built this awesome app for tracking beers. It’s a Rails app that pulls some stuff from a brewery API. He setup a webhook and was receiving updates from the API. Problem was: the data posted to the webhook included the key “action”which was used to denote what type of change was happening. By default, when a request is…
View On WordPress

















