News




What level of test coverage should I shoot for? - Code with Jason
“What level of test coverage should I shoot for?” is one of the questions most commonly asked by beginners to Rails testing.My answer is that you shouldn’t shoot for a particular level of test coverage. I recommend that instead you make testing a ...



Rails 7 allows setting timestamps on insert_all/upsert_all record creation | Saeloun Blog
ActiveRecord is one of the most useful utilities in the Rails toolkit. It allows us to perform complex database queries while abstracting the adapter, essentially making a database “pluggable”.However, some edge cases stand out like a sore thumb. ...

Single attribute in-place editing with Rails and Turbo
Turbo can largely simplify our front-end needs to achieve a single-page application feel. If you have ever wondered how to do a single attribute in-place update with Turbo, this post is for you.I’ll assume you have Turbo (with turbo-rails gem) ins...
