method

apply_column_aliases

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: JoinDependency
apply_column_aliases(relation) public

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/associations/join_dependency.rb, line 153
      def apply_column_aliases(relation)
        @join_root_alias = relation.select_values.empty?
        relation._select!(-> { aliases.columns })
      end
Register or log in to add new notes.