problem using RPM-dev with rails 2.1
Using newest rpm v2.2.1 in developers mode with rails 2.1 raises an error when /newrelic UI is accessed.
NoMethodError (undefined method `filter' for #<actioncontroller::filters::beforefilter:0x1a1fee0>):
/mp/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/core_ext/symbol.rb:11:in `__send__'
/mp/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/core_ext/symbol.rb:11:in `to_proc'
/vendor/plugins/newrelic_rpm/ui/controllers/newrelic_controller.rb:11:in `collect'
/vendor/plugins/newrelic_rpm/ui/controllers/newrelic_controller.rb:11</actioncontroller::filters::beforefilter:0x1a1fee0>
NoMethodError (undefined method `filter' for #<actioncontroller::filters::beforefilter:0x1a1fee0>):
/mp/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/core_ext/symbol.rb:11:in `__send__'
/mp/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/core_ext/symbol.rb:11:in `to_proc'
/vendor/plugins/newrelic_rpm/ui/controllers/newrelic_controller.rb:11:in `collect'
/vendor/plugins/newrelic_rpm/ui/controllers/newrelic_controller.rb:11</actioncontroller::filters::beforefilter:0x1a1fee0>
1
person has this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Thanks for reporting this. This is a bug and we expect to turn around a fix in the next couple of days.
Meanwhile, try this workaround:
Remove the following lines from the file newrelic_controller.rb:
line 9:
# do not include any filters inside the application since there might be a conflict
if respond_to? :filter_chain
skip_filter filter_chain.collect(&:filter)
end
1 person says
this solves the problem
Loading Profile...



EMPLOYEE