I''ve got an app that allows users to assign multiple comma-delimited
tags to a new article.
Tags have and belong to many articles, and vice-versa.
On the controller, I''m trying to parse the tags like so:
@mytags = params[:tags].split('','')
@mytags.each {|a| @article.tags<<Tag.new(a) }
I''m getting this: "undefined method `stringify_keys!'' for
"hi":String".
Help?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---