search for: referral_note

Displaying 4 results from an estimated 4 matches for "referral_note".

Did you mean: referral_notes
2006 Feb 08
0
foreign table references...a new twist
I thought I was on top of them all, but found another one that has me completely stumped. table referral_notes belongs_to: placement table placements has_many: referral_notes def list_rfn @placement = Placement.find(:all) # possibly unnecessary @referral_note = ReferralNote.find(:all, :include => [:placement], :conditions => ["placement_id = ?", params[:placement...
2006 Mar 25
1
foreign keys on migration
...that I passed over to get the system online. I am fooling with migrations. I am using postgresql. I put in my migration script (at the end of the ''up'' method, the following raw sql code... # set up primary key restratints for PostgreSQL execute ''ALTER TABLE ONLY referral_notes ADD CONSTRAINT referral_notes_pkey PRIMARY KEY (id)'' execute ''ALTER TABLE ONLY placements ADD CONSTRAINT placements_pkey PRIMARY KEY (id)'' execute ''ALTER TABLE ONLY case_managers ADD CONSTRAINT case_managers_pkey PRIMARY KEY (id)'' execute ...
2006 Feb 13
8
postgres and rake
...quot;case_managers.id" psql:db/development_structure.sql:57: NOTICE: CREATE TABLE will create implicit sequence "placements_id_seq" for "serial" column "placements.id" psql:db/development_structure.sql:70: NOTICE: CREATE TABLE will create implicit sequence "referral_notes_id_seq" for "serial" column "referral_notes.id" psql:db/development_structure.sql:86: NOTICE: CREATE TABLE will create implicit sequence "clients_id_seq" for "serial" column "clients.id" psql:db/development_structure.sql:103: NOTICE: CREATE...
2006 Feb 23
3
rake error
...s/placement-safe.rb (first_time, not_needed) ** Invoke app/models/case_manager.rb (first_time, not_needed) ** Invoke app/models/client-bak.rb (first_time, not_needed) ** Invoke app/models/facility.rb (first_time, not_needed) ** Invoke app/models/user.rb (first_time, not_needed) ** Invoke app/models/referral_note.rb (first_time, not_needed) ** Invoke app/models/role.rb (first_time, not_needed) ** Invoke app/models/login.rb (first_time, not_needed) ** Invoke app/models/placement.rb (first_time, not_needed) ** Invoke app/models/right.rb (first_time, not_needed) ** Invoke app/controllers/placements_controller....