When running each loops, I always assign the each variable as x, y, or z.
each
products.each do |x| x.orders.each do |y| y.destroy! end end
Also, a lot of things are called asdf or some variation of that.
asdf
I’m running on the “i”, “j” religion. But I can totally understand that
Gotta respect that unit vector
i, j, k FTW!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
When running each loops, I always assign the
each
variable as x, y, or z.Also, a lot of things are called
asdf
or some variation of that.I’m running on the “i”, “j” religion. But I can totally understand that
Gotta respect that unit vector
i, j, k FTW!