Reset if self.attributes_protected_by_default - change not needed.

This commit is contained in:
Martin Edenhofer 2013-06-20 19:06:27 +02:00
parent 76cafc60ba
commit 96a2b971ff

View file

@ -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