class method
self.new
Ruby on Rails 3.0.20
Since v2.3.18 Last seen in v3.2.22.5Signature
self.new(scope, attribute_names)
No documentation comment.
Parameters
-
scopereq -
attribute_namesreq
Source
# File activerecord/lib/active_record/dynamic_scope_match.rb, line 15
def initialize(scope, attribute_names)
@scope = scope
@attribute_names = attribute_names
end
Defined in activerecord/lib/active_record/dynamic_scope_match.rb line 15
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::DynamicScopeMatch