#1370 new
Kevin Watt

validation on belongs_to if given an unsaved target returns false with no error message

Reported by Kevin Watt | July 19th, 2010 @ 10:46 PM

belongs_to :user

property :name, String, :required => true


Topic.new :user => u
Topic.save # => false
Topic.errors # => empty

.errors should include 'user_id' is required, or something along those lines.

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket