This project is archived and is in readonly mode.
[PATCH] Using Rails.root.join everywhere where possible
-
Łukasz Strzałkowski
LH is throwing an error when I try to attach a patch - I've put it on github: http://gist.github.com/452725
-
Łukasz Strzałkowski
- Title changed from Using Rails.root.join everywhere where possible to [PATCH] Using Rails.root.join everywhere where possible
-
Łukasz Strzałkowski
- Assigned user set to José Valim
-
José Valim
- State changed from new to incomplete
- Importance changed from to Low
Have you run tests after this change? A few tests fail here. Besides, interpolation would work just fine in these cases and would be more readable (and faster):
"#{Rails.root}/lib/templates/fixjour"
-
Jeremy Kemper
+1 for string interpolation instead of overusing
join -
José Valim
- State changed from incomplete to invalid
Ok, I'm marking this one as invalid. Feel free to reopen the ticket if you have a patch using interpolation. :)