Skip to content

Instantly share code, notes, and snippets.

$ gem generate_index --backtrace
Loading 26 gems from .
..........................
Loaded all gems
ERROR: While executing gem ... (ArgumentError)
unnumbered mixed with numbered
kernel/common/sprintf.rb:373:in `get_arg'
kernel/common/sprintf.rb:141:in `format'
kernel/common/sprintf.rb:121:in `parse'
kernel/common/string.rb:52:in `%'
Loaded suite DepotTest
Started
........F.......FFEEFEEEEEEEF.F..............
Finished in 2.486737 seconds.
1) Failure:
test_14.3_Functional_Testing_of_Controllers(DepotTest)
[/Users/carlhuda/Developer/Source/awdwr/work/vendor/rails/actionpack/lib/action_dispatch/testing/assertions/selector.rb:303:in `assert_select'
/Users/carlhuda/Developer/Source/awdwr/checkdepot.rb:201
/Users/carlhuda/.gem/gems/gorp-0.23.0/lib/gorp/test.rb:53:in `instance_eval'
test_basic_named_route(LegacyRouteSetTests):
NoMethodError: super: no superclass method `any?' for #<#<Class:0x00000100ab2650>:0x00000100aaff18>
test/controller/routing_test.rb:59:in `url_for'
/Users/carlhuda/Developer/Source/rails/actionpack/lib/action_dispatch/routing/route_set.rb:204:in `home_url'
test/controller/routing_test.rb:185:in `test_basic_named_route'
/Users/carlhuda/.bundle/ruby/1.9/gems/mocha-0.9.8/lib/mocha/integration/mini_test/version_131_and_above.rb:26:in `run'
class MockController
def url_for(options)
super(options)
end
end
module ActualUrlFor
def url_for(options)
options.values.join("/")
end
diff --git a/actionpack/lib/action_view/helpers.rb b/actionpack/lib/action_view/helpers.rb
index b4f6493..e359b0b 100644
--- a/actionpack/lib/action_view/helpers.rb
+++ b/actionpack/lib/action_view/helpers.rb
@@ -10,6 +10,7 @@ module ActionView #:nodoc:
autoload :CsrfHelper, 'action_view/helpers/csrf_helper'
autoload :DateHelper, 'action_view/helpers/date_helper'
autoload :DebugHelper, 'action_view/helpers/debug_helper'
+ autoload :DeprecatedBlockHelpers, 'action_view/helpers/deprecated_block_helpers'
autoload :FormHelper, 'action_view/helpers/form_helper'