search for: applicantcontroller

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

2006 Jul 02
5
Question about setting field values for a belongs_to model
.... How should I think about this? Why does the straightforward statement not work? Code to pour over is below. This is on ruby 1.8.4 (2005-12-24) [i386-linux] / Rails 1.1.2 Thanks, Stephan ------------------------------------------- Following are 1. mysql table definitions 2. method update in ApplicantController 3. rhtml file, app/views/applicant/edit.rhtml 4. Applicant and Skill models create table if not exists applicants ( id int not null auto_increment, name varchar(20) not null, primary key(id), unique index uniq_index(id) ); create table if not exists skills ( id int not null auto_increm...
2007 Feb 20
6
How to spec code with multiple (interacting) paths
Hi Code with a large number of different paths is probably the biggest problem I have right now. I''ve made a sample class that illustrates the simplest case of one parameter that takes two values: class DataStorer def initialize(logger, emailer, db_updater, do_update_db_step) @logger = logger; @emailer = emailer; @db_updater = db_updater