Hi, there must be something wrong somewhere in my unit test because
there’s a model I can’t have any callback executed on.
In my unit test I do
@image = Image.new
:article_id => @article.id,
:title => ‘Titre test’
When breakpointing, and trying @image.save manually I get a “true” as a
result. So I presume everything went fine.
The model is :
class Image < ActiveRecord::Base
The breakpoint in on_after_save is never reached.
I’m pulling my hairs out since yesterday - Any idea ?