Closed znz closed 10 years ago
I resolved my problem with referenced issue.
Why the generated default
is 0
instead of nil
?
The migrations have been fixed on master - https://github.com/elight/acts_as_commentable_with_threading/pull/78 - so I'm closing this issue.
I use
belongs_to
with:touch => true
inComment
. Andcomment.save!
failed.example application: https://github.com/znz/error-example-for-acts_as_commentable_with_threading
Polymorphic Associations without this gem,
commentable_id_was
is not 0 but nil.