Menu

Commit [r10226]  Maximize  Restore  History

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.

tmaruyama 2012-08-21

changed /branches/1.4-stable/app/models/document.rb
/branches/1.4-stable/app/models/document.rb Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.