diff options
Diffstat (limited to 'app/models/application_record.rb')
-rw-r--r-- | app/models/application_record.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/application_record.rb b/app/models/application_record.rb index 6976185264e..9d71f250466 100644 --- a/app/models/application_record.rb +++ b/app/models/application_record.rb @@ -3,6 +3,8 @@ class ApplicationRecord < ActiveRecord::Base self.abstract_class = true + alias_method :reset, :reload + def self.id_in(ids) where(id: ids) end |