search for: applicants_id

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

Did you mean: applicant_id
2006 Jun 27
1
Help me, I stuck ..
...OT NULL default '''', PRIMARY KEY (`id`) ) ; CREATE TABLE `positions` ( `id` int(10) unsigned NOT NULL auto_increment, `position_name` varchar(30) NOT NULL default '''', KEY `id` (`id`) ) ; CREATE TABLE `sums` ( `id` int(11) NOT NULL auto_increment, `applicants_id` int(10) NOT NULL, `positions_id` int(10) NOT NULL, PRIMARY KEY (`id`) ) ; -------------------------------------------------- I installed: class Sum < ActiveRecord::Base has_many :applicants has_many :positions end class Applicant < ActiveRecord::Base belongs_to :sum end class...