On Dec 1, 6:17 pm, BW <[email protected]> wrote:
> Well, I've come closer to tracking down the problem.  Running only
> ActiveRecord, the problem does not occur.  So I created a fresh Rails 2.3
> project and started adding the plugins I use.  Turns out rails-footnotes was
> causing the slowdown.
>
> But it's a specific call in queries_note.rb,
>
> explain = execute_without_analyzer("EXPLAIN #{query}", name)
>
> Comment this line out, and all works fine.  However, I can't find where this
> call, execute_without_analyzer,  is actually defined.  It seems like it
> might be behaving differently between Rails 2.1 and 2.3
>
That looks like someone has been using alias_method_chain - there is
no method called execute_without_analyzer. alias_method_chain renames
the original execute method to execute_without_analyzer

Fred

--

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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to