Blogs

Export User Data As CSV and Send An Email with Ruby on Rails
Sometimes we need to export user data we have in our app to comply with GDPR. So here I will explain how to export user data as a CSV file and attach it to an email or just upload it to ActiveStorage and S3.In this example code, I have an app wher...



Building a modal form with Turbo Stream GET requests and custom stream actions · Colby.so
Turbo 7.2 brought major changes to what you can accomplish with Turbo Streams. To demonstrate those changes, today we are going to build a Turbo Stream-powered modal form without a single Turbo Frame. We will also create our own custom Turbo Strea...



How we upgraded from Rails 6 to Rails 7 - BigBinary Blog
How we upgraded from Rails 6 to Rails 7This was the biggest challenge we faced during the upgrade. For encrypting columns, we had used the attr_encrypted gem. However Rails 7 came with Active Record Encryption. So we needed to decrypt the records ...

Ruby on Rails — Best Practices Every Developer Should Know
This article explains the best practices that one should follow while developing applications using Ruby on Rails with real-world examples!These are the goals we would achieve by following this article and hopefully in the end attain the highest l...


RBS generation framework using Rack architecture - RubyKaigi 2022
For a happy programming experience, type support is a very effective approach. However, type information is still far from sufficient.RBS definition is labor intensive. I have worked on RBS definitions for several libraries and applications. From ...