Flowdock
method

table_alias_for

Importance_0
v4.1.8 - Show latest stable - 0 notes - Class: AssociationScope
table_alias_for(reflection, refl, join = false) 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/associations/association_scope.rb, line 36
      def table_alias_for(reflection, refl, join = false)
        name = "#{reflection.plural_name}_#{alias_suffix(refl)}"
        name << "_join" if join
        name
      end
Register or log in to add new notes.