suggested chang to fix issue #20 ( #25

wants to merge 2 commits into
Commits on Jan 27, 2011
  1. modified send_notifications_for_cert routine to decrease db load

    andreasmueller committed Jan 27, 2011
    Rather than making a query for each device, we can get all unsent
    notifications for a given app with one SQL query.
    The change also required a slight update of the app_spec.
  2. specify :select in find to avoid :read_only

    andreasmueller committed Jan 27, 2011
    The APN::Notification.find call returned read-only ActiveRecords, which
    can be prevented by specifying :select.
    -> see