Callbacks are methods that are called at specified moments of an object's life. They allow us to easily add new functionalities linked to the object's lifecycle but also can cause some troubles. In this post, we will describe some of the potential issues, that using callbacks can cause.
Safe navigation operator `&.` and `try` methods can help avoid `undefined method` exceptions when nil becomes an unexpected receiver of the call.
In this post, we will compare both of those methods, and look for the differences between them.
The conditional operator in Ruby is commonly used but is also a bit misperceived. In this post, we will search for the most accurate approximation, of what `||=` really does, and use that occasion to revisit some of Ruby's concepts.
Ruby on Rails extends the idea of instance variables and makes them 'available' between views and controllers. In this post, we will discuss potential issues this feature can cause, and propose how to overcome them.
Do the Action Filters make code easier to read?