#ruby-on-rails
Read more stories on Hashnode
Articles with this tag
Today, we will learn about boolean and nil values in Ruby on Rails. Lets start with what these are. What is a boolean? A boolean value is used to...
What is Delegate Delegate by the document, which refers to a class method used to easily expose contained objects' public methods as your own. Simply,...
Use ‘each’ instead of ‘for’ for elem in [1, 2, 3, 4, 5] puts elem end [1, 2, 3, 4, 5].each { |elem| puts elem } Use ‘Case/when’ conditions instead...
Ruby and Ruby on rails are two different things. Most people often get confused on ruby and ruby on rails. Ruby is the programming language whereas...