What is better to use in rails for a composite primary key? Use the composite_primary_keys gem? or use an index that contains the columns that I need for the primary key?
What is the best way to uniquely identify a row in a table? , which contains three columns, where the value of each column can be repeated several times, but the combination of Three columns should be a unique combination.
What is the advantage of indexing the three columns of a row in a table?
Many thanks in advance!