Flowdock
method

finding_with_ambiguous_select?

Importance_1
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: ActiveRecord::Associations::HasAndBelongsToManyAssociation

Method deprecated or moved

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

finding_with_ambiguous_select?(select_clause) protected

Join tables with additional columns on top of the two foreign keys must be considered ambiguous unless a select clause has been explicitly defined. Otherwise you can get broken records back, if, for example, the join column also has an id column. This will then overwrite the id column of the records coming back.

Show source
Register or log in to add new notes.