#programming-tips
Read more stories on Hashnode
Articles with this tag
The hash literal value omission was added to Ruby version 3.1 in 2021. This is the feature proposal that describes the feature request and the one...
Different approaches for avoiding all callbacks on a Rails Active Record model · Problem You want to have a way to skip all callbacks for all models in...
Half of the errors may result from factors other than the code itself. · Discover the timeless relevance of a 1975 paper that sheds light on the causes...
Investigate Ruby's approach to passing objects in methods and assignments · Here is a simple code in Ruby: def init_options(options) options = {...
Look at your code and identify any areas where you can improve. Refactoring isn't about fixing bugs but improving your code's readability, efficiency,...
#small #methods #code #design #ruby · What is method gravity? What I call Method Gravity means for me: The bigger the method the more new lines of code...