method

find_take_with_limit

Importance_0
v7.0.0 - 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 524
      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.