This project is archived and is in readonly mode.
[PATCH] Refactor requires
Reported by Sebastian Martinez | June 16th, 2010 @ 10:04 PM
Found that all files on the folder were being required
separately.
I refactored that require.
Comments and changes to this ticket
-
Sebastian Martinez June 16th, 2010 @ 10:32 PM
- Tag changed from rails3 to activesupport, rails3
- Title changed from Refactor requires to [PATCH] Refactor requires
-
Sebastian Martinez June 20th, 2010 @ 11:13 PM
- Assigned user changed from Yehuda Katz (wycats) to José Valim
-
Sebastian Martinez June 20th, 2010 @ 11:46 PM
It's not wrong, just found that it was requiring all the files on the folder one by one and refactored it.
If we add another file to the integer folder no new require line would be needed this way. -
José Valim June 20th, 2010 @ 11:50 PM
- State changed from new to invalid
I find the current way much more readable. It could make sense though if we had several files.
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>