This project is archived and is in readonly mode.

#6529 ✓committed
Diego Carrion

Refactored and reduced method calls on Engine.find

Reported by Diego Carrion | March 5th, 2011 @ 05:06 AM

Hi, Engine.path is expanding the same path passed as an argument every time it compares it with the engines paths. I changed the code to expand it only once and then use the value in the comparisons.

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