Koren Leslie Cohen

  • About
  • Blog
  • Contact

11 comments

Ruby / Rails

Nested Arrays, Hashes & Loops in Ruby

June 9, 2014 by Koren Leslie Cohen

devise redirects

Arrays and hashes are common data types used to store information.  The main difference between an array and a hash is the manner in which data is stored.  Arrays, represented by square brackets, contain elements which are indexed beginning at 0.  So if an array contained three elements, the indexes for those elements would be… Read More

  • GitHub
  • Instagram
  • LinkedIn
  • RSS
  • Twitter

Looking for something?

Copyright 2025 Koren Leslie Cohen