Does the priority work on the delay call?
I have this..
def self.p1
logger.info 'p1'
puts "p1"
end
def self.p2
logger.info "p2"
puts "p2"
end
def self.p3
User.delay(:priority => 10).p1
User.delay.p2
end
When I call User.p3, I notice that p2 is always executed before p1,
even though it has lower priority.
Thanks