Turbo-charged counter caches for your Rails app.
Turbo-charged counter caches for your Rails app. Huge improvements over the Rails standard counter caches:Updates counter cache when values change, not.
Terminal exit codes.
The goal of this library is to provide human friendly and standard way to use exit status codes in command line applications. Instead of saying exit(64.
🔎 Investigating your ruby code dependencies
Ruby Detective is a gem that parses your code, finds it's dependencies and outputs an interactive .html file that you can use to explore the dependency.
Gemifying Your Style Guide to DRY Your CSS
At Ombu Labs we like to follow a style guide to drive our own products. A style guide is a document that provides guidelines for the way your brand sho.
Dockerizing a Ruby on Rails Application
In this tutorial, you will learn how to dockerize a Ruby on Rails application. The application we’re going to build will make use of PostgreSQL, Redis,.
Pay No Attention: Behind the Magic of Ruby DSLs
Recently, I rolled onto a mobile project with a web back end written in Ruby on Rails. This was my first experience with both Ruby and Rails.The first .
lambdas Are Better Than procs
Many Rubyists believe that lambda and nonlambda Procs are pretty much the same and that choosing which one to use is a subjective preference. This is a.
Handling Ruby 2.7 deprecations warnings
In Ruby 3.0, positional arguments and keyword arguments will be separated. For now ruby 2.7 brings deprecations warnings that notifies us that our code.
Backward-compatible database migrations
Our deployment process performs database changes about a minute before the related code changes go live. During this time, Rails might run database que.
Deploying Rails 6 application with Dokku
Heroku, AWS, Google Cloud are great services for hosting Rails application but they are expensive. If you are developing a small app, kicking off a sta.