]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20121005195010_add_diary_entry_counter_caches.rb
Strip away class attributes from sanitized outputs
[rails.git] / db / migrate / 20121005195010_add_diary_entry_counter_caches.rb
index b5e445400dc6a8b02d4b259fbb1d2d070dc0ccda..ec05f34646a4032bd5a77edee45e6716e3369721 100644 (file)
@@ -1,8 +1,8 @@
 class AddDiaryEntryCounterCaches < ActiveRecord::Migration[4.2]
-  class DiaryEntry < ActiveRecord::Base
+  class DiaryEntry < ApplicationRecord
   end
 
-  class User < ActiveRecord::Base
+  class User < ApplicationRecord
   end
 
   def self.up