From 5a7c888df989523d91c76873fa94cc2bdaaca595 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Mon, 22 Aug 2011 13:30:33 +0000 Subject: [PATCH] remove trailing white-spaces from app/models/attachment.rb. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6526 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/attachment.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/attachment.rb b/app/models/attachment.rb index d16d5cddf..e566cb381 100644 --- a/app/models/attachment.rb +++ b/app/models/attachment.rb @@ -151,7 +151,7 @@ class Attachment < ActiveRecord::Base :description => attachment['description'].to_s.strip, :author => User.current) obj.attachments << a - + if a.new_record? obj.unsaved_attachments ||= [] obj.unsaved_attachments << a -- 2.39.5