This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MockController | |
def url_for(options) | |
super(options) | |
end | |
end | |
module ActualUrlFor | |
def url_for(options) | |
options.values.join("/") | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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 `%' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module TopLevel | |
class Foo | |
def to_s | |
"<An instance of Foo>" | |
end | |
alias inspect to_s | |
class << self | |
def to_s | |
"<Foo's metaclass>" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ bundle install | |
Source: Fetching remote index for `http://gemcutter.org`... done. | |
Source: Processing index... Done. | |
Source: Cloning `git://github.com/rails/rails.git`... Done. | |
Source: Processing index... Done. | |
Resolving dependencies... Done. | |
* text-hyphen (1.0.0) | |
* Downloading... | |
* Installing... | |
* activesupport (3.0.pre) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[carlhuda@Carlhudas-iMac bundler (env_bundle_refactor)]$ spec -c spec/bundler/directory_spec.rb -e 'Faking gems with directories with a simple directory structure stubbing out a gem with a directory -- 1 can bundle --cached' | |
F | |
1) | |
NoMethodError in 'Faking gems with directories with a simple directory structure stubbing out a gem with a directory -- 1 can bundle --cached' | |
undefined method `filename' for #<Bundler::Environment:0x1017309e0> | |
/Users/carlhuda/Developer/Source/bundler/tmp/bundled_app/Gemfile:3:in `evaluate' | |
/Users/carlhuda/Developer/Source/bundler/spec/support/helpers.rb:43:in `build_manifest' | |
/Users/carlhuda/Developer/Source/bundler/spec/support/helpers.rb:41:in `chdir' | |
/Users/carlhuda/Developer/Source/bundler/spec/support/helpers.rb:41:in `build_manifest' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
irb(main):013:0> ActionView::Base.ancestors.include?(ActionView::Helpers) | |
=> true | |
irb(main):015:0> ActionView::Base.ancestors.include?(ActionView::Helpers::CacheHelper) | |
=> false | |
irb(main):016:0> ActionView::Helpers.ancestors.include?(ActionView::Helpers::CacheHelper) | |
=> true | |
irb(main):017:0> ActionView::Base.ancestors | |
=> [ActionView::Base, #<Module:0x101d54a88>, ActionDispatch::Routing::Helpers, ActionController::PolymorphicRoutes, WillPaginate::ViewHelpers, ActionView::Context, ActionView::CompiledTemplates, ActionView::Helpers, ActiveSupport::Benchmarkable, ActionView::Rendering, ActionView::Partials, ERB::Util, Object, Mocha::ObjectMethods, Base64::Deprecated, Base64, ActiveSupport::Dependencies::Loadable, Arel::Sql::ObjectExtensions, Arel::ObjectExtensions, Kernel] | |
irb(main):018:0> ActionView::Helpers.ancestors |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"/Users/carlhuda/.rvm/jruby-head/bin/jruby -I/Users/carlhuda/Developer/Source/bundler/spec/support/../../lib -r /Users/carlhuda/Developer/Source/bundler/tmp/bundled_app/vendor/gems/environment -e \"puts \\$:\"" |
NewerOlder