#dig method was added in Ruby 2.3 to
It makes digging the Array and Hash easy while making the code readable.
Often, we rename a column and deploy to find out the Honeybadger screaming at us with the errors accessing column with the old name!
When I found out how the
params could be accessed using both
string as keys,
I dived deep to figure out about
ActiveSupport::HashWithIndifferentAccess class in Rails.
module is used when implementing class objects needs to be ordered or compared.
Enumerable module adds magical methods
to classes like
In this post, we will learn to implement enumeration with an example.
OpenStruct is a data structure,
we can define
attributes with values
(key value pairs).
In this post, we will create, test, build and publish the gem to RubyGems! (without breaking a sweat).