slitz-acts-as-taggable-on 1.0.2.2 → 1.0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/acts_as_taggable_on/tag_list.rb +1 -1
- metadata +1 -1
@@ -75,7 +75,7 @@ class TagList < Array
|
|
75
75
|
def from(tags)
|
76
76
|
return new(tags) if tags.is_a? Array
|
77
77
|
returning new do |tag_list|
|
78
|
-
string =
|
78
|
+
string = tags.to_s.dup
|
79
79
|
|
80
80
|
# Parse the quoted tags
|
81
81
|
string.gsub!(/"(.*?)"\s*#{delimiter}?\s*/) { tag_list << $1; "" }
|