method
no_touching?
rails 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