search for: jurisdiction_r

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

Did you mean: jurisdiction
2006 Aug 13
4
has_many and foreign_key question
...''id'' primary key in the first table. This doesn''t seem to be the only way to have a ''has_many'' relationship, and I can''t seem to get override the rails assumptions for my tables. I have two tables, ''properties'' and ''jurisdiction_rates''. class CreateProperties < ActiveRecord::Migration def self.up create_table :properties do |t| t.column :address, :string t.column :jurisdiction_id, :string end end class CreateJurisdictionRates def self.up create_table :jurisdiction_rates do |t| t....