Hi,
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
end
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,
Steven