Browse Source

Reset if self.attributes_protected_by_default - change not needed.

Martin Edenhofer 11 years ago
parent
commit
96a2b971ff
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/models/application_model.rb

+ 1 - 1
app/models/application_model.rb

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