search for: conference_id

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

2006 Jun 04
0
Bug: collection#create misbehaves on validations
...association collection: rails_conf.presentations.create() #=> #<Presentation:0x39c5678 @errors=#<ActiveRecord::Errors:0x39af868 @errors={"name"=>["can''t be blank"]}, @base=#<Presentation:0x39c5678 ...>>, @attributes={"name"=>nil, "conference_id"=>3, "abbrev_name"=>nil}, @new_record=true> Ok, so the validation prevented the nameless Presentation from being saved. However, it did insert a pseudo/defective Presentation instance in the collection: rails_conf.presentations #=>[#<Presentation:0x39c5678 @errors=#&...