Included Modules

Files

Class Index [+]

Quicksearch

ActiveRecord::Scoping

Active Record Named Scopes

Public Instance Methods

populate_with_current_scope_attributes() click to toggle source
     # File lib/active_record/scoping.rb, line 143
143:     def populate_with_current_scope_attributes
144:       return unless self.class.scope_attributes?
145: 
146:       self.class.scope_attributes.each do |att,value|
147:         send("#{att}=", value) if respond_to?("#{att}=")
148:       end
149:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.