module ApplicationRecordMethods::ClassMethods

Public Instance Methods

is_updated_via_import(value=true) click to toggle source
# File lib/varnish_rails/application_record_methods.rb, line 95
def is_updated_via_import(value=true)
  self.varnish_purge_on_commit = !value
end