search for: jurisidiction_id

Displaying 1 result from an estimated 1 matches for "jurisidiction_id".

Did you mean: jurisdiction_id
2006 Aug 13
4
has_many and foreign_key question
...t.column :tax_rate, :string t.column :type, :string end end Rails of course sets up auto incrementing ''id'' columns on both tables. Now there are many properties in the same tax jurisdiction that will have the same rates applied to them, so all properties in ''jurisidiction_id'' = 999 have up to three tax ''type'' (e.g. state, county and local) associated with them. Clearly, I''d prefer to have the ''jurisdiction_id'' in ''properties'' join to ''jurisdiction_rates.jurisdiction_id'' rather...