Just found out that these two pieces of code give the same result in Rails. Does anybody know how Rails makes the .each optional in an iteration? Doesn't seem to work in pure ruby/rails console, seems purely ERB related
#rails #ruby #learningrails #erb