method
no_touching?
v7.1.3.4 -
Show latest stable
- Class:
ActiveRecord::NoTouching
no_touching?()public
Returns true if the class has no_touching set, false otherwise.
Project.no_touching do Project.first.no_touching? # true Message.first.no_touching? # false end