I recently upgraded one of my apps to rails 2.0.2 and creating a
certain object didn't work. After some debugging, I discovered this
undefined method `update_without_callbacks' for #<Journal:
where Journal is my model and I have this callback in journal.rb:
(See * below for more info)
Also, I thought while I was debugging that at some point I saw an
exception that said I was trying to call a private method, but I can
no longer reproduce that.
Anybody know what's going on?
* Basically, what goes on here is that after I create or update a
journal I need to create a name and inbound e-mail for the journal
that include the journal_id, so this has to happen in the after_save
so that the journal_id is available. However, if I call self.save
that creates an endless loop. See:
for more info.