method

find_every

Importance_0
v2.0.3 - Show latest stable - 0 notes - Class: ActiveRecord::Base
find_every(options) private

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/base.rb, line 1244
        def find_every(options)
          records = scoped?(:find, :include) || options[:include] ?
            find_with_associations(options) :
            find_by_sql(construct_finder_sql(options))

          records.each { |record| record.readonly! } if options[:readonly]

          records
        end
Register or log in to add new notes.