Replace tabs with spaces and remove trailing tabs in several files (#20140).

Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@14365 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2015-06-21 16:38:29 +00:00
parent 15c7066dde
commit 3036eaba52
59 changed files with 166 additions and 166 deletions

View File

@@ -379,7 +379,7 @@ module ActiveRecord #:nodoc:
new_model.send("#{key}=", orig_model.send(key)) if orig_model.respond_to?(key)
end
if self.class.columns_hash.include?(self.class.inheritance_column)
if self.class.columns_hash.include?(self.class.inheritance_column)
if orig_model.is_a?(self.class.versioned_class)
new_model[new_model.class.inheritance_column] = orig_model[self.class.versioned_inheritance_column]
elsif new_model.is_a?(self.class.versioned_class)