mirror of
https://github.com/redmine/redmine.git
synced 2026-07-10 17:43:17 +02:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user