edge badge

Active Record No Touching

Namespace
Methods
N
T
Instance Public methods
no_touching?()
# File activerecord/lib/active_record/no_touching.rb, line 44
def no_touching?
  NoTouching.applied_to?(self.class)
end
touch(*)
# File activerecord/lib/active_record/no_touching.rb, line 48
def touch(*)
  super unless no_touching?
end