method

first_nth_or_last

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: CollectionAssociation

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.0.0.1) is shown here.

first_nth_or_last(type, *args) private

Fetches the first/last using SQL if possible, otherwise from the target array.

Show source
Register or log in to add new notes.