Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

The diff command in script/generate doesn't escape paths.

#264

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.

Reported by Carl Porth · May 27th, 2008 @ 10:32 PM

State: resolved
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. Carl Porth
  2. Repository
    Repository
    • 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

    http://github.com/rails/rails/co...

    July 2nd, 2008 @ 03:34 AM

  3. Repository
    Repository

    (from [85bd455713f5cef54cefebf048d5258b86bb8ac9]) Ensure Rails::Generator quotes file names while generating diff. [#264 state:resolved]

    Signed-off-by: Pratik Naik

    http://github.com/rails/rails/co...

    July 15th, 2008 @ 11:56 PM