Tutorials

Phlex for Rails Emails: Action Mailer without ERB - Camillo Visini
Writing Ruby all day is fun, but writing Ruby in HTML is not. In the past months, I found switching from Ruby to ERB views and partials to be interrupting my flow and therefore increasingly annoying. Enter Phlex, which is a Ruby library that allow...






Instrumenting Thread Stalling in Ruby Applications | byroot’s blog
In the above example, the instrumentation tells you how long it took for the database to answer your query, but may also include the time needed for the Ruby thread to re-acquire the GVL, or perhaps the Ruby GC to run, or even the operating system...


Implementing a Game Boy emulator in Ruby | sacckey.dev
Introduction I created a Game Boy emulator in Ruby and released it as a gem called rubyboy! (I’d be happy if you could give it a star!)
And now it runs in the browser using WebAssembly!
Try the demo in your browser!
Screenshots Rubyでゲームボーイのエミュレータを...