Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #10017 (closed defect: fixed)

Opened 10 months ago

Last modified 10 months ago

[PATCH] Clean up whitespace in generator templates

Reported by: tpope Assigned to: bitsweat
Priority: normal Milestone: 2.0
Component: Railties Version: edge
Severity: minor Keywords: tiny
Cc: bitsweat

Description

Simple patch to trim trailing whitespace and add final newlines to all generator templates.

Attachments

template_cleanup.patch (1.6 kB) - added by tpope on 10/29/07 17:44:50.

Change History

10/29/07 17:44:50 changed by tpope

  • attachment template_cleanup.patch added.

10/29/07 17:49:46 changed by tpope

One may also want to consider removing lib/rails_generator/generators/components/resource/templates/USAGE, as it appears to have been obsoleted by lib/rails_generator/generators/components/resource/USAGE.

10/29/07 19:21:41 changed by josh

  • cc set to bitsweat.

+1

I hate that stupid extra space on my timestamps.

10/29/07 20:56:36 changed by tarmo

+1

10/29/07 21:40:27 changed by bitsweat

  • status changed from new to closed.
  • resolution set to fixed.

(In [8055]) Excise generated whitespace. Closes #10017 [Tim Pope]