method

find_take_with_limit

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: ActiveRecord::FinderMethods
find_take_with_limit(limit) 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/relation/finder_methods.rb, line 528
      def find_take_with_limit(limit)
        if loaded?
          records.take(limit)
        else
          limit(limit).to_a
        end
      end
Register or log in to add new notes.