Tutorials

Our Rails Upgrade Process: How to Bundle Update Rails
We know that there are many challenges involved in a Rails upgrade project. Depending on how big your application is, how old your Rails version is and how well structured your code is, it can be difficult to perform that job and keep your sanity....

How to build a conference line with Twilio and Ruby - Twilio
When you need to get a bunch of remote people to talk together, a conference call is the simplest way to do so. Everyone dials a number and in seconds they are talking to each other. In this post we'll build a conference line that anyone can join ...

Optimizing Ruby Lazy Initialization in TruffleRuby with Deoptimization
Shopify's involvement with TruffleRuby began half a year ago, with the goal of furthering the success of the project and Ruby community. TruffleRuby is an alternative implementation of the Ruby language (where the reference implementation is CRuby...


Add Bootstrap 4 to your Ruby on Rails 6 application
Run the following command from your application directory (if you don't have yarn, install it):yarn add [email protected] jquery popper.jsYou can check that the libraries have been installed properly by checking the package.json file (listed under t...

Ola Bini: Programming Language Synchronicity: Ruby Metaprogramming techniques
Ruby allows you to create and modify classes and modules dynamically. You can do almost anything you would like on any class or module that isn't frozen. This is very useful in certain places. The Struct class is probably the best example, where.


