Flowdock
method

new

Importance_0
v2.1.0 - Show latest stable - 0 notes - Class: ActiveRecord::NamedScope::Scope
new(proxy_scope, options, &block) 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/named_scope.rb, line 112
      def initialize(proxy_scope, options, &block)
        [options[:extend]].flatten.each { |extension| extend extension } if options[:extend]
        extend Module.new(&block) if block_given?
        @proxy_scope, @proxy_options = proxy_scope, options.except(:extend)
      end
Register or log in to add new notes.