method

records_for

rails latest stable - Class: ActiveRecord::Associations::Preloader::HasAndBelongsToMany

Method deprecated or moved

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

records_for(ids)
public

Unlike the other associations, we want to get a raw array of rows so that we can access the aliased column on the join table