I have some slow actions that I wanted to see which calls in them were eating all the rendering time. I found the action_profiler gem from: http://rails-analyzer.rubyforge.org/ The problem is the gem doesn''t work. It seems to be an issue with edge since it runs fine on a virgin app running on the rails gems. It seems to be loading some rails files from the gems, and some from the vendor/rails directory of my app, as seen in the below trace. Any ideas on how to make action_profiler work on edge? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Oops, forgot the error trace: ./config/../vendor/rails/activerecord/lib/active_record/deprecated_finders.rb:13: undefined method `deprecate'' for #<Class:ActiveRecord::Base> (NoMethodError) from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in `require'' from ./config/../vendor/rails/activerecord/lib/active_record/base.rb:4 from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in `require'' from ./config/../vendor/rails/activerecord/lib/active_record.rb:37 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---