-
Upload Different File Types With Active Storage In Ruby On Rails 7 - YouTube
This video covers uploading images, videos, audio recordings, and other file types like documents to your Ruby on Rails 7 application using Active Stor.
-
Active Record Tricks | Drifting Ruby
In this episode, we look at tips and tricks from read only attributes, inserting and upserting (update or insert) records, toggling booleans, and singl.
-
Ubuntu 22.04 support for Fullstaq Ruby is here – Joyful Bikeshedding
Ubuntu 22.04 was released a couple of days ago. Fullstaq Ruby now provides packages for this distribution! Here's the corresponding pull request: ...
-
Simple way how to use Bootstrap 5 in Rails 7 - importmaps
Rails 7 is a breath of fresh air. Thanks to importmaps everything is simple again. JavaScript (JS) is easy to be implemented without the need to instal.
-
Ruby Rogues: Propshaft with David Heinemeier Hansson (DHH) - RUBY 542
David Heinemeier Hansson (DHH) creator of Ruby on Rails joins the Rogues to discuss the successor to the asset pipeline and webpacker that's coming in .
-
The four phases of a test - Code with Jason
When writing tests, or reading other people’s tests, it can be helpful to understand that tests are often structured in four distinct phases.These phas.
-
Tips for Using FactoryBot Without an ORM
FactoryBot is one of my favourite testing tools — I was a fan prior to joining thoughtbot. It’s one of those tools I miss immediately when working outs.
-
How to preload counts in a list with ActiveRecord
Imagine that you need to put the number of likes for each post in a list, but avoiding n 1 queries.posts.each do |post| post.likes.count ...
-
How to avoid sleep in Rails system tests
Writing system tests can be sometimes tricky because we want to assert a reality that’s not yet rendered. Ad-hoc sleeping is something that can mostly .
-
How I Enabled Sequel to Reuse Active Record's Database Connection | Janko's Blog
When I started developing the Rails integration for Rodauth, one of the first problems I needed to solve was how to make Rodauth work seamlessly with A.