Tutorials


How To Set Up User Authentication with Devise in a Rails 7 Application | DigitalOcean
The Devise gem is an authentication solution for Ruby on Rails applications; it helps you set up production-ready user authentication in your projects without having to do everything on your own. Devise provides many useful features such as handli...


Adding Sidekiq Job Context to ActiveRecord Query Log Tags
Anyone that has worked with Rails for any significant amount of time probably knows that Rails performance tends to be tightly coupled to database query performance. For this reason, it’s extremely valuable to make friends with your local slow que...
![[JA]error_highlight: user-friendly error diagnostics / Yusuke Endoh @mametter - YouTube](/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MTE0ODYsInB1ciI6ImJsb2JfaWQifX0=--948588555f16fecf172fba0559904d32d9c24d7a/open-uri20221114-676-nsvwfm.avif)
![[EN]Ruby programming with types in action / Soutaro Matsumoto @soutaro - YouTube](/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MTEzNTEsInB1ciI6ImJsb2JfaWQifX0=--981fa60fe63a1d6ec3870e697ea88c6ca3ca35e8/open-uri20221114-676-odn5cq.avif)

How to reduce memory usage in Ruby – AbstractBrain Answers
The problem is related to Ruby threads and how memory allocation works at low-level. In many cases it’s not a memory leak, but just a memory bloat.Here’s two effective solution that we have used in production to reduce the memory usage:Reduce the ...

Using Watir to automate web browsers with Ruby | ScrapingBee
For years, it’s been possible to automate simple tasks on a computer when those tasks have been executed using the command line. This is known as scripting. A bigger challenge, however, is to control the browser since a GUI introduces a lot more v...
![[JA][Keynote]Ruby meets WebAssembly / Yuta Saito @kateinoigakukun - YouTube](/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MTEwNjUsInB1ciI6ImJsb2JfaWQifX0=--a1884c033784298e9c5fe47c3ee27f009ed09d8d/open-uri20221106-4810-6t8fnp.avif)