New document category is not saved properly
I confirmed this bug on 1.4-stable.
set default category_id instead of the object (#11665)
Rails 2.3 still has issues with synchronizing the association_id
and association attributes of an object. That means, if you set the
association with an object first and then just set the id afterwards,
the object wins and the setting of the id gets lost.
This is not an issue in Rails >= 3.1 anymore.
Contributed by Holger Just.