Guest User

Hash Creation

a guest
Jul 17th, 2013
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.23 KB | None | 0 0
  1. @mixtape_tags = []
  2. @mixtape_tag_xrefs.each do |mixtape_tag_xref|
  3.       mixtape_tag_value = MixtapeTag.where(:id => mixtape_tag_xref.mixtape_tag)
  4.       @mixtape_tags = @mixtape_tags + [mixtape_tag_xref.id => mixtape_tag_value]
  5. end
Advertisement
Add Comment
Please, Sign In to add comment