I do not quite understand your question. In your example, you are not creating any new author object:
> b = Book.new
> b.title = "A Book"
>
> b.author = Author.last
> b.save
If you are trying to create a new author without email, you cannot just do:
b = Book.new
b.title = "A Book"
author = Author.new
author.save(:validate => false)
b.author = author
b.save
Hmm ... maybe I just missed something obvious here.
source
share