Tutorials






How to write an Intercom Messenger App with Ruby on Rails
Intercom is at the heart of all our sales and customer support communications. We were happy users of it's Early Stage program and we are still happy to use it after we became large enough to pay the full price.One of the things we really like abo...

Testing railway-oriented business transactions with Rspec
Railway-oriented business transactions are a great way to unclutter your Rails controllers. We've already seen how to write 'em. Now let's see how we can test 'em. I'll be using dry-transaction as a business transaction DSL and RSpec for testing. ...

How to set "Cache-Control" headers for Rails Webpacker
This is because Rails ships with fairly vanilla headers for it's assets, as quite often services like Nginx will override headers provided by the app. However services like Heroku will totally honour the custom header you add in your Ruby on Rails...

Service-ception: how and why we’ve built a service inside a service
Here at Yotpo, we run a very high scale (tens of millions of requests per day) web system. We ship our product to eCommerce web sites, each with its own scale of shoppers, all of which we serve.One of the products we offer our customers is User Ge...