FirmansahEnsuring Boolean Values in Ruby: The Power of Double Negation (!!)Using !! in Ruby is a powerful technique to ensure your values are explicitly converted to booleans, making your code more clean.Jul 26Jul 26
FirmansahStatic vs Class Methods in RubyIn Ruby, we can create both static methods and class methods, but what is the difference between them?Mar 24, 20231Mar 24, 20231
FirmansahStatic Methods in Ruby with Self KeywordRuby is a popular dynamic, object-oriented programming language that is widely used for web development. While working with Ruby, creating…Mar 19, 2023Mar 19, 2023
FirmansahDebugging Rails Applications with Byebug and binding.pryDebugging is an essential part of developing any application, and Ruby on Rails is no exception.Mar 17, 2023Mar 17, 2023