Changed :class_name to :model, removed :nullable