From 8a217817a125954fc06bb630ec1c0ae28ee21979 Mon Sep 17 00:00:00 2001 From: Leigh Caplan Date: Thu, 14 Oct 2010 22:44:51 -0700 Subject: [PATCH] returning has been removed from ActiveSupport in 3.0.1. Using #tap instead. --- lib/lighthouse/ticket.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lighthouse/ticket.rb b/lib/lighthouse/ticket.rb index 066bc40..b98ba54 100644 --- a/lib/lighthouse/ticket.rb +++ b/lib/lighthouse/ticket.rb @@ -81,7 +81,7 @@ def parse_with_spaces(list) end def cleanup_tags(tags) - returning tags do |tag| + tags.tap do |tag| tag.collect! do |t| unless tag.blank? t = Tag.new(t,prefix_options[:project_id])