Fix default HasOne#key for polymorphics
Merge branch 'bugfix/has_one_poly_key' into develop