In one of the projects I work, there was a requirement to schedule only one job for a record at a time. If someone wants to schedule another one for the same record, the system should clear the old schedule for it and schedule the new one.
After working on a project for a while, we normally end up having too many branches locally.
OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=error: certificate verify failed (self signed certificate in certificate chain))
Struct is a collection of attributes with accessor methods,
without having to write the class explicitly.
#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.