method

singleton_method_added

rails latest stable - Class: ActiveRecord::Scoping::Named::ClassMethods
singleton_method_added(name)
private

No documentation available.

# File activerecord/lib/active_record/scoping/named.rb, line 192
          def singleton_method_added(name)
            generate_relation_method(name) if Kernel.respond_to?(name) && !ActiveRecord::Relation.method_defined?(name)
          end