Permalink
Browse files

Fix array.to_s issues in ruby 1.9

  • Loading branch information...
1 parent a208e55 commit e2958eba42f122c153cdf72ea1bb071b33f79c00 @jomz committed Jan 28, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 app/models/radius_tags.rb
@@ -41,7 +41,7 @@ class TagError < StandardError; end
tag.locals.page = page
output << tag.expand
end
- output
+ output.flatten.join('')
end
desc %{
@@ -64,7 +64,7 @@ class TagError < StandardError; end
output << tag.expand
first = false
end
- output
+ output.flatten.join('')
end
tag "if_has_related_by_tags" do |tag|
@@ -275,7 +275,7 @@ class TagError < StandardError; end
result << tag.expand
end
end
- result
+ result.flatten.join('')
end
private

0 comments on commit e2958eb

Please sign in to comment.