Add support for array of tags #4

weppos opened this Issue Aug 18, 2010 · 1 comment


None yet

2 participants


It could be fix in one line.
Since I'm not setup for Github, here is my fix

post.rb in to_params (line 70)

params[:tags] = tags.join(' ') if tags.respond_to? :join

change to

params[:tags] = (tags.respond_to? :join) ? tags.join(',') : tags

By doing this it will support:
tags = test
tags = 'test,cool,nice'
tags = ["tools","ruby","online"].map {|t|> t)}
tags => 'test')

My "test" code is here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment