Forum: Ruby on Rails Validation issue in 0.14.3

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
steven.mohapibanks (Guest)
on 2005-11-12 12:49
(Received via mailing list)

I have a model as follows:

class CancellationNotification < ActiveRecord::Base

   # Relationships
   belongs_to :originator
   belongs_to :cancellation

   # Validations
   validates_presence_of :originator_id, :cancellation_id

As part of my unit test I check that passing no information to
CancellationNotification.create() fails validation, But the
originator_id does not fail validation. If I change its name it's
fine. Have I clashed with some new "special" AR value or something?
This worked in 0.13.1

Kind regards,
This topic is locked and can not be replied to.