Groups
Groups
Sign in
Groups
Groups
Ruby on Rails: Talk
Conversations
About
Send feedback
Help
Re: Hash Issue when looping through
14 views
Skip to first unread message
Anthony Brushwood
unread,
Sep 6, 2012, 6:59:11 AM
9/6/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonra...@googlegroups.com
This is solved! By adding flatten to the last loop...
sub_area_option_item[:items][:option_item]
.flatten
.each do |option_item|
option_item[:name] <- THIS IS WHERE MY CODE BREAKS
end
Reply all
Reply to author
Forward
0 new messages