undefined method `active_scaffold_includes' - #5
Open
babs81 wants to merge 1 commit into
Open
Conversation
Member
|
What version of active_scaffold and rails are you using? The last change we made was exactly the opposite of your proposed patch, and we made that change because active_scaffold_joins is deprecated for the most recent versions of active_scaffold. |
Author
|
Hi, |
Member
|
It seems this is something that changed in the activescaffold rails-2.3 branch. In 1.2RC1 there is no deprecation note, and active_scaffold_joins is still used. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi,
I had this problem:
NoMethodError (undefined method
active_scaffold_includes' for #<Admin::UsersController:0x10501c038>): vendor/gems/newrelic_rpm-2.12.0/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:253:inperform_action'vendor/gems/newrelic_rpm-2.12.0/lib/new_relic/agent/method_tracer.rb:141:in
trace_execution_scoped' vendor/gems/newrelic_rpm-2.12.0/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:246:inperform_action'config/initializers/no_content_middleware.rb:7:in
call' vendor/gems/hoptoad_notifier-2.3.10/lib/hoptoad_notifier/rack.rb:27:incall'I resolved changing in advanced_search.rb at line 47 "active_scaffold_includes" into "active_scaffold_joins".