for: :null => false flag on poly references only set the id to not null, should set type as well (Ticket# 10753)

I sent a patch that resolves this defect and I need some contributor for the verification.

http://dev.rubyonrails.org/ticket/10758

Regards.