search for: start_date_id

Displaying 3 results from an estimated 3 matches for "start_date_id".

2006 Feb 28
5
Problem with paginate, include and foreign keys
...up an FK constraint properly. I don''t seem to have this issue with ActiveRecord, however. Consider: create table start_dates ( id bigserial, start_date date unique, max_slots int default 40, primary key (id) ); create table schedules ( id bigserial, start_date_id int, ... foreign key (start_date_id) references start_dates (id), primary key (id) ); class StartDate < ActiveRecord::Base has_many :schedules end class Schedule < ActiveRecord::Base belongs_to :start_date end The ActiveRecord portion works as expected: condition = &q...
2006 Mar 28
4
Problem with ActiveRecord, create, save, and Oracle adapter?
...`transaction'' /opt/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/transactions.rb:126:in `save'' #{RAILS_ROOT}/app/controllers/schedules_controller.rb:158:in `create'' Parameters: {"commit"=>"Create", "schedule"=>{"start_date_id"=>"30", "clli_code"=>"TEST", "slot_id"=>"1", "hardware_id"=>"6", "state_id"=>"6"}} Headers: {"cookie"=>[], "Cache-Control"=>"no-cache"} Any ideas? Th...
2006 May 02
1
SOAP client not seeing all of my AWS service methods
Hi all, Ruby 1.8.4 Rails 1.1.2 I''m a newb when it comes to SOAP, but I thought I''d give it a shot. I have several web services defined. However, when I try to connect with a SOAP client it seems the client is only picking up one of the services, called Hardware. require ''soap/wsdlDriver'' wsdl_url =