Method: Netfira::WebConnect::Model::Relation.table_name
- Defined in:
- lib/netfira/web_connect/model/relation.rb
.table_name ⇒ Object
115 116 117 118 119 120 121 |
# File 'lib/netfira/web_connect/model/relation.rb', line 115 def table_name @table_name ||= if self == Model::Relation Models::Table.table_name else Netfira::WebConnect.db_table_prefix(.map(&:plural_name).join '_to_').to_s end end |