method

new

rails latest stable - Class: ActiveRecord::DynamicScopeMatch

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

new(scope, attribute_names)
public

No documentation available.

# File activerecord/lib/active_record/dynamic_scope_match.rb, line 15
    def initialize(scope, attribute_names)
      @scope           = scope
      @attribute_names = attribute_names
    end