This project is archived and is in readonly mode.
The diff command in script/generate doesn't escape paths.
Reported by Carl Porth | May 27th, 2008 @ 10:32 PM
When doing a script/generate and a file exists, doing a diff (to view the differences between the generated file and the one that already exists) doesn't escape the file path.
If you have a space in any parent folder of your rails app, then the diff command cannot find the files.
This tiny, trivial patch quotes the paths.
Comments and changes to this ticket
-
Carl Porth May 28th, 2008 @ 01:49 AM
- no changes were found...
-
Repository July 2nd, 2008 @ 03:34 AM
- State changed from new to resolved
- Tag set to bug, generators, patch, railties, tiny
(from [a81f16af31b28203a7c2c6cd89249a90487b7fe0]) Ensure Rails::Generator quotes file names while generating diff. [#264 state:resolved]
Signed-off-by: Pratik Naik
-
Repository July 15th, 2008 @ 11:56 PM
(from [85bd455713f5cef54cefebf048d5258b86bb8ac9]) Ensure Rails::Generator quotes file names while generating diff. [#264 state:resolved]
Signed-off-by: Pratik Naik
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>