Skip to content
Browse files

Fixed indentation

  • Loading branch information...
1 parent 8563f38 commit 6bbd74c27fab5ad42672c8f21cb4712a35876058 @calonso calonso committed Sep 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/apn_on_rails/app/models/apn/app.rb
View
2 lib/apn_on_rails/app/models/apn/app.rb
@@ -40,7 +40,7 @@ def self.send_notifications
def self.send_notifications_for_cert(the_cert, app_id)
begin
APN::Connection.open_for_delivery({:cert => the_cert}) do |conn, sock|
- unset = APN::Notification.joins(:device).
+ unset = APN::Notification.joins(:device).
where(:sent_at => nil, :apn_devices => { :app_id => app_id }).
order(:device_id, :created_at).readonly(false)
unset.each do |noty|

0 comments on commit 6bbd74c

Please sign in to comment.
Something went wrong with that request. Please try again.