search for: rate_id

Displaying 2 results from an estimated 2 matches for "rate_id".

Did you mean: race_id
2004 Jan 12
2
LCR / Trollphone Rate Engine
...--+------+-----+---------+----------------+ mysql> describe rate; +--------------+------------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +--------------+------------------+------+-----+---------+----------------+ | rate_id | int(10) unsigned | | PRI | NULL | auto_increment | | route_id | int(10) unsigned | | MUL | 0 | | | iso | char(2) | | | | | (?? Description please? Example?) | type | char(3) | YES |...
2006 Aug 13
4
has_many and foreign_key question
Alright, noob here, etc. etc. Trying to figure out the has_many usage. If I understand correctly, when you declare that a table/class has_many whatevers, the rails assumption is that there will be a foreign key in the whatevers table pointing back to the ''id'' primary key in the first table. This doesn''t seem to be the only way to have a ''has_many''