# ActiveJob Coalescing

**URL:** <https://www.ruby-forum.com/t/activejob-coalescing/233890>\
**Category:** Rails\
**Created:** [January 20, 2015, 6:02pm UTC](https://www.ruby-forum.com/t/activejob-coalescing/233890 "2015-01-20T18:02:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [January 20, 2015, 6:02pm UTC](https://www.ruby-forum.com/t/activejob-coalescing/233890/1 "2015-01-20T18:02:19Z")

</div>

Hi,

I was thinking about implementing Apple Push Notifications using  
ActiveJob,  
but I would rather have a single “Deliver Notifications” Job in the  
queue  
instead of one Job per notification (as Apple don’t want you to  
connect/disconnect) repeatedly. Is there a feature of ActiveJob to  
coalesce  
Jobs (I couldn’t see one) and is there a better solution other than  
running  
a rake task periodically e.g. every minute?

Regards

Spencer
