Skip to content

undefined method `active_scaffold_includes' - #5

Open
babs81 wants to merge 1 commit into
xaop:masterfrom
babs81:master
Open

undefined method `active_scaffold_includes'#5
babs81 wants to merge 1 commit into
xaop:masterfrom
babs81:master

Conversation

@babs81

@babs81 babs81 commented Nov 9, 2010

Copy link
Copy Markdown

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".

@joerixaop

Copy link
Copy Markdown
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.

@babs81

babs81 commented Nov 15, 2010

Copy link
Copy Markdown
Author

Hi,
the rails version is 2.3.5 and the active scaffold version is 1.2RC1

@joerixaop

Copy link
Copy Markdown
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants