The Apn On Rails project is closely related to ActiveRecord, and ActiveRecord is not compatible with MongoDB. Therefore, you cannot use it with MongoDB.
Your solution is to fork this project and use the Mongo database, not ActiveRecord, or open up some problem to become an agnostic apn_on_rails ORM.
source
share