Here is the mysterious:
I have a
scope which looks like this (in Image.rb)
scope :moderate_all, delegates.where("moderation_flag = #{$moderation_flags[:not_moderated]}")
Note that delegates is another
scope that I am defining before moderate_all
When I leave it like this, I can run my test that checks if an image has been
…