Tutorials

Rack-App: A Performant and Pragmatic Web Microframework
It is a fantastic time to be a web developer and to use Ruby. Ruby on Rails paved the way for modern Web Development, but in doing so highlighted certain shortcomings. Its “kitchen-sink” approach can sometimes be overkill, particularly for small p...


Replacing the Rails Asset Pipeline with Webpack and Yarn
Ruby on Rails has a pretty sweet ecosystem. We have libraries for everything from printing a table flipping emojicon on an exception to natural language processing. Just add the desired libraries to your Gemfile, type bundle, and you’re on your wa...



Profile picture (or any file) uploading with Grape + Trailblazer + CarrierWare
Assume that you have a Grape API (in fact it can be a Rails API or anything else, not the point) with something like Angular.JS for the frontend. As a modern Ruby developer you already using (or want to) Trailblazer for business logic encapsulatio...




7 Design Patterns to Refactor MVC Components in Rails
In our previous post, The Basics of MVC in Rails, we discussed theoretical aspects of the MVC design pattern. We defined what MVC stands for, identified what each MVC component is responsible for, addressed what happens when a component contains r...