Reset if self.attributes_protected_by_default - change not needed.
This commit is contained in:
parent
76cafc60ba
commit
96a2b971ff
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ class ApplicationModel < ActiveRecord::Base
|
|||
if Setting.get('import_mode') && @@import_class_list.include?( self.name.to_s )
|
||||
['type']
|
||||
else
|
||||
['id','type', 'created_at', 'updated_at']
|
||||
['id','type']
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue