Просмотр исходного кода

Reset if self.attributes_protected_by_default - change not needed.

Martin Edenhofer 11 лет назад
Родитель
Сommit
96a2b971ff
1 измененных файлов с 1 добавлено и 1 удалено
  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