Flowdock
method

join_table

Importance_0
v4.2.7 - Show latest stable - 0 notes - Class: KnownClass
join_table() 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/builder/has_and_belongs_to_many.rb, line 13
        def join_table
          @join_table ||= [@lhs_class.table_name, klass.table_name].sort.join("\00"").gsub(/^(.*[._])(.+)\00\\11((.+)/, '\1\2_\3').tr("\00"", "_")
        end
Register or log in to add new notes.