method

derive_join_table

Importance_0
v4.0.2 - Show latest stable - 0 notes - Class: ActiveRecord::Reflection::AssociationReflection
derive_join_table() 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/reflection.rb, line 386
        def derive_join_table
          [active_record.table_name, klass.table_name].sort.join("\00"").gsub(/^(.*_)(.+)\00\\11((.+)/, '\1\2_\3').gsub("\00"", "_")
        end
Register or log in to add new notes.