This project is archived and is in readonly mode.

#2065 ✓wontfix
Brian Takita

Disconnect between :table_name_with_underscore option and primary key singularization

Reported by Brian Takita | February 25th, 2009 @ 02:16 AM | in 2.x

The :table_name_with_underscore primary_key_prefix_type option implies that AR should be using [table_name]_id as the primary key. However, it seems to be trying to use the singularized table_name instead.

Example: table: people expected primary_id: people_id AR primary_id: person_id

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

People watching this ticket