20 Sep
22
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.
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.
30 Aug
22
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.
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.
11 Aug
22
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.
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.
25 Jul
22
Do the Action Filters make code easier to read?
Do the Action Filters make code easier to read?