Created
November 29, 2008 03:28
-
-
Save rmoriz/30169 to your computer and use it in GitHub Desktop.
This file contains 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
Looks like resource_controller may have problems with rails 2.2.2? | |
I'm using "blank", latest revision. | |
Out of the box, with the vendored Rails 2.1.x all tests work fine. | |
So I did a "rm -rf vendor/rails" and tried it with the gem 2.2.2 version of rails: | |
rake test:functionals | |
(in /private/tmp/the_name_of_my_app) | |
/opt/local/bin/ruby -Ilib:test "/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/rake_test_loader.rb" "test/functional/accounts_controller_test.rb" "test/functional/password_resets_controller_test.rb" "test/functional/people_controller_test.rb" "test/functional/sessions_controller_test.rb" | |
[DEPRECATION] should_be_restful is deprecated. Please see http://thoughtbot.lighthouseapp.com/projects/5807/tickets/78 for more information. | |
/private/tmp/the_name_of_my_app/vendor/plugins/resource_controller/lib/resource_controller/class_methods.rb:20:in `undef_method': undefined method `index' for class `PeopleController' (NameError) | |
from /private/tmp/the_name_of_my_app/vendor/plugins/resource_controller/lib/resource_controller/class_methods.rb:20:in `actions' | |
from /private/tmp/the_name_of_my_app/vendor/plugins/resource_controller/lib/resource_controller/class_methods.rb:20:in `each' | |
from /private/tmp/the_name_of_my_app/vendor/plugins/resource_controller/lib/resource_controller/class_methods.rb:20:in `actions' | |
from /private/tmp/the_name_of_my_app/app/controllers/people_controller.rb:2 | |
from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' | |
from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' | |
from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:155:in `require' | |
from ./test/functional/people_controller_test.rb:2 | |
from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:144:in `load_without_new_constant_marking' | |
from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:144:in `load' | |
from /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/rake_test_loader.rb:5 | |
from /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/rake_test_loader.rb:5:in `each' | |
from /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/rake_test_loader.rb:5 | |
rake aborted! | |
Command failed with status (1): [/opt/local/bin/ruby -Ilib:test "/opt/local...] | |
(See full trace by running task with --trace) | |
The next step was to remove the bundled resource_controller version and use the latest github revision - same result |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment