method

apply_to

Importance_0
v4.2.1 - Show latest stable - 0 notes - Class: NoTouching
apply_to(klass) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/no_touching.rb, line 27
      def apply_to(klass) #:nodoc:
        klasses.push(klass)
        yield
      ensure
        klasses.pop
      end
Register or log in to add new notes.