Blog
Ruby, Rails, and software craftsmanship.
Jun 19, 2023
Ruby ‘Dig’ Hashes
A thorough examination of Ruby’s ‘dig’ method. Today, I want to talk a bit about a little-known method in Ruby language that works on both Arrays and Hashes...
ruby
ruby-on-rails
software-engineering
advanced-programming
programming
Ruby ‘Dig’ Hashes — open article
Jun 07, 2023
How to read Rails credentials from anywhere without loading Rails
How to read Rails credentials from anywhere without Rails Advanced usage of Rails Credentials to read it from anywhere Why ? Why would you want to access Rai...
security
ruby-on-rails
ruby
credentials
How to read Rails credentials from anywhere without loading Rails — open article
May 28, 2023
Dynamically Build Where Clauses in Ruby on Rails
How to build conditional Where queries of ActiveRecord and Mongoid. In Ruby on Rails, the default choice for object-relational mapping (ORM) is ActiveRecord,...
database
ruby-on-rails
sql
activerecord
mongoid
Dynamically Build Where Clauses in Ruby on Rails — open article