[ap4r-devel] [303] branches/200709_gihyo/async_shop/as_rails/vendor/plugins/ap4r/lib/async_helper.rb: Fix: in rm_options, :queue and :queue_name are mixed in error.
shino at rubyforge.org
shino at rubyforge.org
Wed Sep 19 01:40:15 EDT 2007
Revision: 303
Author: shino
Date: 2007-09-19 01:40:14 -0400 (Wed, 19 Sep 2007)
Log Message:
-----------
Fix: in rm_options, :queue and :queue_name are mixed in error.
Modified Paths:
--------------
branches/200709_gihyo/async_shop/as_rails/vendor/plugins/ap4r/lib/async_helper.rb
Modified: branches/200709_gihyo/async_shop/as_rails/vendor/plugins/ap4r/lib/async_helper.rb
===================================================================
--- branches/200709_gihyo/async_shop/as_rails/vendor/plugins/ap4r/lib/async_helper.rb 2007-09-19 05:37:24 UTC (rev 302)
+++ branches/200709_gihyo/async_shop/as_rails/vendor/plugins/ap4r/lib/async_helper.rb 2007-09-19 05:40:14 UTC (rev 303)
@@ -139,10 +139,10 @@
rm_options[:queue] ||=
@@default_queue_prefix.clone.concat(options[:url][:controller].to_s).concat('.').concat(options[:url][:action].to_s)
else
- rm_options[:queue_name] ||=
+ rm_options[:queue] ||=
@@default_queue_prefix.clone.chomp(".").concat(URI::parse(options[:url]).path.gsub("/", "."))
end
- rm_options[:queue_name]
+ rm_options[:queue]
end
end
More information about the ap4r-devel
mailing list