In “Agilge Web D. With Rails” on page 217, an example of
foreign keys is shown.
I am however unable to find a definition of wheater the naming of the
index is significant. On the above mentioned page, this line is shown in
constraint fk_items_product foreign key (product_id) references
In “fk_items_product”, “items” is pluralized but “product” is not. Is
this because it is a one_to_many relationship? If so, how should I read
this statement? Does it matter to Rails what the index is called?