IIRC, you can iterate only one level in depth, so you might have a
structure like:
items.categories.each do |category|
category.users.each do |user|
# do something here
end
end
IIRC, you can iterate only one level in depth, so you might have a
structure like:
items.categories.each do |category|
category.users.each do |user|
# do something here
end
end