This project is archived and is in readonly mode.

#3429 ✓resolved
Comron Sattari

Autosave Assocation Needlessly Uses eval()

Reported by Comron Sattari | October 26th, 2009 @ 09:56 PM | in 2.3.6

The blog post at http://blog.pluron.com/2008/02/rails-faster-as.html talks about using String based callbacks in ActiveRecord and how they affect performance through usage of eval() and Kernel.binding. This has been patched in Rails

However I recently found that autosave_association.rb can make use of a similar patch, which I have attached.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Referenced by

Pages