rearview 1.0.3.rc.1-jruby → 1.0.3.rc.2-jruby

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ce33a4e10c1dd4c3fe6d940f610673d590578607
4
- data.tar.gz: 117613590526a62d88620c8568e89d77f48ad863
3
+ metadata.gz: 3744958da5dc786968bec824c0f887eb2f830876
4
+ data.tar.gz: a46f47e85e051a51bcc28085c05dc2528fe5bb6a
5
5
  SHA512:
6
- metadata.gz: 756c8909ec2fe1f5f7b03b3afcaad0ae91bec46717645c2b8022e228df7448f744cc7c8ed14094c317470e9fb9498314d9ff3a9bdaa5ec35b3674c58ee40e241
7
- data.tar.gz: 352a54c8c209c6ee12fac82e3fb56f3502c75f5ca0547ff5c6b276387185607ecefed623e281d952b8bfff2880a8189bd23c7539a6c53a196ca962cdd04ba17b
6
+ metadata.gz: 086eb370fccee36e0457022fd2db8b8d1bc4e979d0006d0cdbf055bb859f9d7a36816ad1df29bbe304e276ac26aa19298d1df10c8e5e543711a34659cc21f6f7
7
+ data.tar.gz: a15d0ae42515823411197192b5c54515b71ed3a4f4e505e5da02717fecfb1c5ad668683bcc1261ccc5c1710499739434fa3e8fda2f35241696effada796b2c75
@@ -1,7 +1,16 @@
1
1
  module Rearview
2
2
  class UrlHelper
3
3
  def self.job_url(job)
4
- Rails.application.routes.url_helpers.rearview_url(Rearview.config.default_url_options) + "/#dash/#{job.app_id}/expand/#{job.id}"
4
+ dashboard_id = if job.dashboard.root?
5
+ job.app_id
6
+ else
7
+ job.dashboard.parent.id
8
+ end
9
+ [ Rails.application.routes.url_helpers.rearview_url(Rearview.config.default_url_options),
10
+ "#dash",
11
+ "#{dashboard_id}",
12
+ "expand",
13
+ "#{job.id}" ].join("/")
5
14
  end
6
15
  end
7
16
  end
@@ -1,3 +1,3 @@
1
1
  module Rearview
2
- VERSION = "1.0.3.rc.1"
2
+ VERSION = "1.0.3.rc.2"
3
3
  end
@@ -221,3 +221,21 @@
221
221
   (11.0ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
222
222
   (1.0ms) SELECT version FROM `schema_migrations`
223
223
   (1.0ms) INSERT INTO `schema_migrations` (version) VALUES ('20131106162900')
224
+  (13.0ms) DROP DATABASE IF EXISTS `rearview_ruby_test`
225
+  (8.0ms) CREATE DATABASE `rearview_ruby_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
226
+  (34.0ms) CREATE TABLE `applications` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11), `name` varchar(255) NOT NULL, `created_at` datetime, `updated_at` datetime, `deleted_at` datetime, `ancestry` varchar(255), `description` varchar(255)) ENGINE=InnoDB DEFAULT CHARSET=utf8
227
+  (46.0ms) CREATE INDEX `index_applications_on_ancestry` ON `applications` (`ancestry`)
228
+  (11.0ms) CREATE INDEX `user_id` ON `applications` (`user_id`)
229
+  (12.0ms) CREATE TABLE `job_data` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `job_id` int(11) DEFAULT 0 NOT NULL, `created_at` datetime, `updated_at` datetime, `data` longtext NOT NULL) ENGINE=InnoDB DEFAULT CHARSET=utf8
230
+  (9.0ms) CREATE TABLE `job_errors` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `job_id` int(11), `created_at` datetime, `message` longtext, `status` varchar(255), `last_alerted_at` datetime, `updated_at` datetime) ENGINE=InnoDB DEFAULT CHARSET=utf8
231
+  (8.0ms) CREATE INDEX `job_id` ON `job_errors` (`job_id`)
232
+  (10.0ms) CREATE TABLE `jobs` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime, `updated_at` datetime, `name` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 1 NOT NULL, `last_run` datetime, `cron_expr` varchar(1024) NOT NULL, `status` varchar(255), `user_id` int(11), `alert_keys` text, `deleted_at` datetime, `error_timeout` int(11) DEFAULT 60 NOT NULL, `next_run` datetime, `description` text, `app_id` int(11) NOT NULL, `metrics` text NOT NULL, `monitor_expr` text, `minutes` int(11), `to_date` text) ENGINE=InnoDB DEFAULT CHARSET=utf8
233
+  (10.0ms) CREATE INDEX `app_id` ON `jobs` (`app_id`)
234
+  (15.0ms) CREATE UNIQUE INDEX `id_name_version_key` ON `jobs` (`id`, `name`)
235
+  (13.0ms) CREATE INDEX `jobs_ibfk_1` ON `jobs` (`user_id`)
236
+  (14.0ms) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime, `updated_at` datetime, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `email` varchar(255) NOT NULL, `first_name` varchar(255), `last_name` varchar(255), `last_login` datetime, `preferences` text) ENGINE=InnoDB DEFAULT CHARSET=utf8
237
+  (9.0ms) CREATE UNIQUE INDEX `email` ON `users` (`email`)
238
+  (8.0ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB DEFAULT CHARSET=utf8
239
+  (13.0ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
240
+  (2.0ms) SELECT version FROM `schema_migrations`
241
+  (2.0ms) INSERT INTO `schema_migrations` (version) VALUES ('20131106162900')
@@ -31410,3 +31410,3296 @@ Processing by Rearview::UserController#update as JSON
31410
31410
  Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms)
31411
31411
  Terminating 5 actors...
31412
31412
  Shutdown completed cleanly
31413
+ [Rearview] booting...
31414
+ [Rearview] using configuration:
31415
+ authentication={:strategy=>:database}
31416
+ default_from=rearview@localhost
31417
+ default_url_options={:host=>"localhost", :port=>"3000"}
31418
+ enable_alerts=true
31419
+ enable_monitor=false
31420
+ enable_stats=false
31421
+ graphite_url=nil
31422
+ logger=#<ActiveSupport::Logger:0x7d9d679>
31423
+ pagerduty_url=https://events.pagerduty.com/generic/2010-04-15/create_event.json
31424
+ preload_jobs=false
31425
+ sandbox_dir=/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox
31426
+ sandbox_exec=["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby"]
31427
+ sandbox_timeout=10
31428
+ statsd_connection={:host=>"127.0.0.1", :port=>8125, :namespace=>"rearview"}
31429
+ verify=false
31430
+ [Rearview] starting up monitor service for (0) job(s)
31431
+ [Rearview] monitor disabled
31432
+ Savepoint (6.0ms) SAVEPOINT active_record_1
31433
+ Rearview::User Exists (3.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user1@hungrymachine.com' LIMIT 1
31434
+ SQL (2.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:34:31', 'user1@hungrymachine.com', 'first_name1', 'last_name1', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:34:31')
31435
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31436
+ Savepoint (0ms) SAVEPOINT active_record_1
31437
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 15:34:31', 'description1', 'application1', '2014-01-10 15:34:31', 231)
31438
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31439
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31440
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user2@hungrymachine.com' LIMIT 1
31441
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:34:31', 'user2@hungrymachine.com', 'first_name2', 'last_name2', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:34:31')
31442
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31443
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31444
+ SQL (2.0ms) INSERT INTO `applications` (`ancestry`, `created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('110', '2014-01-10 15:34:31', 'description2', 'application2', '2014-01-10 15:34:31', 232)
31445
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
31446
+ Rearview::Dashboard Load (10.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 110 LIMIT 1
31447
+ Terminating 1 actors...
31448
+ Shutdown completed cleanly
31449
+ [Rearview] booting...
31450
+ [Rearview] using configuration:
31451
+ authentication={:strategy=>:database}
31452
+ default_from=rearview@localhost
31453
+ default_url_options={:host=>"localhost", :port=>"3000"}
31454
+ enable_alerts=true
31455
+ enable_monitor=false
31456
+ enable_stats=false
31457
+ graphite_url=nil
31458
+ logger=#<ActiveSupport::Logger:0x1fba6831>
31459
+ pagerduty_url=https://events.pagerduty.com/generic/2010-04-15/create_event.json
31460
+ preload_jobs=false
31461
+ sandbox_dir=/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox
31462
+ sandbox_exec=["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby"]
31463
+ sandbox_timeout=10
31464
+ statsd_connection={:host=>"127.0.0.1", :port=>8125, :namespace=>"rearview"}
31465
+ verify=false
31466
+ [Rearview] starting up monitor service for (0) job(s)
31467
+ [Rearview] monitor disabled
31468
+ Savepoint (5.0ms) SAVEPOINT active_record_1
31469
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user1@hungrymachine.com' LIMIT 1
31470
+ SQL (2.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:39:08', 'user1@hungrymachine.com', 'first_name1', 'last_name1', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:39:08')
31471
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31472
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31473
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 15:39:08', 'description1', 'application1', '2014-01-10 15:39:08', 233)
31474
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
31475
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31476
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user2@hungrymachine.com' LIMIT 1
31477
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:39:08', 'user2@hungrymachine.com', 'first_name2', 'last_name2', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:39:08')
31478
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
31479
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31480
+ SQL (1.0ms) INSERT INTO `applications` (`ancestry`, `created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('112', '2014-01-10 15:39:08', 'description2', 'application2', '2014-01-10 15:39:08', 234)
31481
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31482
+ Terminating 1 actors...
31483
+ Shutdown completed cleanly
31484
+ [Rearview] booting...
31485
+ [Rearview] using configuration:
31486
+ authentication={:strategy=>:database}
31487
+ default_from=rearview@localhost
31488
+ default_url_options={:host=>"localhost", :port=>"3000"}
31489
+ enable_alerts=true
31490
+ enable_monitor=false
31491
+ enable_stats=false
31492
+ graphite_url=nil
31493
+ logger=#<ActiveSupport::Logger:0x1fba6831>
31494
+ pagerduty_url=https://events.pagerduty.com/generic/2010-04-15/create_event.json
31495
+ preload_jobs=false
31496
+ sandbox_dir=/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox
31497
+ sandbox_exec=["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby"]
31498
+ sandbox_timeout=10
31499
+ statsd_connection={:host=>"127.0.0.1", :port=>8125, :namespace=>"rearview"}
31500
+ verify=false
31501
+ [Rearview] starting up monitor service for (0) job(s)
31502
+ [Rearview] monitor disabled
31503
+ Savepoint (4.0ms) SAVEPOINT active_record_1
31504
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user1@hungrymachine.com' LIMIT 1
31505
+ SQL (3.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:39:55', 'user1@hungrymachine.com', 'first_name1', 'last_name1', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:39:55')
31506
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31507
+ Savepoint (0ms) SAVEPOINT active_record_1
31508
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 15:39:55', 'description1', 'application1', '2014-01-10 15:39:55', 235)
31509
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
31510
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31511
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user2@hungrymachine.com' LIMIT 1
31512
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:39:55', 'user2@hungrymachine.com', 'first_name2', 'last_name2', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:39:55')
31513
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31514
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31515
+ SQL (1.0ms) INSERT INTO `applications` (`ancestry`, `created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('114', '2014-01-10 15:39:55', 'description2', 'application2', '2014-01-10 15:39:55', 236)
31516
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31517
+ Savepoint (0ms) SAVEPOINT active_record_1
31518
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user3@hungrymachine.com' LIMIT 1
31519
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:39:55', 'user3@hungrymachine.com', 'first_name3', 'last_name3', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:39:55')
31520
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
31521
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31522
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user4@hungrymachine.com' LIMIT 1
31523
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:39:55', 'user4@hungrymachine.com', 'first_name4', 'last_name4', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:39:55')
31524
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31525
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31526
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 15:39:55', 'description3', 'application3', '2014-01-10 15:39:55', 238)
31527
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
31528
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31529
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 116, '2014-01-10 15:39:55', '0 * * * * ?', 1, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job1', '2014-01-10 15:39:55', 237)
31530
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31531
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31532
+ SQL (1.0ms) UPDATE `jobs` SET `app_id` = 115, `updated_at` = '2014-01-10 15:40:23', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 1
31533
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31534
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31535
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user5@hungrymachine.com' LIMIT 1
31536
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:39:55', 'user5@hungrymachine.com', 'first_name5', 'last_name5', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:39:55')
31537
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31538
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31539
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user6@hungrymachine.com' LIMIT 1
31540
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:39:55', 'user6@hungrymachine.com', 'first_name6', 'last_name6', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:39:55')
31541
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
31542
+ Savepoint (0ms) SAVEPOINT active_record_1
31543
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 15:39:55', 'description4', 'application4', '2014-01-10 15:39:55', 240)
31544
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31545
+ Savepoint (0ms) SAVEPOINT active_record_1
31546
+ Rearview::Dashboard Load (7.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 115 ORDER BY `applications`.`id` ASC LIMIT 1
31547
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 115, '2014-01-10 15:39:55', '0 * * * * ?', 2, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job2', '2014-01-10 15:39:55', 239)
31548
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
31549
+ Terminating 1 actors...
31550
+ Shutdown completed cleanly
31551
+ [Rearview] booting...
31552
+ [Rearview] using configuration:
31553
+ authentication={:strategy=>:database}
31554
+ default_from=rearview@localhost
31555
+ default_url_options={:host=>"localhost", :port=>"3000"}
31556
+ enable_alerts=true
31557
+ enable_monitor=false
31558
+ enable_stats=false
31559
+ graphite_url=nil
31560
+ logger=#<ActiveSupport::Logger:0x5817e692>
31561
+ pagerduty_url=https://events.pagerduty.com/generic/2010-04-15/create_event.json
31562
+ preload_jobs=false
31563
+ sandbox_dir=/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox
31564
+ sandbox_exec=["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby"]
31565
+ sandbox_timeout=10
31566
+ statsd_connection={:host=>"127.0.0.1", :port=>8125, :namespace=>"rearview"}
31567
+ verify=false
31568
+ [Rearview] starting up monitor service for (0) job(s)
31569
+ [Rearview] monitor disabled
31570
+ Savepoint (4.0ms) SAVEPOINT active_record_1
31571
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user1@hungrymachine.com' LIMIT 1
31572
+ SQL (2.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:45:54', 'user1@hungrymachine.com', 'first_name1', 'last_name1', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:45:54')
31573
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31574
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31575
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 15:45:54', 'description1', 'application1', '2014-01-10 15:45:54', 241)
31576
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31577
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31578
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user2@hungrymachine.com' LIMIT 1
31579
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:45:54', 'user2@hungrymachine.com', 'first_name2', 'last_name2', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:45:54')
31580
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31581
+ Savepoint (2.0ms) SAVEPOINT active_record_1
31582
+ SQL (1.0ms) INSERT INTO `applications` (`ancestry`, `created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('118', '2014-01-10 15:45:54', 'description2', 'application2', '2014-01-10 15:45:54', 242)
31583
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
31584
+ Terminating 1 actors...
31585
+ Shutdown completed cleanly
31586
+ [Rearview] booting...
31587
+ [Rearview] using configuration:
31588
+ authentication={:strategy=>:database}
31589
+ default_from=rearview@localhost
31590
+ default_url_options={:host=>"localhost", :port=>"3000"}
31591
+ enable_alerts=true
31592
+ enable_monitor=false
31593
+ enable_stats=false
31594
+ graphite_url=nil
31595
+ logger=#<ActiveSupport::Logger:0x425f90ca>
31596
+ pagerduty_url=https://events.pagerduty.com/generic/2010-04-15/create_event.json
31597
+ preload_jobs=false
31598
+ sandbox_dir=/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox
31599
+ sandbox_exec=["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby"]
31600
+ sandbox_timeout=10
31601
+ statsd_connection={:host=>"127.0.0.1", :port=>8125, :namespace=>"rearview"}
31602
+ verify=false
31603
+ [Rearview] starting up monitor service for (0) job(s)
31604
+ [Rearview] monitor disabled
31605
+ Savepoint (5.0ms) SAVEPOINT active_record_1
31606
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user1@hungrymachine.com' LIMIT 1
31607
+ SQL (3.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:47:31', 'user1@hungrymachine.com', 'first_name1', 'last_name1', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:47:31')
31608
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31609
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31610
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 15:47:31', 'description1', 'application1', '2014-01-10 15:47:31', 243)
31611
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31612
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31613
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user2@hungrymachine.com' LIMIT 1
31614
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:47:31', 'user2@hungrymachine.com', 'first_name2', 'last_name2', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:47:31')
31615
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31616
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31617
+ SQL (2.0ms) INSERT INTO `applications` (`ancestry`, `created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('120', '2014-01-10 15:47:31', 'description2', 'application2', '2014-01-10 15:47:31', 244)
31618
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
31619
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31620
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user3@hungrymachine.com' LIMIT 1
31621
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:47:31', 'user3@hungrymachine.com', 'first_name3', 'last_name3', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:47:31')
31622
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
31623
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31624
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user4@hungrymachine.com' LIMIT 1
31625
+ SQL (2.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:47:31', 'user4@hungrymachine.com', 'first_name4', 'last_name4', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:47:31')
31626
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31627
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31628
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 15:47:31', 'description3', 'application3', '2014-01-10 15:47:31', 246)
31629
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31630
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31631
+ Rearview::Dashboard Load (9.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 121 ORDER BY `applications`.`id` ASC LIMIT 1
31632
+ SQL (2.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 121, '2014-01-10 15:47:31', '0 * * * * ?', 1, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job1', '2014-01-10 15:47:31', 245)
31633
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31634
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 120 LIMIT 1
31635
+ Terminating 1 actors...
31636
+ Shutdown completed cleanly
31637
+ [Rearview] booting...
31638
+ [Rearview] using configuration:
31639
+ authentication={:strategy=>:database}
31640
+ default_from=rearview@localhost
31641
+ default_url_options={:host=>"localhost", :port=>"3000"}
31642
+ enable_alerts=true
31643
+ enable_monitor=false
31644
+ enable_stats=false
31645
+ graphite_url=nil
31646
+ logger=#<ActiveSupport::Logger:0x101adfd1>
31647
+ pagerduty_url=https://events.pagerduty.com/generic/2010-04-15/create_event.json
31648
+ preload_jobs=false
31649
+ sandbox_dir=/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox
31650
+ sandbox_exec=["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby"]
31651
+ sandbox_timeout=10
31652
+ statsd_connection={:host=>"127.0.0.1", :port=>8125, :namespace=>"rearview"}
31653
+ verify=false
31654
+ [Rearview] starting up monitor service for (0) job(s)
31655
+ [Rearview] monitor disabled
31656
+ Savepoint (6.0ms) SAVEPOINT active_record_1
31657
+ Rearview::User Exists (4.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user1@hungrymachine.com' LIMIT 1
31658
+ SQL (2.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:48:08', 'user1@hungrymachine.com', 'first_name1', 'last_name1', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:48:08')
31659
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31660
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31661
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 15:48:07', 'description1', 'application1', '2014-01-10 15:48:07', 247)
31662
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31663
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31664
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user2@hungrymachine.com' LIMIT 1
31665
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:48:08', 'user2@hungrymachine.com', 'first_name2', 'last_name2', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:48:08')
31666
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
31667
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31668
+ SQL (1.0ms) INSERT INTO `applications` (`ancestry`, `created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('123', '2014-01-10 15:48:07', 'description2', 'application2', '2014-01-10 15:48:07', 248)
31669
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
31670
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31671
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user3@hungrymachine.com' LIMIT 1
31672
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:48:08', 'user3@hungrymachine.com', 'first_name3', 'last_name3', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:48:08')
31673
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
31674
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31675
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user4@hungrymachine.com' LIMIT 1
31676
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:48:08', 'user4@hungrymachine.com', 'first_name4', 'last_name4', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:48:08')
31677
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31678
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31679
+ SQL (2.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 15:48:07', 'description3', 'application3', '2014-01-10 15:48:07', 250)
31680
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31681
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31682
+ Rearview::Dashboard Load (7.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 124 ORDER BY `applications`.`id` ASC LIMIT 1
31683
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 124, '2014-01-10 15:48:08', '0 * * * * ?', 1, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job1', '2014-01-10 15:48:08', 249)
31684
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31685
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 123 LIMIT 1
31686
+ Terminating 1 actors...
31687
+ Shutdown completed cleanly
31688
+ [Rearview] booting...
31689
+ [Rearview] using configuration:
31690
+ authentication={:strategy=>:database}
31691
+ default_from=rearview@localhost
31692
+ default_url_options={:host=>"localhost", :port=>"3000"}
31693
+ enable_alerts=true
31694
+ enable_monitor=false
31695
+ enable_stats=false
31696
+ graphite_url=nil
31697
+ logger=#<ActiveSupport::Logger:0x6ad65e13>
31698
+ pagerduty_url=https://events.pagerduty.com/generic/2010-04-15/create_event.json
31699
+ preload_jobs=false
31700
+ sandbox_dir=/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox
31701
+ sandbox_exec=["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby"]
31702
+ sandbox_timeout=10
31703
+ statsd_connection={:host=>"127.0.0.1", :port=>8125, :namespace=>"rearview"}
31704
+ verify=false
31705
+ [Rearview] starting up monitor service for (0) job(s)
31706
+ [Rearview] monitor disabled
31707
+ Savepoint (4.0ms) SAVEPOINT active_record_1
31708
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user1@hungrymachine.com' LIMIT 1
31709
+ SQL (2.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:50:47', 'user1@hungrymachine.com', 'first_name1', 'last_name1', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:50:47')
31710
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31711
+ Savepoint (0ms) SAVEPOINT active_record_1
31712
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 15:50:47', 'description1', 'application1', '2014-01-10 15:50:47', 251)
31713
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31714
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31715
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user2@hungrymachine.com' LIMIT 1
31716
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:50:47', 'user2@hungrymachine.com', 'first_name2', 'last_name2', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:50:47')
31717
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31718
+ Savepoint (0ms) SAVEPOINT active_record_1
31719
+ SQL (1.0ms) INSERT INTO `applications` (`ancestry`, `created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('126', '2014-01-10 15:50:47', 'description2', 'application2', '2014-01-10 15:50:47', 252)
31720
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31721
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31722
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user3@hungrymachine.com' LIMIT 1
31723
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:50:47', 'user3@hungrymachine.com', 'first_name3', 'last_name3', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:50:47')
31724
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31725
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31726
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user4@hungrymachine.com' LIMIT 1
31727
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:50:47', 'user4@hungrymachine.com', 'first_name4', 'last_name4', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:50:47')
31728
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31729
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31730
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 15:50:47', 'description3', 'application3', '2014-01-10 15:50:47', 254)
31731
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31732
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31733
+ Rearview::Dashboard Load (10.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 127 ORDER BY `applications`.`id` ASC LIMIT 1
31734
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 127, '2014-01-10 15:50:47', '0 * * * * ?', 1, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job1', '2014-01-10 15:50:47', 253)
31735
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31736
+ Terminating 1 actors...
31737
+ Shutdown completed cleanly
31738
+ [Rearview] booting...
31739
+ [Rearview] using configuration:
31740
+ authentication={:strategy=>:database}
31741
+ default_from=rearview@localhost
31742
+ default_url_options={:host=>"localhost", :port=>"3000"}
31743
+ enable_alerts=true
31744
+ enable_monitor=false
31745
+ enable_stats=false
31746
+ graphite_url=nil
31747
+ logger=#<ActiveSupport::Logger:0x425f90ca>
31748
+ pagerduty_url=https://events.pagerduty.com/generic/2010-04-15/create_event.json
31749
+ preload_jobs=false
31750
+ sandbox_dir=/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox
31751
+ sandbox_exec=["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby"]
31752
+ sandbox_timeout=10
31753
+ statsd_connection={:host=>"127.0.0.1", :port=>8125, :namespace=>"rearview"}
31754
+ verify=false
31755
+ [Rearview] starting up monitor service for (0) job(s)
31756
+ [Rearview] monitor disabled
31757
+ Savepoint (4.0ms) SAVEPOINT active_record_1
31758
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user1@hungrymachine.com' LIMIT 1
31759
+ SQL (3.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:52:48', 'user1@hungrymachine.com', 'first_name1', 'last_name1', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:52:48')
31760
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31761
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31762
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 15:52:48', 'description1', 'application1', '2014-01-10 15:52:48', 255)
31763
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31764
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31765
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user2@hungrymachine.com' LIMIT 1
31766
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:52:48', 'user2@hungrymachine.com', 'first_name2', 'last_name2', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:52:48')
31767
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31768
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31769
+ SQL (1.0ms) INSERT INTO `applications` (`ancestry`, `created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('129', '2014-01-10 15:52:48', 'description2', 'application2', '2014-01-10 15:52:48', 256)
31770
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
31771
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31772
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user3@hungrymachine.com' LIMIT 1
31773
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:52:48', 'user3@hungrymachine.com', 'first_name3', 'last_name3', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:52:48')
31774
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31775
+ Savepoint (0ms) SAVEPOINT active_record_1
31776
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user4@hungrymachine.com' LIMIT 1
31777
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:52:48', 'user4@hungrymachine.com', 'first_name4', 'last_name4', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:52:48')
31778
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31779
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31780
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 15:52:48', 'description3', 'application3', '2014-01-10 15:52:48', 258)
31781
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31782
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31783
+ Rearview::Dashboard Load (7.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 130 ORDER BY `applications`.`id` ASC LIMIT 1
31784
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 130, '2014-01-10 15:52:48', '0 * * * * ?', 1, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job1', '2014-01-10 15:52:48', 257)
31785
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31786
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31787
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user5@hungrymachine.com' LIMIT 1
31788
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:52:48', 'user5@hungrymachine.com', 'first_name5', 'last_name5', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:52:48')
31789
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31790
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31791
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user6@hungrymachine.com' LIMIT 1
31792
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:52:48', 'user6@hungrymachine.com', 'first_name6', 'last_name6', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:52:48')
31793
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31794
+ Savepoint (0ms) SAVEPOINT active_record_1
31795
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 15:52:48', 'description4', 'application4', '2014-01-10 15:52:48', 260)
31796
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31797
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31798
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 132, '2014-01-10 15:52:48', '0 * * * * ?', 2, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job2', '2014-01-10 15:52:48', 259)
31799
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31800
+ Terminating 1 actors...
31801
+ Shutdown completed cleanly
31802
+ [Rearview] booting...
31803
+ [Rearview] using configuration:
31804
+ authentication={:strategy=>:database}
31805
+ default_from=rearview@localhost
31806
+ default_url_options={:host=>"localhost", :port=>"3000"}
31807
+ enable_alerts=true
31808
+ enable_monitor=false
31809
+ enable_stats=false
31810
+ graphite_url=nil
31811
+ logger=#<ActiveSupport::Logger:0x18647aa3>
31812
+ pagerduty_url=https://events.pagerduty.com/generic/2010-04-15/create_event.json
31813
+ preload_jobs=false
31814
+ sandbox_dir=/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox
31815
+ sandbox_exec=["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby"]
31816
+ sandbox_timeout=10
31817
+ statsd_connection={:host=>"127.0.0.1", :port=>8125, :namespace=>"rearview"}
31818
+ verify=false
31819
+ [Rearview] starting up monitor service for (0) job(s)
31820
+ [Rearview] monitor disabled
31821
+ Savepoint (4.0ms) SAVEPOINT active_record_1
31822
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user1@hungrymachine.com' LIMIT 1
31823
+ SQL (2.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:54:28', 'user1@hungrymachine.com', 'first_name1', 'last_name1', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:54:28')
31824
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31825
+ Savepoint (0ms) SAVEPOINT active_record_1
31826
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 15:54:28', 'description1', 'application1', '2014-01-10 15:54:28', 261)
31827
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
31828
+ Savepoint (0ms) SAVEPOINT active_record_1
31829
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user2@hungrymachine.com' LIMIT 1
31830
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:54:28', 'user2@hungrymachine.com', 'first_name2', 'last_name2', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:54:28')
31831
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31832
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31833
+ SQL (2.0ms) INSERT INTO `applications` (`ancestry`, `created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('133', '2014-01-10 15:54:28', 'description2', 'application2', '2014-01-10 15:54:28', 262)
31834
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31835
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31836
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user3@hungrymachine.com' LIMIT 1
31837
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:54:28', 'user3@hungrymachine.com', 'first_name3', 'last_name3', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:54:28')
31838
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31839
+ Savepoint (0ms) SAVEPOINT active_record_1
31840
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user4@hungrymachine.com' LIMIT 1
31841
+ SQL (2.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:54:28', 'user4@hungrymachine.com', 'first_name4', 'last_name4', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:54:28')
31842
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31843
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31844
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 15:54:28', 'description3', 'application3', '2014-01-10 15:54:28', 264)
31845
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
31846
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31847
+ Rearview::Dashboard Load (9.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 134 ORDER BY `applications`.`id` ASC LIMIT 1
31848
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 134, '2014-01-10 15:54:28', '0 * * * * ?', 1, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job1', '2014-01-10 15:54:28', 263)
31849
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31850
+ Rearview::Dashboard Load (2.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 133 LIMIT 1
31851
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31852
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user5@hungrymachine.com' LIMIT 1
31853
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:54:28', 'user5@hungrymachine.com', 'first_name5', 'last_name5', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:54:28')
31854
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
31855
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31856
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user6@hungrymachine.com' LIMIT 1
31857
+ SQL (2.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:54:28', 'user6@hungrymachine.com', 'first_name6', 'last_name6', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:54:28')
31858
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31859
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31860
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 15:54:28', 'description4', 'application4', '2014-01-10 15:54:28', 266)
31861
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31862
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31863
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 136, '2014-01-10 15:54:28', '0 * * * * ?', 2, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job2', '2014-01-10 15:54:28', 265)
31864
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31865
+ Terminating 1 actors...
31866
+ Shutdown completed cleanly
31867
+ [Rearview] booting...
31868
+ [Rearview] using configuration:
31869
+ authentication={:strategy=>:database}
31870
+ default_from=rearview@localhost
31871
+ default_url_options={:host=>"localhost", :port=>"3000"}
31872
+ enable_alerts=true
31873
+ enable_monitor=false
31874
+ enable_stats=false
31875
+ graphite_url=nil
31876
+ logger=#<ActiveSupport::Logger:0x64aacab6>
31877
+ pagerduty_url=https://events.pagerduty.com/generic/2010-04-15/create_event.json
31878
+ preload_jobs=false
31879
+ sandbox_dir=/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox
31880
+ sandbox_exec=["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby"]
31881
+ sandbox_timeout=10
31882
+ statsd_connection={:host=>"127.0.0.1", :port=>8125, :namespace=>"rearview"}
31883
+ verify=false
31884
+ [Rearview] starting up monitor service for (0) job(s)
31885
+ [Rearview] monitor disabled
31886
+ Savepoint (4.0ms) SAVEPOINT active_record_1
31887
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user1@hungrymachine.com' LIMIT 1
31888
+ SQL (3.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:58:45', 'user1@hungrymachine.com', 'first_name1', 'last_name1', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:58:45')
31889
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
31890
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31891
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 15:58:45', 'description1', 'application1', '2014-01-10 15:58:45', 267)
31892
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31893
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31894
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user2@hungrymachine.com' LIMIT 1
31895
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:58:45', 'user2@hungrymachine.com', 'first_name2', 'last_name2', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:58:45')
31896
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31897
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31898
+ SQL (1.0ms) INSERT INTO `applications` (`ancestry`, `created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('137', '2014-01-10 15:58:45', 'description2', 'application2', '2014-01-10 15:58:45', 268)
31899
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
31900
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31901
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user3@hungrymachine.com' LIMIT 1
31902
+ SQL (2.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:58:45', 'user3@hungrymachine.com', 'first_name3', 'last_name3', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:58:45')
31903
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31904
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31905
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user4@hungrymachine.com' LIMIT 1
31906
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:58:45', 'user4@hungrymachine.com', 'first_name4', 'last_name4', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:58:45')
31907
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31908
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31909
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 15:58:45', 'description3', 'application3', '2014-01-10 15:58:45', 270)
31910
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
31911
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31912
+ Rearview::Dashboard Load (8.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 138 ORDER BY `applications`.`id` ASC LIMIT 1
31913
+ SQL (2.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 138, '2014-01-10 15:58:45', '0 * * * * ?', 1, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job1', '2014-01-10 15:58:45', 269)
31914
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31915
+ Rearview::Dashboard Load (2.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 137 LIMIT 1
31916
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31917
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user5@hungrymachine.com' LIMIT 1
31918
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:58:45', 'user5@hungrymachine.com', 'first_name5', 'last_name5', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:58:45')
31919
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31920
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31921
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user6@hungrymachine.com' LIMIT 1
31922
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 15:58:45', 'user6@hungrymachine.com', 'first_name6', 'last_name6', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 15:58:45')
31923
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31924
+ Savepoint (0ms) SAVEPOINT active_record_1
31925
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 15:58:45', 'description4', 'application4', '2014-01-10 15:58:45', 272)
31926
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31927
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31928
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 140, '2014-01-10 15:58:45', '0 * * * * ?', 2, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job2', '2014-01-10 15:58:45', 271)
31929
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31930
+ Terminating 1 actors...
31931
+ Shutdown completed cleanly
31932
+ [Rearview] booting...
31933
+ [Rearview] using configuration:
31934
+ authentication={:strategy=>:database}
31935
+ default_from=rearview@localhost
31936
+ default_url_options={:host=>"localhost", :port=>"3000"}
31937
+ enable_alerts=true
31938
+ enable_monitor=false
31939
+ enable_stats=false
31940
+ graphite_url=nil
31941
+ logger=#<ActiveSupport::Logger:0x136a9bdc>
31942
+ pagerduty_url=https://events.pagerduty.com/generic/2010-04-15/create_event.json
31943
+ preload_jobs=false
31944
+ sandbox_dir=/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox
31945
+ sandbox_exec=["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby"]
31946
+ sandbox_timeout=10
31947
+ statsd_connection={:host=>"127.0.0.1", :port=>8125, :namespace=>"rearview"}
31948
+ verify=false
31949
+ [Rearview] starting up monitor service for (0) job(s)
31950
+ [Rearview] monitor disabled
31951
+ Savepoint (4.0ms) SAVEPOINT active_record_1
31952
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user1@hungrymachine.com' LIMIT 1
31953
+ SQL (3.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user1@hungrymachine.com', 'first_name1', 'last_name1', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
31954
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31955
+ Savepoint (0ms) SAVEPOINT active_record_1
31956
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user2@hungrymachine.com' LIMIT 1
31957
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user2@hungrymachine.com', 'first_name2', 'last_name2', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
31958
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
31959
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31960
+ SQL (3.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description1', 'application1', '2014-01-10 16:00:21', 2)
31961
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
31962
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31963
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"pagerduty:54232f6f4c4447efb6d15e20dbb7349b\"]', 1, '2014-01-10 16:00:21', '0 * * * * ?', 1, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job1', '2014-01-10 16:00:21', 1)
31964
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31965
+ #<Rearview::Alerts::PagerDutyAlert:0x572ae69a> send alert for #<Rearview::Job id: 1, created_at: "2014-01-10 16:00:21", updated_at: "2014-01-10 16:00:21", name: "job1", active: true, last_run: nil, cron_expr: "0 * * * * ?", status: nil, user_id: 1, alert_keys: ["pagerduty:54232f6f4c4447efb6d15e20dbb7349b"], deleted_at: nil, error_timeout: 60, next_run: nil, description: nil, app_id: 1, metrics: ["stats_counts.cupcake.web_traffic.impression"], monitor_expr: "puts 'hello, world!'", minutes: 1, to_date: nil> and key pagerduty:54232f6f4c4447efb6d15e20dbb7349b with params {"scheme"=>"pagerduty", "token"=>"54232f6f4c4447efb6d15e20dbb7349b"}
31966
+ #<Rearview::StatsTask:0x3c5bec55> schedule
31967
+ #<Rearview::StatsTask:0x4c2c660b> run
31968
+ #<Rearview::StatsTask:0x4c2c660b> schedule
31969
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31970
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user3@hungrymachine.com' LIMIT 1
31971
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user3@hungrymachine.com', 'first_name3', 'last_name3', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
31972
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31973
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31974
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user4@hungrymachine.com' LIMIT 1
31975
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user4@hungrymachine.com', 'first_name4', 'last_name4', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
31976
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31977
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31978
+ SQL (2.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description2', 'application2', '2014-01-10 16:00:21', 4)
31979
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31980
+ Savepoint (0ms) SAVEPOINT active_record_1
31981
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 2, '2014-01-10 16:00:21', '0 * * * * ?', 2, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job2', '2014-01-10 16:00:21', 3)
31982
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31983
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31984
+ SQL (1.0ms) INSERT INTO `job_data` (`created_at`, `data`, `job_id`, `updated_at`) VALUES ('2014-01-10 16:00:21', '{\"status\":\"success\",\"output\":\"yo\",\"graph_data\":{\"stats_counts.cupcake.web_traffic.impression\":[[1368035700,66.0],[1368035710,76.0],[1368035720,86.0],[1368035730,63.0],[1368035740,70.0],[1368035750,56.0],[1368035760,null]]}}', 2, '2014-01-10 16:00:21')
31985
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31986
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31987
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user5@hungrymachine.com' LIMIT 1
31988
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user5@hungrymachine.com', 'first_name5', 'last_name5', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
31989
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31990
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31991
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user6@hungrymachine.com' LIMIT 1
31992
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user6@hungrymachine.com', 'first_name6', 'last_name6', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
31993
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
31994
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31995
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description3', 'application3', '2014-01-10 16:00:21', 6)
31996
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
31997
+ Savepoint (1.0ms) SAVEPOINT active_record_1
31998
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 3, '2014-01-10 16:00:21', '0 * * * * ?', 3, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job3', '2014-01-10 16:00:21', 5)
31999
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32000
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32001
+ SQL (4.0ms) INSERT INTO `job_data` (`created_at`, `data`, `job_id`, `updated_at`) VALUES ('2014-01-10 16:00:21', '{\"status\":\"success\",\"output\":\"yo\",\"graph_data\":{\"stats_counts.cupcake.web_traffic.impression\":[[1368035700,66.0],[1368035710,76.0],[1368035720,86.0],[1368035730,63.0],[1368035740,70.0],[1368035750,56.0],[1368035760,null]]}}', 3, '2014-01-10 16:00:21')
32002
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32003
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32004
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user7@hungrymachine.com' LIMIT 1
32005
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user7@hungrymachine.com', 'first_name7', 'last_name7', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32006
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32007
+ Processing by Rearview::MonitorController#create as JSON
32008
+ Parameters: {"metrics"=>"blah.blah.blah", "monitorExpr"=>"abc", "minutes"=>"1", "toDate"=>"now"}
32009
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/monitor/create.json.jbuilder (2.0ms)
32010
+ Completed 200 OK in 28ms (Views: 25.0ms | ActiveRecord: 0.0ms)
32011
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32012
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user8@hungrymachine.com' LIMIT 1
32013
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user8@hungrymachine.com', 'first_name8', 'last_name8', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32014
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32015
+ Savepoint (0ms) SAVEPOINT active_record_1
32016
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user9@hungrymachine.com' LIMIT 1
32017
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user9@hungrymachine.com', 'first_name9', 'last_name9', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32018
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32019
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32020
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description4', 'application4', '2014-01-10 16:00:21', 9)
32021
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
32022
+ Savepoint (0ms) SAVEPOINT active_record_1
32023
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 4, '2014-01-10 16:00:21', '0 * * * * ?', 4, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job4', '2014-01-10 16:00:21', 8)
32024
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32025
+ #<Rearview::Alerts::EmailAlert:0xfb43d0b> send alert for #<Rearview::Job id: 4, created_at: "2014-01-10 16:00:21", updated_at: "2014-01-10 16:00:21", name: "job4", active: true, last_run: nil, cron_expr: "0 * * * * ?", status: nil, user_id: 8, alert_keys: ["mailto:foo@hungrymachine.com", "pagerduty:54232f6f4c4447efb6d15e20dbb7349c"], deleted_at: nil, error_timeout: 60, next_run: nil, description: nil, app_id: 4, metrics: ["stats_counts.cupcake.web_traffic.impression"], monitor_expr: "puts 'hello, world!'", minutes: 1, to_date: nil> and key mailto:foo@hungrymachine.com with params {"scheme"=>"mailto", "email"=>"foo@hungrymachine.com"}
32026
+ Savepoint (0ms) SAVEPOINT active_record_1
32027
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user10@hungrymachine.com' LIMIT 1
32028
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user10@hungrymachine.com', 'first_name10', 'last_name10', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32029
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32030
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32031
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user11@hungrymachine.com' LIMIT 1
32032
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user11@hungrymachine.com', 'first_name11', 'last_name11', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32033
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32034
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32035
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description5', 'application5', '2014-01-10 16:00:21', 11)
32036
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32037
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32038
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 5, '2014-01-10 16:00:21', '0 * * * * ?', 5, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job5', '2014-01-10 16:00:21', 10)
32039
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32040
+ #<Rearview::Alerts::EmailAlert:0x49523e5c> send alert for #<Rearview::Job id: 5, created_at: "2014-01-10 16:00:21", updated_at: "2014-01-10 16:00:21", name: "job5", active: true, last_run: nil, cron_expr: "0 * * * * ?", status: nil, user_id: 10, alert_keys: ["mailto:foo@hungrymachine.com", "pagerduty:54232f6f4c4447efb6d15e20dbb7349c"], deleted_at: nil, error_timeout: 60, next_run: nil, description: nil, app_id: 5, metrics: ["stats_counts.cupcake.web_traffic.impression"], monitor_expr: "puts 'hello, world!'", minutes: 1, to_date: nil> and key mailto:foo@hungrymachine.com with params {"scheme"=>"mailto", "email"=>"foo@hungrymachine.com"}
32041
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32042
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user12@hungrymachine.com' LIMIT 1
32043
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user12@hungrymachine.com', 'first_name12', 'last_name12', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32044
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
32045
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32046
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user13@hungrymachine.com' LIMIT 1
32047
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user13@hungrymachine.com', 'first_name13', 'last_name13', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32048
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32049
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32050
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description6', 'application6', '2014-01-10 16:00:21', 13)
32051
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
32052
+ Savepoint (0ms) SAVEPOINT active_record_1
32053
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 6, '2014-01-10 16:00:21', '0 * * * * ?', 6, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job6', '2014-01-10 16:00:21', 12)
32054
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
32055
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32056
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user14@hungrymachine.com' LIMIT 1
32057
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user14@hungrymachine.com', 'first_name14', 'last_name14', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32058
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32059
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32060
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user15@hungrymachine.com' LIMIT 1
32061
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user15@hungrymachine.com', 'first_name15', 'last_name15', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32062
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32063
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32064
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description7', 'application7', '2014-01-10 16:00:21', 15)
32065
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
32066
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32067
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 7, '2014-01-10 16:00:21', '0 * * * * ?', 7, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job7', '2014-01-10 16:00:21', 14)
32068
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32069
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32070
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user16@hungrymachine.com' LIMIT 1
32071
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user16@hungrymachine.com', 'first_name16', 'last_name16', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32072
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32073
+ Savepoint (0ms) SAVEPOINT active_record_1
32074
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user17@hungrymachine.com' LIMIT 1
32075
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user17@hungrymachine.com', 'first_name17', 'last_name17', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32076
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32077
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32078
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description8', 'application8', '2014-01-10 16:00:21', 17)
32079
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32080
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32081
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 8, '2014-01-10 16:00:21', '0 * * * * ?', 8, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job8', '2014-01-10 16:00:21', 16)
32082
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32083
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32084
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user18@hungrymachine.com' LIMIT 1
32085
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user18@hungrymachine.com', 'first_name18', 'last_name18', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32086
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32087
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32088
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user19@hungrymachine.com' LIMIT 1
32089
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user19@hungrymachine.com', 'first_name19', 'last_name19', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32090
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32091
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32092
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description9', 'application9', '2014-01-10 16:00:21', 19)
32093
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32094
+ Savepoint (0ms) SAVEPOINT active_record_1
32095
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 9, '2014-01-10 16:00:21', '0 * * * * ?', 9, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job9', '2014-01-10 16:00:21', 18)
32096
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
32097
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32098
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user20@hungrymachine.com' LIMIT 1
32099
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user20@hungrymachine.com', 'first_name20', 'last_name20', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32100
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32101
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32102
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user21@hungrymachine.com' LIMIT 1
32103
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user21@hungrymachine.com', 'first_name21', 'last_name21', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32104
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32105
+ Savepoint (0ms) SAVEPOINT active_record_1
32106
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description10', 'application10', '2014-01-10 16:00:21', 21)
32107
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32108
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32109
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 10, '2014-01-10 16:00:21', '0 * * * * ?', 10, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job10', '2014-01-10 16:00:21', 20)
32110
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32111
+ Savepoint (0ms) SAVEPOINT active_record_1
32112
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user22@hungrymachine.com' LIMIT 1
32113
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user22@hungrymachine.com', 'first_name22', 'last_name22', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32114
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32115
+ Savepoint (0ms) SAVEPOINT active_record_1
32116
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user23@hungrymachine.com' LIMIT 1
32117
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user23@hungrymachine.com', 'first_name23', 'last_name23', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32118
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32119
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32120
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description11', 'application11', '2014-01-10 16:00:21', 23)
32121
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32122
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32123
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 11, '2014-01-10 16:00:21', '0 * * * * ?', 11, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job11', '2014-01-10 16:00:21', 22)
32124
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32125
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32126
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user24@hungrymachine.com' LIMIT 1
32127
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user24@hungrymachine.com', 'first_name24', 'last_name24', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32128
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
32129
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32130
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user25@hungrymachine.com' LIMIT 1
32131
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user25@hungrymachine.com', 'first_name25', 'last_name25', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32132
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32133
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32134
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description12', 'application12', '2014-01-10 16:00:21', 25)
32135
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32136
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32137
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 12, '2014-01-10 16:00:21', '0 * * * * ?', 12, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job12', '2014-01-10 16:00:21', 24)
32138
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32139
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32140
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user26@hungrymachine.com' LIMIT 1
32141
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user26@hungrymachine.com', 'first_name26', 'last_name26', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32142
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32143
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32144
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user27@hungrymachine.com' LIMIT 1
32145
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user27@hungrymachine.com', 'first_name27', 'last_name27', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32146
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32147
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32148
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description13', 'application13', '2014-01-10 16:00:21', 27)
32149
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32150
+ Processing by Rearview::DashboardsController#errors as JSON
32151
+ Parameters: {"id"=>"13"}
32152
+ Rearview::JobError Load (1.0ms) SELECT `job_errors`.* FROM `job_errors` INNER JOIN jobs ON jobs.id = job_errors.job_id INNER JOIN applications ON applications.id = jobs.app_id WHERE (applications.id = '13') ORDER BY created_at DESC
32153
+ Completed 200 OK in 14ms (Views: 8.0ms | ActiveRecord: 1.0ms)
32154
+ Savepoint (0ms) SAVEPOINT active_record_1
32155
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user28@hungrymachine.com' LIMIT 1
32156
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user28@hungrymachine.com', 'first_name28', 'last_name28', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32157
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32158
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32159
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user29@hungrymachine.com' LIMIT 1
32160
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user29@hungrymachine.com', 'first_name29', 'last_name29', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32161
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32162
+ Processing by Rearview::DashboardsController#create as JSON
32163
+ Parameters: {"userId"=>"29", "name"=>"application14"}
32164
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` IS NULL LIMIT 1
32165
+ WARNING: Can't mass-assign protected attributes for Rearview::Dashboard: id
32166
+ protected_attributes (1.0.5) lib/active_model/mass_assignment_security/sanitizer.rb:46:in `process_removed_attributes'
32167
+ /Users/trentalbrigh/.rvm/rubies/jruby-1.7.5/lib/ruby/1.9/logger.rb:371:in `add'
32168
+ /Users/trentalbrigh/.rvm/rubies/jruby-1.7.5/lib/ruby/1.9/logger.rb:443:in `warn'
32169
+ protected_attributes (1.0.5) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes'
32170
+ protected_attributes (1.0.5) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize'
32171
+ protected_attributes (1.0.5) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment'
32172
+ protected_attributes (1.0.5) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes'
32173
+ protected_attributes (1.0.5) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes'
32174
+ activerecord (4.0.2) lib/active_record/core.rb:185:in `initialize'
32175
+ activerecord (4.0.2) lib/active_record/inheritance.rb:27:in `new'
32176
+ activerecord (4.0.2) lib/active_record/relation.rb:98:in `new'
32177
+ activerecord (4.0.2) lib/active_record/relation.rb:270:in `scoping'
32178
+ activerecord (4.0.2) lib/active_record/relation.rb:98:in `new'
32179
+ activerecord (4.0.2) lib/active_record/relation.rb:202:in `find_or_initialize_by'
32180
+ activerecord (4.0.2) lib/active_record/querying.rb:5:in `find_or_initialize_by'
32181
+ /Users/trentalbrigh/workspaces/rearview-engine/app/controllers/rearview/dashboards_controller.rb:38:in `upsert'
32182
+ /Users/trentalbrigh/workspaces/rearview-engine/app/controllers/rearview/dashboards_controller.rb:16:in `create'
32183
+ actionpack (4.0.2) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
32184
+ actionpack (4.0.2) lib/abstract_controller/base.rb:189:in `process_action'
32185
+ actionpack (4.0.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
32186
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:18:in `process_action'
32187
+ activesupport (4.0.2) lib/active_support/callbacks.rb:386:in `_run__1867796613__process_action__callbacks'
32188
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
32189
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
32190
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
32191
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `process_action'
32192
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
32193
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
32194
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:19:in `instrument'
32195
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
32196
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
32197
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
32198
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
32199
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
32200
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
32201
+ actionpack (4.0.2) lib/action_controller/test_case.rb:569:in `process'
32202
+ actionpack (4.0.2) lib/action_controller/test_case.rb:64:in `process'
32203
+ actionpack (4.0.2) lib/action_controller/test_case.rb:475:in `post'
32204
+ /Users/trentalbrigh/workspaces/rearview-engine/spec/controllers/dashboards_controller_spec.rb:36:in `(root)'
32205
+ rspec-core (2.14.7) lib/rspec/core/example.rb:114:in `instance_eval'
32206
+ rspec-core (2.14.7) lib/rspec/core/example.rb:114:in `run'
32207
+ rspec-rails (2.14.0) lib/rspec/rails/example/controller_example_group.rb:158:in `call'
32208
+ rspec-rails (2.14.0) lib/rspec/rails/example/controller_example_group.rb:158:in `ControllerExampleGroup'
32209
+ rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
32210
+ rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
32211
+ rspec-core (2.14.7) lib/rspec/core/example.rb:247:in `instance_eval_with_args'
32212
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:106:in `run'
32213
+ rspec-core (2.14.7) lib/rspec/core/example.rb:179:in `call'
32214
+ rspec-core (2.14.7) lib/rspec/core/example.rb:179:in `extended'
32215
+ rspec-rails (2.14.0) lib/rspec/rails/adapters.rb:51:in `MiniTestLifecycleAdapter'
32216
+ rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
32217
+ rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
32218
+ rspec-core (2.14.7) lib/rspec/core/example.rb:247:in `instance_eval_with_args'
32219
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:106:in `run'
32220
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:104:in `call'
32221
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:104:in `run'
32222
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:446:in `run_hook'
32223
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
32224
+ rspec-core (2.14.7) lib/rspec/core/example.rb:256:in `with_around_each_hooks'
32225
+ rspec-core (2.14.7) lib/rspec/core/example.rb:111:in `run'
32226
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:390:in `run_examples'
32227
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:386:in `map'
32228
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:386:in `run_examples'
32229
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:371:in `run'
32230
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:372:in `run'
32231
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:372:in `map'
32232
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:372:in `run'
32233
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:28:in `run'
32234
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:28:in `map'
32235
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:28:in `run'
32236
+ rspec-core (2.14.7) lib/rspec/core/reporter.rb:58:in `report'
32237
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:25:in `run'
32238
+ rspec-core (2.14.7) lib/rspec/core/runner.rb:80:in `run'
32239
+ rspec-core (2.14.7) lib/rspec/core/runner.rb:17:in `autorun'
32240
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32241
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:27', 'application14', '2014-01-10 16:00:27', 28)
32242
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32243
+ Completed 200 OK in 27ms (Views: 5.0ms | ActiveRecord: 2.0ms)
32244
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32245
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user30@hungrymachine.com' LIMIT 1
32246
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user30@hungrymachine.com', 'first_name30', 'last_name30', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32247
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32248
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32249
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user31@hungrymachine.com' LIMIT 1
32250
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user31@hungrymachine.com', 'first_name31', 'last_name31', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32251
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32252
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32253
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description15', 'application15', '2014-01-10 16:00:21', 31)
32254
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32255
+ Processing by Rearview::DashboardsController#destroy as JSON
32256
+ Parameters: {"id"=>"15"}
32257
+ Rearview::Dashboard Load (8.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 15 LIMIT 1
32258
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32259
+ Rearview::Job Load (1.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`app_id` = 15
32260
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE (applications.ancestry like '15/%' or applications.ancestry = '15')
32261
+ SQL (1.0ms) DELETE FROM `applications` WHERE `applications`.`id` = 15
32262
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32263
+ Completed 200 OK in 44ms (Views: 3.0ms | ActiveRecord: 12.0ms)
32264
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32265
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user32@hungrymachine.com' LIMIT 1
32266
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user32@hungrymachine.com', 'first_name32', 'last_name32', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32267
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32268
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32269
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user33@hungrymachine.com' LIMIT 1
32270
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user33@hungrymachine.com', 'first_name33', 'last_name33', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32271
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32272
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32273
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description16', 'application16', '2014-01-10 16:00:21', 33)
32274
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32275
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32276
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user34@hungrymachine.com' LIMIT 1
32277
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user34@hungrymachine.com', 'first_name34', 'last_name34', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32278
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32279
+ Processing by Rearview::DashboardsController#update as JSON
32280
+ Parameters: {"userId"=>"33", "name"=>"application17", "id"=>"16"}
32281
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 16 LIMIT 1
32282
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32283
+ SQL (0ms) UPDATE `applications` SET `name` = 'application17', `user_id` = 32, `description` = NULL, `updated_at` = '2014-01-10 16:00:27' WHERE `applications`.`id` = 16
32284
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32285
+ Completed 200 OK in 22ms (Views: 7.0ms | ActiveRecord: 2.0ms)
32286
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32287
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user35@hungrymachine.com' LIMIT 1
32288
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user35@hungrymachine.com', 'first_name35', 'last_name35', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32289
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32290
+ Processing by Rearview::DashboardsController#index as JSON
32291
+ Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.0ms)
32292
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32293
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user36@hungrymachine.com' LIMIT 1
32294
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user36@hungrymachine.com', 'first_name36', 'last_name36', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32295
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32296
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32297
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user37@hungrymachine.com' LIMIT 1
32298
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user37@hungrymachine.com', 'first_name37', 'last_name37', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32299
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32300
+ Savepoint (0ms) SAVEPOINT active_record_1
32301
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description18', 'application18', '2014-01-10 16:00:21', 37)
32302
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32303
+ Processing by Rearview::DashboardsController#show as JSON
32304
+ Parameters: {"id"=>"17"}
32305
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 17 LIMIT 1
32306
+ Completed 200 OK in 8ms (Views: 4.0ms | ActiveRecord: 1.0ms)
32307
+ Savepoint (0ms) SAVEPOINT active_record_1
32308
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user38@hungrymachine.com' LIMIT 1
32309
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user38@hungrymachine.com', 'first_name38', 'last_name38', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32310
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32311
+ Processing by Rearview::UserController#update as JSON
32312
+ Parameters: {"preferences"=>{"pref1"=>"val1", "pref2"=>"val2"}}
32313
+ Completed 200 OK in 12ms (Views: 10.0ms | ActiveRecord: 0.0ms)
32314
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32315
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user39@hungrymachine.com' LIMIT 1
32316
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user39@hungrymachine.com', 'first_name39', 'last_name39', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32317
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32318
+ Processing by Rearview::UserController#show as JSON
32319
+ Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.0ms)
32320
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32321
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user40@hungrymachine.com' LIMIT 1
32322
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user40@hungrymachine.com', 'first_name40', 'last_name40', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32323
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32324
+ Savepoint (0ms) SAVEPOINT active_record_1
32325
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user41@hungrymachine.com' LIMIT 1
32326
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user41@hungrymachine.com', 'first_name41', 'last_name41', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32327
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
32328
+ Savepoint (0ms) SAVEPOINT active_record_1
32329
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description19', 'application19', '2014-01-10 16:00:21', 41)
32330
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
32331
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32332
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 18, '2014-01-10 16:00:21', '0 * * * * ?', 13, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job13', '2014-01-10 16:00:21', 40)
32333
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32334
+ #<Rearview::ResultsHandler:0x348076c8> run
32335
+ Rearview::JobData Load (1.0ms) SELECT `job_data`.* FROM `job_data` WHERE `job_data`.`job_id` = 13 LIMIT 1
32336
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32337
+ Savepoint (1.0ms) ROLLBACK TO SAVEPOINT active_record_1
32338
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32339
+ SQL (1.0ms) INSERT INTO `job_data` (`created_at`, `data`, `job_id`, `updated_at`) VALUES ('2014-01-10 16:00:27', '{\"status\":\"error\",\"output\":null,\"graph_data\":null}', 13, '2014-01-10 16:00:27')
32340
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
32341
+ #<Rearview::ResultsHandler:0x348076c8> firing event :error for #<Rearview::Job id: 13, created_at: "2014-01-10 16:00:21", updated_at: "2014-01-10 16:00:21", name: "job13", active: true, last_run: "2014-01-10 16:00:27", cron_expr: "0 * * * * ?", status: nil, user_id: 40, alert_keys: ["mailto:foo@hungrymachine.com", "pagerduty:54232f6f4c4447efb6d15e20dbb7349c"], deleted_at: nil, error_timeout: 60, next_run: nil, description: nil, app_id: 18, metrics: ["stats_counts.cupcake.web_traffic.impression"], monitor_expr: "puts 'hello, world!'", minutes: 1, to_date: nil>
32342
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32343
+ SQL (0ms) UPDATE `jobs` SET `last_run` = '2014-01-10 16:00:27', `status` = 'error', `updated_at` = '2014-01-10 16:00:27', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 13
32344
+ #<Rearview::Job:0x30683959>#create_associated_event for transition #<StateMachine::Transition attribute=:status event=:error from=nil from_name=nil to="error" to_name=:error>
32345
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `updated_at`) VALUES ('2014-01-10 16:00:27', 13, '2014-01-10 16:00:27')
32346
+ SQL (1.0ms) UPDATE `job_errors` SET `status` = 'error', `updated_at` = '2014-01-10 16:00:27' WHERE `job_errors`.`id` = 1
32347
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32348
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32349
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user42@hungrymachine.com' LIMIT 1
32350
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user42@hungrymachine.com', 'first_name42', 'last_name42', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32351
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
32352
+ Savepoint (0ms) SAVEPOINT active_record_1
32353
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user43@hungrymachine.com' LIMIT 1
32354
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user43@hungrymachine.com', 'first_name43', 'last_name43', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32355
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32356
+ Savepoint (0ms) SAVEPOINT active_record_1
32357
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description20', 'application20', '2014-01-10 16:00:21', 43)
32358
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32359
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32360
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@foo.com\",\"pagerduty:387214d0a12c012fbf5a22000afc49b8\"]', 19, '2014-01-10 16:00:21', '0 * * * * ?', 14, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job14', '2014-01-10 16:00:21', 42)
32361
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32362
+ #<Rearview::AlertsHandler:0x5a6f7997> [jobId:14 threadId:1 threadName:main] run
32363
+ #<Rearview::AlertsHandler:0x5a6f7997> [jobId:14 threadId:1 threadName:main] #<Mocha::Mock:0x4dec310d> failed: oops
32364
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/exception_raiser.rb:11:in `evaluate'
32365
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/return_values.rb:20:in `next'
32366
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/expectation.rb:569:in `invoke'
32367
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/mock.rb:232:in `method_missing'
32368
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/alerts_handler.rb:16:in `run'
32369
+ org/jruby/RubyArray.java:1613:in `each'
32370
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/alerts_handler.rb:13:in `run'
32371
+ /Users/trentalbrigh/workspaces/rearview-engine/spec/lib/rearview/alerts_handler_spec.rb:31:in `(root)'
32372
+ org/jruby/RubyProc.java:271:in `call'
32373
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/raise_error.rb:40:in `matches?'
32374
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/raise_error.rb:57:in `does_not_match?'
32375
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-expectations-2.14.4/lib/rspec/expectations/handler.rb:48:in `handle_matcher'
32376
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-expectations-2.14.4/lib/rspec/expectations/expectation_target.rb:47:in `not_to'
32377
+ /Users/trentalbrigh/workspaces/rearview-engine/spec/lib/rearview/alerts_handler_spec.rb:31:in `(root)'
32378
+ org/jruby/RubyBasicObject.java:1536:in `instance_eval'
32379
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `run'
32380
+ org/jruby/RubyProc.java:271:in `call'
32381
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `extended'
32382
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-rails-2.14.0/lib/rspec/rails/adapters.rb:51:in `MiniTestLifecycleAdapter'
32383
+ org/jruby/RubyBasicObject.java:1565:in `instance_exec'
32384
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
32385
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
32386
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `run'
32387
+ org/jruby/RubyProc.java:271:in `call'
32388
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
32389
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
32390
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
32391
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
32392
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
32393
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `run_examples'
32394
+ org/jruby/RubyArray.java:2413:in `map'
32395
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
32396
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
32397
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
32398
+ org/jruby/RubyArray.java:2413:in `map'
32399
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
32400
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `run'
32401
+ org/jruby/RubyArray.java:2413:in `map'
32402
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `run'
32403
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
32404
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
32405
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
32406
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `autorun'
32407
+ #<Rearview::AlertsHandler:0x5a6f7997> [jobId:14 threadId:1 threadName:main] #<Mocha::Mock:0x4d887472> failed: oops
32408
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/exception_raiser.rb:11:in `evaluate'
32409
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/return_values.rb:20:in `next'
32410
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/expectation.rb:569:in `invoke'
32411
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/mock.rb:232:in `method_missing'
32412
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/alerts_handler.rb:16:in `run'
32413
+ org/jruby/RubyArray.java:1613:in `each'
32414
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/alerts_handler.rb:13:in `run'
32415
+ /Users/trentalbrigh/workspaces/rearview-engine/spec/lib/rearview/alerts_handler_spec.rb:31:in `(root)'
32416
+ org/jruby/RubyProc.java:271:in `call'
32417
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/raise_error.rb:40:in `matches?'
32418
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-expectations-2.14.4/lib/rspec/matchers/built_in/raise_error.rb:57:in `does_not_match?'
32419
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-expectations-2.14.4/lib/rspec/expectations/handler.rb:48:in `handle_matcher'
32420
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-expectations-2.14.4/lib/rspec/expectations/expectation_target.rb:47:in `not_to'
32421
+ /Users/trentalbrigh/workspaces/rearview-engine/spec/lib/rearview/alerts_handler_spec.rb:31:in `(root)'
32422
+ org/jruby/RubyBasicObject.java:1536:in `instance_eval'
32423
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `run'
32424
+ org/jruby/RubyProc.java:271:in `call'
32425
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `extended'
32426
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-rails-2.14.0/lib/rspec/rails/adapters.rb:51:in `MiniTestLifecycleAdapter'
32427
+ org/jruby/RubyBasicObject.java:1565:in `instance_exec'
32428
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
32429
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
32430
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `run'
32431
+ org/jruby/RubyProc.java:271:in `call'
32432
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
32433
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
32434
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
32435
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
32436
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
32437
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `run_examples'
32438
+ org/jruby/RubyArray.java:2413:in `map'
32439
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
32440
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
32441
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
32442
+ org/jruby/RubyArray.java:2413:in `map'
32443
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
32444
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `run'
32445
+ org/jruby/RubyArray.java:2413:in `map'
32446
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `run'
32447
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
32448
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
32449
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
32450
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `autorun'
32451
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32452
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user44@hungrymachine.com' LIMIT 1
32453
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user44@hungrymachine.com', 'first_name44', 'last_name44', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32454
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32455
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32456
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user45@hungrymachine.com' LIMIT 1
32457
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user45@hungrymachine.com', 'first_name45', 'last_name45', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32458
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32459
+ Savepoint (0ms) SAVEPOINT active_record_1
32460
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description21', 'application21', '2014-01-10 16:00:21', 45)
32461
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32462
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32463
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@foo.com\",\"pagerduty:387214d0a12c012fbf5a22000afc49b8\"]', 20, '2014-01-10 16:00:21', '0 * * * * ?', 15, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job15', '2014-01-10 16:00:21', 44)
32464
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32465
+ #<Rearview::AlertsHandler:0x1df2490c> [jobId:15 threadId:1 threadName:main] run
32466
+ #<Rearview::AlertsHandler:0x1df2490c> [jobId:15 threadId:1 threadName:main] #<Mocha::Mock:0xd99c230> failed: unexpected
32467
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/exception_raiser.rb:11:in `evaluate'
32468
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/return_values.rb:20:in `next'
32469
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/expectation.rb:569:in `invoke'
32470
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/mock.rb:232:in `method_missing'
32471
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/alerts_handler.rb:16:in `run'
32472
+ org/jruby/RubyArray.java:1613:in `each'
32473
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/alerts_handler.rb:13:in `run'
32474
+ /Users/trentalbrigh/workspaces/rearview-engine/spec/lib/rearview/alerts_handler_spec.rb:37:in `(root)'
32475
+ org/jruby/RubyBasicObject.java:1536:in `instance_eval'
32476
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `run'
32477
+ org/jruby/RubyProc.java:271:in `call'
32478
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `extended'
32479
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-rails-2.14.0/lib/rspec/rails/adapters.rb:51:in `MiniTestLifecycleAdapter'
32480
+ org/jruby/RubyBasicObject.java:1565:in `instance_exec'
32481
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
32482
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
32483
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `run'
32484
+ org/jruby/RubyProc.java:271:in `call'
32485
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
32486
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:446:in `run_hook'
32487
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
32488
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
32489
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
32490
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `run_examples'
32491
+ org/jruby/RubyArray.java:2413:in `map'
32492
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:386:in `run_examples'
32493
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:371:in `run'
32494
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
32495
+ org/jruby/RubyArray.java:2413:in `map'
32496
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:372:in `run'
32497
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `run'
32498
+ org/jruby/RubyArray.java:2413:in `map'
32499
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:28:in `run'
32500
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
32501
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/command_line.rb:25:in `run'
32502
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
32503
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `autorun'
32504
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32505
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user46@hungrymachine.com' LIMIT 1
32506
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user46@hungrymachine.com', 'first_name46', 'last_name46', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32507
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32508
+ Savepoint (0ms) SAVEPOINT active_record_1
32509
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user47@hungrymachine.com' LIMIT 1
32510
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user47@hungrymachine.com', 'first_name47', 'last_name47', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32511
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32512
+ Savepoint (0ms) SAVEPOINT active_record_1
32513
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description22', 'application22', '2014-01-10 16:00:21', 47)
32514
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32515
+ Savepoint (0ms) SAVEPOINT active_record_1
32516
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@foo.com\",\"pagerduty:387214d0a12c012fbf5a22000afc49b8\"]', 21, '2014-01-10 16:00:21', '0 * * * * ?', 16, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job16', '2014-01-10 16:00:21', 46)
32517
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32518
+ #<Rearview::AlertsHandler:0x5f162955> [jobId:16 threadId:1 threadName:main] run
32519
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32520
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user48@hungrymachine.com' LIMIT 1
32521
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user48@hungrymachine.com', 'first_name48', 'last_name48', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32522
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32523
+ Savepoint (0ms) SAVEPOINT active_record_1
32524
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user49@hungrymachine.com' LIMIT 1
32525
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user49@hungrymachine.com', 'first_name49', 'last_name49', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32526
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32527
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32528
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user50@hungrymachine.com' LIMIT 1
32529
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user50@hungrymachine.com', 'first_name50', 'last_name50', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32530
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32531
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32532
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description23', 'application23', '2014-01-10 16:00:21', 50)
32533
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32534
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32535
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 22, '2014-01-10 16:00:21', '0 * * * * ?', 17, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job17', '2014-01-10 16:00:21', 49)
32536
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32537
+ Processing by Rearview::JobsController#data as JSON
32538
+ Parameters: {"id"=>"17"}
32539
+ Rearview::JobData Load (1.0ms) SELECT `job_data`.* FROM `job_data` WHERE `job_data`.`job_id` = 17 LIMIT 1
32540
+ Completed 404 Not Found in 4ms (ActiveRecord: 1.0ms)
32541
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32542
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user51@hungrymachine.com' LIMIT 1
32543
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user51@hungrymachine.com', 'first_name51', 'last_name51', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32544
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32545
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32546
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user52@hungrymachine.com' LIMIT 1
32547
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user52@hungrymachine.com', 'first_name52', 'last_name52', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32548
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32549
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32550
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user53@hungrymachine.com' LIMIT 1
32551
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user53@hungrymachine.com', 'first_name53', 'last_name53', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32552
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32553
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32554
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description24', 'application24', '2014-01-10 16:00:21', 53)
32555
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
32556
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32557
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 23, '2014-01-10 16:00:21', '0 * * * * ?', 18, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job18', '2014-01-10 16:00:21', 52)
32558
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32559
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32560
+ SQL (1.0ms) INSERT INTO `job_data` (`created_at`, `data`, `job_id`, `updated_at`) VALUES ('2014-01-10 16:00:21', '{\"status\":\"success\",\"output\":\"yo\",\"graph_data\":{\"stats_counts.cupcake.web_traffic.impression\":[[1368035700,66.0],[1368035710,76.0],[1368035720,86.0],[1368035730,63.0],[1368035740,70.0],[1368035750,56.0],[1368035760,null]]}}', 18, '2014-01-10 16:00:21')
32561
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32562
+ Processing by Rearview::JobsController#data as JSON
32563
+ Parameters: {"id"=>"18"}
32564
+ Rearview::JobData Load (1.0ms) SELECT `job_data`.* FROM `job_data` WHERE `job_data`.`job_id` = 18 LIMIT 1
32565
+ Completed 200 OK in 14ms (Views: 7.0ms | ActiveRecord: 1.0ms)
32566
+ Savepoint (0ms) SAVEPOINT active_record_1
32567
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user54@hungrymachine.com' LIMIT 1
32568
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user54@hungrymachine.com', 'first_name54', 'last_name54', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32569
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32570
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32571
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user55@hungrymachine.com' LIMIT 1
32572
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user55@hungrymachine.com', 'first_name55', 'last_name55', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32573
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
32574
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32575
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user56@hungrymachine.com' LIMIT 1
32576
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user56@hungrymachine.com', 'first_name56', 'last_name56', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32577
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32578
+ Savepoint (0ms) SAVEPOINT active_record_1
32579
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description25', 'application25', '2014-01-10 16:00:21', 56)
32580
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32581
+ Processing by Rearview::JobsController#create as JSON
32582
+ Parameters: {"userId"=>"55", "name"=>"job19", "active"=>true, "alertKeys"=>["mailto:foo@hungrymachine.com", "pagerduty:54232f6f4c4447efb6d15e20dbb7349c"], "cronExpr"=>"0 * * * * ?", "errorTimeout"=>"60", "minutes"=>"1", "metrics"=>["stats_counts.cupcake.web_traffic.impression"], "monitorExpr"=>"puts 'hello, world!'", "toDate"=>nil, "description"=>nil, "dashboard_id"=>"24"}
32583
+ Rearview::Job Load (1.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`id` IS NULL LIMIT 1
32584
+ WARNING: Can't mass-assign protected attributes for Rearview::Job: id
32585
+ protected_attributes (1.0.5) lib/active_model/mass_assignment_security/sanitizer.rb:46:in `process_removed_attributes'
32586
+ /Users/trentalbrigh/.rvm/rubies/jruby-1.7.5/lib/ruby/1.9/logger.rb:371:in `add'
32587
+ /Users/trentalbrigh/.rvm/rubies/jruby-1.7.5/lib/ruby/1.9/logger.rb:443:in `warn'
32588
+ protected_attributes (1.0.5) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes'
32589
+ protected_attributes (1.0.5) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize'
32590
+ protected_attributes (1.0.5) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment'
32591
+ protected_attributes (1.0.5) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes'
32592
+ protected_attributes (1.0.5) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes'
32593
+ activerecord (4.0.2) lib/active_record/core.rb:185:in `initialize'
32594
+ state_machine (1.2.0) lib/state_machine/integrations/active_record.rb:477:in `initialize'
32595
+ activerecord (4.0.2) lib/active_record/inheritance.rb:27:in `new'
32596
+ activerecord (4.0.2) lib/active_record/relation.rb:98:in `new'
32597
+ activerecord (4.0.2) lib/active_record/relation.rb:270:in `scoping'
32598
+ activerecord (4.0.2) lib/active_record/relation.rb:98:in `new'
32599
+ activerecord (4.0.2) lib/active_record/relation.rb:202:in `find_or_initialize_by'
32600
+ activerecord (4.0.2) lib/active_record/querying.rb:5:in `find_or_initialize_by'
32601
+ /Users/trentalbrigh/workspaces/rearview-engine/app/controllers/rearview/jobs_controller.rb:53:in `upsert'
32602
+ /Users/trentalbrigh/workspaces/rearview-engine/app/controllers/rearview/jobs_controller.rb:14:in `create'
32603
+ actionpack (4.0.2) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
32604
+ actionpack (4.0.2) lib/abstract_controller/base.rb:189:in `process_action'
32605
+ actionpack (4.0.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
32606
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:18:in `process_action'
32607
+ activesupport (4.0.2) lib/active_support/callbacks.rb:386:in `_run__1986389614__process_action__callbacks'
32608
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
32609
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
32610
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
32611
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `process_action'
32612
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
32613
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
32614
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:19:in `instrument'
32615
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
32616
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
32617
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
32618
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
32619
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
32620
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
32621
+ actionpack (4.0.2) lib/action_controller/test_case.rb:569:in `process'
32622
+ actionpack (4.0.2) lib/action_controller/test_case.rb:64:in `process'
32623
+ actionpack (4.0.2) lib/action_controller/test_case.rb:475:in `post'
32624
+ /Users/trentalbrigh/workspaces/rearview-engine/spec/controllers/jobs_controller_spec.rb:51:in `(root)'
32625
+ rspec-core (2.14.7) lib/rspec/core/example.rb:114:in `instance_eval'
32626
+ rspec-core (2.14.7) lib/rspec/core/example.rb:114:in `run'
32627
+ rspec-core (2.14.7) lib/rspec/core/example.rb:112:in `run'
32628
+ rspec-rails (2.14.0) lib/rspec/rails/example/controller_example_group.rb:158:in `call'
32629
+ rspec-rails (2.14.0) lib/rspec/rails/example/controller_example_group.rb:158:in `ControllerExampleGroup'
32630
+ rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
32631
+ rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
32632
+ rspec-core (2.14.7) lib/rspec/core/example.rb:247:in `instance_eval_with_args'
32633
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:106:in `run'
32634
+ rspec-core (2.14.7) lib/rspec/core/example.rb:179:in `call'
32635
+ rspec-core (2.14.7) lib/rspec/core/example.rb:179:in `extended'
32636
+ rspec-rails (2.14.0) lib/rspec/rails/adapters.rb:51:in `MiniTestLifecycleAdapter'
32637
+ rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
32638
+ rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
32639
+ rspec-core (2.14.7) lib/rspec/core/example.rb:247:in `instance_eval_with_args'
32640
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:106:in `run'
32641
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:104:in `call'
32642
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:104:in `run'
32643
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:446:in `run_hook'
32644
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
32645
+ rspec-core (2.14.7) lib/rspec/core/example.rb:256:in `with_around_each_hooks'
32646
+ rspec-core (2.14.7) lib/rspec/core/example.rb:111:in `run'
32647
+ rspec-core (2.14.7) lib/rspec/core/example.rb:109:in `run'
32648
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:390:in `run_examples'
32649
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:386:in `map'
32650
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:386:in `run_examples'
32651
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:371:in `run'
32652
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:369:in `run'
32653
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:372:in `run'
32654
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:372:in `map'
32655
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:372:in `run'
32656
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:369:in `run'
32657
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:28:in `run'
32658
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:28:in `map'
32659
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:28:in `run'
32660
+ rspec-core (2.14.7) lib/rspec/core/reporter.rb:58:in `report'
32661
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:25:in `run'
32662
+ rspec-core (2.14.7) lib/rspec/core/runner.rb:80:in `run'
32663
+ rspec-core (2.14.7) lib/rspec/core/runner.rb:17:in `autorun'
32664
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 24 LIMIT 1
32665
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32666
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 24, '2014-01-10 16:00:28', '0 * * * * ?', '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job19', '2014-01-10 16:00:28', 55)
32667
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32668
+ Completed 200 OK in 32ms (Views: 5.0ms | ActiveRecord: 4.0ms)
32669
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32670
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user57@hungrymachine.com' LIMIT 1
32671
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user57@hungrymachine.com', 'first_name57', 'last_name57', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32672
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32673
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32674
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user58@hungrymachine.com' LIMIT 1
32675
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user58@hungrymachine.com', 'first_name58', 'last_name58', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32676
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32677
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32678
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user59@hungrymachine.com' LIMIT 1
32679
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user59@hungrymachine.com', 'first_name59', 'last_name59', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32680
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32681
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32682
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description26', 'application26', '2014-01-10 16:00:21', 59)
32683
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32684
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32685
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 25, '2014-01-10 16:00:21', '0 * * * * ?', 20, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job20', '2014-01-10 16:00:21', 58)
32686
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32687
+ Processing by Rearview::JobsController#destroy as JSON
32688
+ Parameters: {"id"=>"20"}
32689
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32690
+ Rearview::JobData Load (1.0ms) SELECT `job_data`.* FROM `job_data` WHERE `job_data`.`job_id` = 20 ORDER BY `job_data`.`id` ASC LIMIT 1
32691
+ Rearview::JobError Load (1.0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 20
32692
+ SQL (0ms) DELETE FROM `jobs` WHERE `jobs`.`id` = 20
32693
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32694
+ Completed 200 OK in 23ms (Views: 3.0ms | ActiveRecord: 3.0ms)
32695
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32696
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user60@hungrymachine.com' LIMIT 1
32697
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user60@hungrymachine.com', 'first_name60', 'last_name60', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32698
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32699
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32700
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user61@hungrymachine.com' LIMIT 1
32701
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user61@hungrymachine.com', 'first_name61', 'last_name61', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32702
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32703
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32704
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description27', 'application27', '2014-01-10 16:00:21', 61)
32705
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32706
+ Savepoint (0ms) SAVEPOINT active_record_1
32707
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user62@hungrymachine.com' LIMIT 1
32708
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user62@hungrymachine.com', 'first_name62', 'last_name62', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32709
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32710
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32711
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user63@hungrymachine.com' LIMIT 1
32712
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user63@hungrymachine.com', 'first_name63', 'last_name63', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32713
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32714
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32715
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description28', 'application28', '2014-01-10 16:00:21', 63)
32716
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32717
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32718
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 27, '2014-01-10 16:00:21', '0 * * * * ?', 21, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job21', '2014-01-10 16:00:21', 62)
32719
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32720
+ Processing by Rearview::JobsController#update as JSON
32721
+ Parameters: {"userId"=>"62", "name"=>"job21", "active"=>true, "alertKeys"=>["mailto:foo@hungrymachine.com", "pagerduty:54232f6f4c4447efb6d15e20dbb7349c"], "cronExpr"=>"0 * * * * ?", "errorTimeout"=>"60", "minutes"=>"1", "metrics"=>["stats_counts.cupcake.web_traffic.impression"], "monitorExpr"=>"puts 'hello, world!'", "toDate"=>nil, "description"=>nil, "dashboard_id"=>"26", "id"=>"21"}
32722
+ Rearview::Job Load (1.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`id` = 21 LIMIT 1
32723
+ Savepoint (0ms) SAVEPOINT active_record_1
32724
+ SQL (1.0ms) UPDATE `jobs` SET `app_id` = 26, `updated_at` = '2014-01-10 16:00:28', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 21
32725
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32726
+ Completed 200 OK in 33ms (Views: 3.0ms | ActiveRecord: 2.0ms)
32727
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32728
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user64@hungrymachine.com' LIMIT 1
32729
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user64@hungrymachine.com', 'first_name64', 'last_name64', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32730
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32731
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32732
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user65@hungrymachine.com' LIMIT 1
32733
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user65@hungrymachine.com', 'first_name65', 'last_name65', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32734
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32735
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32736
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user66@hungrymachine.com' LIMIT 1
32737
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user66@hungrymachine.com', 'first_name66', 'last_name66', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32738
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32739
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32740
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description29', 'application29', '2014-01-10 16:00:21', 66)
32741
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32742
+ Savepoint (0ms) SAVEPOINT active_record_1
32743
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 28, '2014-01-10 16:00:21', '0 * * * * ?', 22, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job22', '2014-01-10 16:00:21', 65)
32744
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32745
+ Processing by Rearview::JobsController#update as JSON
32746
+ Parameters: {"userId"=>"65", "name"=>"job22", "active"=>true, "alertKeys"=>["mailto:foo@hungrymachine.com", "pagerduty:54232f6f4c4447efb6d15e20dbb7349c"], "cronExpr"=>"0 * * * * ?", "errorTimeout"=>"60", "minutes"=>"1", "metrics"=>["stats_counts.cupcake.web_traffic.impression"], "monitorExpr"=>"puts 'hello, world!'", "toDate"=>nil, "description"=>nil, "dashboard_id"=>"28", "id"=>"22"}
32747
+ Rearview::Job Load (1.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`id` = 22 LIMIT 1
32748
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32749
+ SQL (0ms) UPDATE `jobs` SET `updated_at` = '2014-01-10 16:00:28', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 22
32750
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32751
+ Completed 200 OK in 25ms (Views: 5.0ms | ActiveRecord: 2.0ms)
32752
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32753
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user67@hungrymachine.com' LIMIT 1
32754
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user67@hungrymachine.com', 'first_name67', 'last_name67', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32755
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32756
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32757
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user68@hungrymachine.com' LIMIT 1
32758
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user68@hungrymachine.com', 'first_name68', 'last_name68', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32759
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32760
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32761
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user69@hungrymachine.com' LIMIT 1
32762
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user69@hungrymachine.com', 'first_name69', 'last_name69', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32763
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32764
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32765
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description30', 'application30', '2014-01-10 16:00:21', 69)
32766
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32767
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32768
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 29, '2014-01-10 16:00:21', '0 * * * * ?', 23, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job23', '2014-01-10 16:00:21', 68)
32769
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32770
+ Processing by Rearview::JobsController#reset as JSON
32771
+ Parameters: {"userId"=>"68", "name"=>"job23", "active"=>true, "alertKeys"=>["mailto:foo@hungrymachine.com", "pagerduty:54232f6f4c4447efb6d15e20dbb7349c"], "cronExpr"=>"0 * * * * ?", "errorTimeout"=>"60", "minutes"=>"1", "metrics"=>["stats_counts.cupcake.web_traffic.impression"], "monitorExpr"=>"puts 'hello, world!'", "toDate"=>nil, "description"=>nil, "dashboard_id"=>"29", "id"=>"23"}
32772
+ Completed 200 OK in 12ms (Views: 3.0ms | ActiveRecord: 0.0ms)
32773
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32774
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user70@hungrymachine.com' LIMIT 1
32775
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user70@hungrymachine.com', 'first_name70', 'last_name70', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32776
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32777
+ Processing by Rearview::JobsController#index as JSON
32778
+ Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms)
32779
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32780
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user71@hungrymachine.com' LIMIT 1
32781
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user71@hungrymachine.com', 'first_name71', 'last_name71', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32782
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32783
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32784
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user72@hungrymachine.com' LIMIT 1
32785
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user72@hungrymachine.com', 'first_name72', 'last_name72', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32786
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32787
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32788
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user73@hungrymachine.com' LIMIT 1
32789
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user73@hungrymachine.com', 'first_name73', 'last_name73', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32790
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32791
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32792
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description31', 'application31', '2014-01-10 16:00:21', 73)
32793
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32794
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32795
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 30, '2014-01-10 16:00:21', '0 * * * * ?', 24, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job24', '2014-01-10 16:00:21', 72)
32796
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32797
+ Processing by Rearview::JobsController#errors as JSON
32798
+ Parameters: {"id"=>"24"}
32799
+ Rearview::JobError Load (1.0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 24 ORDER BY created_at DESC
32800
+ Completed 200 OK in 10ms (Views: 5.0ms | ActiveRecord: 1.0ms)
32801
+ Savepoint (0ms) SAVEPOINT active_record_1
32802
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user74@hungrymachine.com' LIMIT 1
32803
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user74@hungrymachine.com', 'first_name74', 'last_name74', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32804
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32805
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32806
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user75@hungrymachine.com' LIMIT 1
32807
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user75@hungrymachine.com', 'first_name75', 'last_name75', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32808
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32809
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32810
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user76@hungrymachine.com' LIMIT 1
32811
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user76@hungrymachine.com', 'first_name76', 'last_name76', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32812
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32813
+ Savepoint (0ms) SAVEPOINT active_record_1
32814
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description32', 'application32', '2014-01-10 16:00:21', 76)
32815
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32816
+ Savepoint (0ms) SAVEPOINT active_record_1
32817
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 31, '2014-01-10 16:00:21', '0 * * * * ?', 25, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job25', '2014-01-10 16:00:21', 75)
32818
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32819
+ Processing by Rearview::JobsController#show as JSON
32820
+ Parameters: {"id"=>"25"}
32821
+ Rearview::Job Load (1.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`id` = 25 LIMIT 1
32822
+ Completed 200 OK in 7ms (Views: 4.0ms | ActiveRecord: 1.0ms)
32823
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32824
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user77@hungrymachine.com' LIMIT 1
32825
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user77@hungrymachine.com', 'first_name77', 'last_name77', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32826
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32827
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32828
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description33', 'application33', '2014-01-10 16:00:21', 77)
32829
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
32830
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32831
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user78@hungrymachine.com' LIMIT 1
32832
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user78@hungrymachine.com', 'first_name78', 'last_name78', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32833
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32834
+ Savepoint (0ms) SAVEPOINT active_record_1
32835
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description34', 'application34', '2014-01-10 16:00:21', 78)
32836
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32837
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`ancestry` = '32'
32838
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/dashboards/_dashboard.json.jbuilder (4.0ms)
32839
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`ancestry` = '33'
32840
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/dashboards/_dashboard.json.jbuilder (2.0ms)
32841
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32842
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user79@hungrymachine.com' LIMIT 1
32843
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user79@hungrymachine.com', 'first_name79', 'last_name79', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32844
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32845
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/user/_user.json.jbuilder (5.0ms)
32846
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32847
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user80@hungrymachine.com' LIMIT 1
32848
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user80@hungrymachine.com', 'first_name80', 'last_name80', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32849
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32850
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32851
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description35', 'application35', '2014-01-10 16:00:21', 80)
32852
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32853
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32854
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user81@hungrymachine.com' LIMIT 1
32855
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user81@hungrymachine.com', 'first_name81', 'last_name81', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32856
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32857
+ Savepoint (0ms) SAVEPOINT active_record_1
32858
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 34, '2014-01-10 16:00:21', '0 * * * * ?', 26, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job26', '2014-01-10 16:00:21', 81)
32859
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32860
+ Savepoint (0ms) SAVEPOINT active_record_1
32861
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-10 16:00:21', 26, 'message1', 'failed', '2014-01-10 16:00:29')
32862
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32863
+ #<Rearview::JobError:0x5bd52802>#create_alert for transition nil
32864
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32865
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user82@hungrymachine.com' LIMIT 1
32866
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user82@hungrymachine.com', 'first_name82', 'last_name82', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32867
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32868
+ Savepoint (0ms) SAVEPOINT active_record_1
32869
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description36', 'application36', '2014-01-10 16:00:21', 82)
32870
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32871
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32872
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user83@hungrymachine.com' LIMIT 1
32873
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user83@hungrymachine.com', 'first_name83', 'last_name83', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32874
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32875
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32876
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 35, '2014-01-10 16:00:21', '0 * * * * ?', 27, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job27', '2014-01-10 16:00:21', 83)
32877
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32878
+ Savepoint (1.0ms) SAVEPOINT active_record_1
32879
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-09 16:00:29', 27, 'message2', 'failed', '2014-01-10 16:00:29')
32880
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32881
+ Savepoint (0ms) SAVEPOINT active_record_1
32882
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-08 16:00:29', 27, 'message3', 'failed', '2014-01-10 16:00:29')
32883
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32884
+ Rearview::JobError Load (2.0ms) SELECT `job_errors`.* FROM `job_errors` WHERE (job_id = 27) ORDER BY created_at DESC LIMIT 1
32885
+ Savepoint (0ms) SAVEPOINT active_record_1
32886
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user84@hungrymachine.com' LIMIT 1
32887
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user84@hungrymachine.com', 'first_name84', 'last_name84', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32888
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32889
+ Savepoint (0ms) SAVEPOINT active_record_1
32890
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description37', 'application37', '2014-01-10 16:00:21', 84)
32891
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32892
+ Savepoint (0ms) SAVEPOINT active_record_1
32893
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user85@hungrymachine.com' LIMIT 1
32894
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user85@hungrymachine.com', 'first_name85', 'last_name85', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32895
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32896
+ Savepoint (0ms) SAVEPOINT active_record_1
32897
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 36, '2014-01-10 16:00:21', '0 * * * * ?', 28, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job28', '2014-01-10 16:00:21', 85)
32898
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32899
+ Savepoint (0ms) SAVEPOINT active_record_1
32900
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-10 15:58:29', 28, 'message4', 'error', '2014-01-10 16:00:29')
32901
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32902
+ Savepoint (0ms) SAVEPOINT active_record_1
32903
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-10 15:59:29', 28, 'message5', 'success', '2014-01-10 16:00:29')
32904
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32905
+ Savepoint (0ms) SAVEPOINT active_record_1
32906
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user86@hungrymachine.com' LIMIT 1
32907
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user86@hungrymachine.com', 'first_name86', 'last_name86', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32908
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32909
+ Savepoint (0ms) SAVEPOINT active_record_1
32910
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description38', 'application38', '2014-01-10 16:00:21', 86)
32911
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32912
+ Savepoint (0ms) SAVEPOINT active_record_1
32913
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user87@hungrymachine.com' LIMIT 1
32914
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user87@hungrymachine.com', 'first_name87', 'last_name87', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32915
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32916
+ Savepoint (0ms) SAVEPOINT active_record_1
32917
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 37, '2014-01-10 16:00:21', '0 * * * * ?', 29, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job29', '2014-01-10 16:00:21', 87)
32918
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32919
+ Savepoint (0ms) SAVEPOINT active_record_1
32920
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-10 15:58:30', 29, 'message6', 'success', '2014-01-10 16:00:30')
32921
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32922
+ Savepoint (0ms) SAVEPOINT active_record_1
32923
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-10 15:59:30', 29, 'message7', 'error', '2014-01-10 16:00:30')
32924
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32925
+ Savepoint (0ms) SAVEPOINT active_record_1
32926
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user88@hungrymachine.com' LIMIT 1
32927
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user88@hungrymachine.com', 'first_name88', 'last_name88', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32928
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32929
+ Savepoint (0ms) SAVEPOINT active_record_1
32930
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description39', 'application39', '2014-01-10 16:00:21', 88)
32931
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32932
+ Savepoint (0ms) SAVEPOINT active_record_1
32933
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user89@hungrymachine.com' LIMIT 1
32934
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user89@hungrymachine.com', 'first_name89', 'last_name89', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32935
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32936
+ Savepoint (0ms) SAVEPOINT active_record_1
32937
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 38, '2014-01-10 16:00:21', '0 * * * * ?', 30, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job30', '2014-01-10 16:00:21', 89)
32938
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32939
+ Savepoint (0ms) SAVEPOINT active_record_1
32940
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-10 15:56:30', 30, 'message8', 'success', '2014-01-10 16:00:30')
32941
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32942
+ Savepoint (0ms) SAVEPOINT active_record_1
32943
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-10 15:57:30', 30, 'message9', 'error', '2014-01-10 16:00:30')
32944
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32945
+ Savepoint (0ms) SAVEPOINT active_record_1
32946
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-10 15:58:30', 30, 'message10', 'error', '2014-01-10 16:00:30')
32947
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32948
+ Savepoint (0ms) SAVEPOINT active_record_1
32949
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-10 15:59:30', 30, 'message11', 'success', '2014-01-10 16:00:30')
32950
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32951
+ Savepoint (0ms) SAVEPOINT active_record_1
32952
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user90@hungrymachine.com' LIMIT 1
32953
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user90@hungrymachine.com', 'first_name90', 'last_name90', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32954
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32955
+ Savepoint (0ms) SAVEPOINT active_record_1
32956
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description40', 'application40', '2014-01-10 16:00:21', 90)
32957
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32958
+ Savepoint (0ms) SAVEPOINT active_record_1
32959
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user91@hungrymachine.com' LIMIT 1
32960
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user91@hungrymachine.com', 'first_name91', 'last_name91', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32961
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32962
+ Savepoint (0ms) SAVEPOINT active_record_1
32963
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 39, '2014-01-10 16:00:21', '0 * * * * ?', 31, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job31', '2014-01-10 16:00:21', 91)
32964
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32965
+ Savepoint (0ms) SAVEPOINT active_record_1
32966
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-10 15:57:30', 31, 'message12', 'success', '2014-01-10 16:00:30')
32967
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32968
+ Savepoint (0ms) SAVEPOINT active_record_1
32969
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-10 15:58:30', 31, 'message13', 'error', '2014-01-10 16:00:30')
32970
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32971
+ Savepoint (0ms) SAVEPOINT active_record_1
32972
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-10 15:59:30', 31, 'message14', 'success', '2014-01-10 16:00:30')
32973
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32974
+ Savepoint (0ms) SAVEPOINT active_record_1
32975
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user92@hungrymachine.com' LIMIT 1
32976
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user92@hungrymachine.com', 'first_name92', 'last_name92', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32977
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32978
+ Savepoint (0ms) SAVEPOINT active_record_1
32979
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description41', 'application41', '2014-01-10 16:00:21', 92)
32980
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32981
+ Savepoint (0ms) SAVEPOINT active_record_1
32982
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user93@hungrymachine.com' LIMIT 1
32983
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user93@hungrymachine.com', 'first_name93', 'last_name93', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32984
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32985
+ Savepoint (0ms) SAVEPOINT active_record_1
32986
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 40, '2014-01-10 16:00:21', '0 * * * * ?', 32, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job32', '2014-01-10 16:00:21', 93)
32987
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32988
+ Savepoint (0ms) SAVEPOINT active_record_1
32989
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-10 15:59:30', 32, 'message15', 'error', '2014-01-10 16:00:30')
32990
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32991
+ Savepoint (0ms) SAVEPOINT active_record_1
32992
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user94@hungrymachine.com' LIMIT 1
32993
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user94@hungrymachine.com', 'first_name94', 'last_name94', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
32994
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32995
+ Savepoint (0ms) SAVEPOINT active_record_1
32996
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description42', 'application42', '2014-01-10 16:00:21', 94)
32997
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
32998
+ Savepoint (0ms) SAVEPOINT active_record_1
32999
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user95@hungrymachine.com' LIMIT 1
33000
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user95@hungrymachine.com', 'first_name95', 'last_name95', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33001
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33002
+ Savepoint (0ms) SAVEPOINT active_record_1
33003
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 41, '2014-01-10 16:00:21', '0 * * * * ?', 33, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job33', '2014-01-10 16:00:21', 95)
33004
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33005
+ Savepoint (0ms) SAVEPOINT active_record_1
33006
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-10 15:59:30', 33, 'message16', 'success', '2014-01-10 16:00:30')
33007
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33008
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33009
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user96@hungrymachine.com' LIMIT 1
33010
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user96@hungrymachine.com', 'first_name96', 'last_name96', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33011
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33012
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33013
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description43', 'application43', '2014-01-10 16:00:21', 96)
33014
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33015
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33016
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user97@hungrymachine.com' LIMIT 1
33017
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user97@hungrymachine.com', 'first_name97', 'last_name97', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33018
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33019
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33020
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 42, '2014-01-10 16:00:21', '0 * * * * ?', 34, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job34', '2014-01-10 16:00:21', 97)
33021
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33022
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33023
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `last_alerted_at`, `message`, `status`, `updated_at`) VALUES ('2014-01-10 16:00:21', 34, '2014-01-09 16:00:30', 'message17', 'failed', '2014-01-10 16:00:30')
33024
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33025
+ #<Rearview::JobError:0x23a57d0a>#update_alert for transition nil
33026
+ Savepoint (0ms) SAVEPOINT active_record_1
33027
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user98@hungrymachine.com' LIMIT 1
33028
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user98@hungrymachine.com', 'first_name98', 'last_name98', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33029
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33030
+ Savepoint (0ms) SAVEPOINT active_record_1
33031
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description44', 'application44', '2014-01-10 16:00:21', 98)
33032
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33033
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33034
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user99@hungrymachine.com' LIMIT 1
33035
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user99@hungrymachine.com', 'first_name99', 'last_name99', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33036
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33037
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33038
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 43, '2014-01-10 16:00:21', '0 * * * * ?', 35, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job35', '2014-01-10 16:00:21', 99)
33039
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33040
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33041
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `last_alerted_at`, `message`, `status`, `updated_at`) VALUES ('2014-01-10 16:00:21', 35, '2014-01-10 15:59:30', 'message18', 'failed', '2014-01-10 16:00:30')
33042
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33043
+ #<Rearview::JobError:0x103ec56a>#update_alert for transition nil
33044
+ Savepoint (0ms) SAVEPOINT active_record_1
33045
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user100@hungrymachine.com' LIMIT 1
33046
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user100@hungrymachine.com', 'first_name100', 'last_name100', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33047
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33048
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33049
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description45', 'application45', '2014-01-10 16:00:21', 100)
33050
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33051
+ Savepoint (0ms) SAVEPOINT active_record_1
33052
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user101@hungrymachine.com' LIMIT 1
33053
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user101@hungrymachine.com', 'first_name101', 'last_name101', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33054
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33055
+ Savepoint (0ms) SAVEPOINT active_record_1
33056
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 44, '2014-01-10 16:00:21', '0 * * * * ?', 36, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job36', '2014-01-10 16:00:21', 101)
33057
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33058
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33059
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-10 16:00:21', 36, 'message19', 'failed', '2014-01-10 16:00:30')
33060
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33061
+ #<Rearview::JobError:0x5c9a747d>#update_alert for transition nil
33062
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33063
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user102@hungrymachine.com' LIMIT 1
33064
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user102@hungrymachine.com', 'first_name102', 'last_name102', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33065
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
33066
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33067
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user103@hungrymachine.com' LIMIT 1
33068
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user103@hungrymachine.com', 'first_name103', 'last_name103', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33069
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33070
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33071
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description46', 'application46', '2014-01-10 16:00:21', 103)
33072
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33073
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33074
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 45, '2014-01-10 16:00:21', '0 * * * * ?', 37, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job37', '2014-01-10 16:00:21', 102)
33075
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33076
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33077
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-10 16:00:21', 37, 'message20', 'failed', '2014-01-10 16:00:30')
33078
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
33079
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33080
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user104@hungrymachine.com' LIMIT 1
33081
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user104@hungrymachine.com', 'first_name104', 'last_name104', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33082
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33083
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33084
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user105@hungrymachine.com' LIMIT 1
33085
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user105@hungrymachine.com', 'first_name105', 'last_name105', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33086
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33087
+ Savepoint (0ms) SAVEPOINT active_record_1
33088
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description47', 'application47', '2014-01-10 16:00:21', 105)
33089
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
33090
+ Savepoint (0ms) SAVEPOINT active_record_1
33091
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 46, '2014-01-10 16:00:21', '0 * * * * ?', 38, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job38', '2014-01-10 16:00:21', 104)
33092
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33093
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33094
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-10 16:00:21', 38, 'message21', 'failed', '2014-01-10 16:00:30')
33095
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
33096
+ Savepoint (0ms) SAVEPOINT active_record_1
33097
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user106@hungrymachine.com' LIMIT 1
33098
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user106@hungrymachine.com', 'first_name106', 'last_name106', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33099
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33100
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33101
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description48', 'application48', '2014-01-10 16:00:21', 106)
33102
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33103
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33104
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user107@hungrymachine.com' LIMIT 1
33105
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user107@hungrymachine.com', 'first_name107', 'last_name107', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33106
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33107
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33108
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 47, '2014-01-10 16:00:21', '0 * * * * ?', 39, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job39', '2014-01-10 16:00:21', 107)
33109
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33110
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33111
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-09 16:00:30', 39, 'message22', 'success', '2014-01-10 16:00:30')
33112
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33113
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33114
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-09 16:00:30', 39, 'message23', 'failed', '2014-01-10 16:00:30')
33115
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33116
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33117
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-09 16:00:30', 39, 'message24', 'error', '2014-01-10 16:00:30')
33118
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33119
+ Savepoint (0ms) SAVEPOINT active_record_1
33120
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-09 16:00:30', 39, 'message25', 'graphite_error', '2014-01-10 16:00:30')
33121
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33122
+  (1.0ms) SELECT COUNT(*) FROM `job_errors` INNER JOIN jobs ON jobs.id = job_errors.job_id INNER JOIN applications ON applications.id = jobs.app_id WHERE (applications.id = 47)
33123
+ Savepoint (0ms) SAVEPOINT active_record_1
33124
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user108@hungrymachine.com' LIMIT 1
33125
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user108@hungrymachine.com', 'first_name108', 'last_name108', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33126
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33127
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33128
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description49', 'application49', '2014-01-10 16:00:21', 108)
33129
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33130
+ Savepoint (0ms) SAVEPOINT active_record_1
33131
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user109@hungrymachine.com' LIMIT 1
33132
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user109@hungrymachine.com', 'first_name109', 'last_name109', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33133
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33134
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33135
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 48, '2014-01-10 16:00:21', '0 * * * * ?', 40, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job40', '2014-01-10 16:00:21', 109)
33136
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33137
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33138
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-09 16:00:30', 40, 'message26', 'success', '2014-01-10 16:00:30')
33139
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33140
+ Rearview::JobError Load (1.0ms) SELECT `job_errors`.* FROM `job_errors` WHERE (status != 'success') AND (job_id = 40) ORDER BY created_at DESC LIMIT 1
33141
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33142
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user110@hungrymachine.com' LIMIT 1
33143
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user110@hungrymachine.com', 'first_name110', 'last_name110', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33144
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33145
+ Savepoint (0ms) SAVEPOINT active_record_1
33146
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description50', 'application50', '2014-01-10 16:00:21', 110)
33147
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33148
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33149
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user111@hungrymachine.com' LIMIT 1
33150
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user111@hungrymachine.com', 'first_name111', 'last_name111', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33151
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33152
+ Savepoint (0ms) SAVEPOINT active_record_1
33153
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 49, '2014-01-10 16:00:21', '0 * * * * ?', 41, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job41', '2014-01-10 16:00:21', 111)
33154
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33155
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33156
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-09 16:00:30', 41, 'message27', 'failed', '2014-01-10 16:00:30')
33157
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33158
+ Rearview::JobError Load (1.0ms) SELECT `job_errors`.* FROM `job_errors` WHERE (status != 'success') AND (job_id = 41) ORDER BY created_at DESC LIMIT 1
33159
+ Savepoint (0ms) SAVEPOINT active_record_1
33160
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user112@hungrymachine.com' LIMIT 1
33161
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user112@hungrymachine.com', 'first_name112', 'last_name112', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33162
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33163
+ Savepoint (0ms) SAVEPOINT active_record_1
33164
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description51', 'application51', '2014-01-10 16:00:21', 112)
33165
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33166
+ Savepoint (0ms) SAVEPOINT active_record_1
33167
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user113@hungrymachine.com' LIMIT 1
33168
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user113@hungrymachine.com', 'first_name113', 'last_name113', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33169
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33170
+ Savepoint (0ms) SAVEPOINT active_record_1
33171
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 50, '2014-01-10 16:00:21', '0 * * * * ?', 42, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job42', '2014-01-10 16:00:21', 113)
33172
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33173
+ Savepoint (0ms) SAVEPOINT active_record_1
33174
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-09 16:00:30', 42, 'message28', 'failed', '2014-01-10 16:00:30')
33175
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33176
+ Savepoint (0ms) SAVEPOINT active_record_1
33177
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-08 16:00:30', 42, 'message29', 'failed', '2014-01-10 16:00:30')
33178
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33179
+ Savepoint (0ms) SAVEPOINT active_record_1
33180
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-07 16:00:30', 42, 'message30', 'failed', '2014-01-10 16:00:30')
33181
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33182
+ Savepoint (0ms) SAVEPOINT active_record_1
33183
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-06 16:00:30', 42, 'message31', 'failed', '2014-01-10 16:00:30')
33184
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33185
+ Savepoint (0ms) SAVEPOINT active_record_1
33186
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-05 16:00:30', 42, 'message32', 'failed', '2014-01-10 16:00:30')
33187
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33188
+ Savepoint (0ms) SAVEPOINT active_record_1
33189
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-04 16:00:30', 42, 'message33', 'failed', '2014-01-10 16:00:30')
33190
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33191
+ Savepoint (0ms) SAVEPOINT active_record_1
33192
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-03 16:00:30', 42, 'message34', 'failed', '2014-01-10 16:00:30')
33193
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33194
+  (0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM `job_errors` WHERE `job_errors`.`job_id` = 42 LIMIT 3 OFFSET 1) subquery_for_count
33195
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 42 ORDER BY created_at DESC LIMIT 1 OFFSET 1
33196
+ Savepoint (0ms) SAVEPOINT active_record_1
33197
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user114@hungrymachine.com' LIMIT 1
33198
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user114@hungrymachine.com', 'first_name114', 'last_name114', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33199
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33200
+ Savepoint (0ms) SAVEPOINT active_record_1
33201
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description52', 'application52', '2014-01-10 16:00:21', 114)
33202
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33203
+ Savepoint (0ms) SAVEPOINT active_record_1
33204
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user115@hungrymachine.com' LIMIT 1
33205
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user115@hungrymachine.com', 'first_name115', 'last_name115', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33206
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33207
+ Savepoint (0ms) SAVEPOINT active_record_1
33208
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 51, '2014-01-10 16:00:21', '0 * * * * ?', 43, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job43', '2014-01-10 16:00:21', 115)
33209
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33210
+ Savepoint (0ms) SAVEPOINT active_record_1
33211
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-09 16:00:31', 43, 'message35', 'failed', '2014-01-10 16:00:31')
33212
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33213
+ Savepoint (0ms) SAVEPOINT active_record_1
33214
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-08 16:00:31', 43, 'message36', 'failed', '2014-01-10 16:00:31')
33215
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33216
+ Savepoint (0ms) SAVEPOINT active_record_1
33217
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-07 16:00:31', 43, 'message37', 'failed', '2014-01-10 16:00:31')
33218
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33219
+ Savepoint (0ms) SAVEPOINT active_record_1
33220
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-06 16:00:31', 43, 'message38', 'failed', '2014-01-10 16:00:31')
33221
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33222
+ Savepoint (0ms) SAVEPOINT active_record_1
33223
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-05 16:00:31', 43, 'message39', 'failed', '2014-01-10 16:00:31')
33224
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33225
+ Savepoint (0ms) SAVEPOINT active_record_1
33226
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-04 16:00:31', 43, 'message40', 'failed', '2014-01-10 16:00:31')
33227
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33228
+ Savepoint (0ms) SAVEPOINT active_record_1
33229
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-03 16:00:31', 43, 'message41', 'failed', '2014-01-10 16:00:31')
33230
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33231
+  (0ms) SELECT COUNT(*) FROM `job_errors` WHERE `job_errors`.`job_id` = 43 AND (created_at >= '2014-01-08 16:00:31')
33232
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 43 AND (created_at >= '2014-01-08 16:00:31') ORDER BY created_at ASC LIMIT 1
33233
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 43 AND (created_at >= '2014-01-08 16:00:31') ORDER BY created_at DESC LIMIT 1
33234
+ Savepoint (0ms) SAVEPOINT active_record_1
33235
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user116@hungrymachine.com' LIMIT 1
33236
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user116@hungrymachine.com', 'first_name116', 'last_name116', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33237
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33238
+ Savepoint (0ms) SAVEPOINT active_record_1
33239
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description53', 'application53', '2014-01-10 16:00:21', 116)
33240
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33241
+ Savepoint (0ms) SAVEPOINT active_record_1
33242
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user117@hungrymachine.com' LIMIT 1
33243
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user117@hungrymachine.com', 'first_name117', 'last_name117', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33244
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33245
+ Savepoint (0ms) SAVEPOINT active_record_1
33246
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 52, '2014-01-10 16:00:21', '0 * * * * ?', 44, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job44', '2014-01-10 16:00:21', 117)
33247
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33248
+ Savepoint (0ms) SAVEPOINT active_record_1
33249
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-09 16:00:31', 44, 'message42', 'failed', '2014-01-10 16:00:31')
33250
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33251
+ Savepoint (0ms) SAVEPOINT active_record_1
33252
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-08 16:00:31', 44, 'message43', 'failed', '2014-01-10 16:00:31')
33253
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33254
+ Savepoint (0ms) SAVEPOINT active_record_1
33255
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-07 16:00:31', 44, 'message44', 'failed', '2014-01-10 16:00:31')
33256
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33257
+ Savepoint (0ms) SAVEPOINT active_record_1
33258
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-06 16:00:31', 44, 'message45', 'failed', '2014-01-10 16:00:31')
33259
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33260
+ Savepoint (0ms) SAVEPOINT active_record_1
33261
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-05 16:00:31', 44, 'message46', 'failed', '2014-01-10 16:00:31')
33262
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33263
+ Savepoint (0ms) SAVEPOINT active_record_1
33264
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-04 16:00:31', 44, 'message47', 'failed', '2014-01-10 16:00:31')
33265
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33266
+ Savepoint (0ms) SAVEPOINT active_record_1
33267
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-03 16:00:31', 44, 'message48', 'failed', '2014-01-10 16:00:31')
33268
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33269
+  (0ms) SELECT COUNT(*) FROM `job_errors` WHERE `job_errors`.`job_id` = 44 AND (created_at >= '2014-01-05 16:00:31') AND (created_at <= '2014-01-09 16:00:31')
33270
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 44 AND (created_at >= '2014-01-05 16:00:31') AND (created_at <= '2014-01-09 16:00:31') ORDER BY created_at ASC LIMIT 1
33271
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 44 AND (created_at >= '2014-01-05 16:00:31') AND (created_at <= '2014-01-09 16:00:31') ORDER BY created_at DESC LIMIT 1
33272
+ Savepoint (0ms) SAVEPOINT active_record_1
33273
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user118@hungrymachine.com' LIMIT 1
33274
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user118@hungrymachine.com', 'first_name118', 'last_name118', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33275
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33276
+ Savepoint (0ms) SAVEPOINT active_record_1
33277
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description54', 'application54', '2014-01-10 16:00:21', 118)
33278
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33279
+ Savepoint (0ms) SAVEPOINT active_record_1
33280
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user119@hungrymachine.com' LIMIT 1
33281
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user119@hungrymachine.com', 'first_name119', 'last_name119', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33282
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33283
+ Savepoint (0ms) SAVEPOINT active_record_1
33284
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 53, '2014-01-10 16:00:21', '0 * * * * ?', 45, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job45', '2014-01-10 16:00:21', 119)
33285
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33286
+ Savepoint (0ms) SAVEPOINT active_record_1
33287
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-09 16:00:31', 45, 'message49', 'failed', '2014-01-10 16:00:31')
33288
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33289
+ Savepoint (0ms) SAVEPOINT active_record_1
33290
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-08 16:00:31', 45, 'message50', 'failed', '2014-01-10 16:00:31')
33291
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33292
+ Savepoint (0ms) SAVEPOINT active_record_1
33293
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-07 16:00:31', 45, 'message51', 'failed', '2014-01-10 16:00:31')
33294
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33295
+ Savepoint (0ms) SAVEPOINT active_record_1
33296
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-06 16:00:31', 45, 'message52', 'failed', '2014-01-10 16:00:31')
33297
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33298
+ Savepoint (0ms) SAVEPOINT active_record_1
33299
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-05 16:00:31', 45, 'message53', 'failed', '2014-01-10 16:00:31')
33300
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33301
+ Savepoint (0ms) SAVEPOINT active_record_1
33302
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-04 16:00:31', 45, 'message54', 'failed', '2014-01-10 16:00:31')
33303
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33304
+ Savepoint (0ms) SAVEPOINT active_record_1
33305
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-03 16:00:31', 45, 'message55', 'failed', '2014-01-10 16:00:31')
33306
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33307
+  (0ms) SELECT COUNT(*) FROM `job_errors` WHERE `job_errors`.`job_id` = 45 AND (created_at <= '2014-01-04 16:00:31')
33308
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 45 AND (created_at <= '2014-01-04 16:00:31') ORDER BY created_at ASC LIMIT 1
33309
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 45 AND (created_at <= '2014-01-04 16:00:31') ORDER BY created_at DESC LIMIT 1
33310
+ Savepoint (0ms) SAVEPOINT active_record_1
33311
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user120@hungrymachine.com' LIMIT 1
33312
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user120@hungrymachine.com', 'first_name120', 'last_name120', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33313
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33314
+ Savepoint (0ms) SAVEPOINT active_record_1
33315
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description55', 'application55', '2014-01-10 16:00:21', 120)
33316
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33317
+ Savepoint (0ms) SAVEPOINT active_record_1
33318
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user121@hungrymachine.com' LIMIT 1
33319
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user121@hungrymachine.com', 'first_name121', 'last_name121', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33320
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33321
+ Savepoint (0ms) SAVEPOINT active_record_1
33322
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 54, '2014-01-10 16:00:21', '0 * * * * ?', 46, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job46', '2014-01-10 16:00:21', 121)
33323
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33324
+ Savepoint (0ms) SAVEPOINT active_record_1
33325
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-09 16:00:31', 46, 'message56', 'failed', '2014-01-10 16:00:31')
33326
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33327
+ Savepoint (0ms) SAVEPOINT active_record_1
33328
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-08 16:00:31', 46, 'message57', 'failed', '2014-01-10 16:00:31')
33329
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33330
+ Savepoint (0ms) SAVEPOINT active_record_1
33331
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-07 16:00:31', 46, 'message58', 'failed', '2014-01-10 16:00:31')
33332
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33333
+ Savepoint (0ms) SAVEPOINT active_record_1
33334
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-06 16:00:31', 46, 'message59', 'failed', '2014-01-10 16:00:31')
33335
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33336
+ Savepoint (0ms) SAVEPOINT active_record_1
33337
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-05 16:00:31', 46, 'message60', 'failed', '2014-01-10 16:00:31')
33338
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33339
+ Savepoint (0ms) SAVEPOINT active_record_1
33340
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-04 16:00:31', 46, 'message61', 'failed', '2014-01-10 16:00:31')
33341
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33342
+ Savepoint (0ms) SAVEPOINT active_record_1
33343
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-03 16:00:31', 46, 'message62', 'failed', '2014-01-10 16:00:31')
33344
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33345
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 46 ORDER BY created_at DESC LIMIT 1
33346
+ Savepoint (0ms) SAVEPOINT active_record_1
33347
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user122@hungrymachine.com' LIMIT 1
33348
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user122@hungrymachine.com', 'first_name122', 'last_name122', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33349
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33350
+ Savepoint (0ms) SAVEPOINT active_record_1
33351
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description56', 'application56', '2014-01-10 16:00:21', 122)
33352
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33353
+ Savepoint (0ms) SAVEPOINT active_record_1
33354
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user123@hungrymachine.com' LIMIT 1
33355
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user123@hungrymachine.com', 'first_name123', 'last_name123', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33356
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33357
+ Savepoint (0ms) SAVEPOINT active_record_1
33358
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 55, '2014-01-10 16:00:21', '0 * * * * ?', 47, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job47', '2014-01-10 16:00:21', 123)
33359
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33360
+ Savepoint (0ms) SAVEPOINT active_record_1
33361
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-09 16:00:31', 47, 'message63', 'failed', '2014-01-10 16:00:31')
33362
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33363
+ Savepoint (0ms) SAVEPOINT active_record_1
33364
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-08 16:00:31', 47, 'message64', 'failed', '2014-01-10 16:00:31')
33365
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33366
+ Savepoint (0ms) SAVEPOINT active_record_1
33367
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-07 16:00:31', 47, 'message65', 'failed', '2014-01-10 16:00:31')
33368
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33369
+ Savepoint (0ms) SAVEPOINT active_record_1
33370
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-06 16:00:31', 47, 'message66', 'failed', '2014-01-10 16:00:31')
33371
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33372
+ Savepoint (0ms) SAVEPOINT active_record_1
33373
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-05 16:00:31', 47, 'message67', 'failed', '2014-01-10 16:00:31')
33374
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33375
+ Savepoint (0ms) SAVEPOINT active_record_1
33376
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-04 16:00:31', 47, 'message68', 'failed', '2014-01-10 16:00:31')
33377
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33378
+ Savepoint (0ms) SAVEPOINT active_record_1
33379
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-03 16:00:31', 47, 'message69', 'failed', '2014-01-10 16:00:31')
33380
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33381
+  (0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM `job_errors` WHERE `job_errors`.`job_id` = 47 LIMIT 3) subquery_for_count
33382
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33383
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user124@hungrymachine.com' LIMIT 1
33384
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user124@hungrymachine.com', 'first_name124', 'last_name124', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33385
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
33386
+ Savepoint (0ms) SAVEPOINT active_record_1
33387
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description57', 'application57', '2014-01-10 16:00:21', 124)
33388
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33389
+ Rearview::Dashboard Load (0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`ancestry` = '56'
33390
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/dashboards/_dashboard.json.jbuilder (3.0ms)
33391
+ Terminating 6 actors...
33392
+ Shutdown completed cleanly
33393
+ Savepoint (0ms) SAVEPOINT active_record_1
33394
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user125@hungrymachine.com' LIMIT 1
33395
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user125@hungrymachine.com', 'first_name125', 'last_name125', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33396
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33397
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33398
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user126@hungrymachine.com' LIMIT 1
33399
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user126@hungrymachine.com', 'first_name126', 'last_name126', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33400
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33401
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33402
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description58', 'application58', '2014-01-10 16:00:21', 126)
33403
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33404
+ Savepoint (0ms) SAVEPOINT active_record_1
33405
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 57, '2014-01-10 16:00:21', '0 * * * * ?', 48, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job48', '2014-01-10 16:00:21', 125)
33406
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33407
+ #<Rearview::MonitorService:0x2b1daac0> schedule job: 48
33408
+ Terminating 5 actors...
33409
+ Shutdown completed cleanly
33410
+ Savepoint (0ms) SAVEPOINT active_record_1
33411
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user127@hungrymachine.com' LIMIT 1
33412
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user127@hungrymachine.com', 'first_name127', 'last_name127', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33413
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33414
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33415
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user128@hungrymachine.com' LIMIT 1
33416
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user128@hungrymachine.com', 'first_name128', 'last_name128', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33417
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33418
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33419
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description59', 'application59', '2014-01-10 16:00:21', 128)
33420
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33421
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33422
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 58, '2014-01-10 16:00:21', '0 * * * * ?', 49, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job49', '2014-01-10 16:00:21', 127)
33423
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33424
+ #<Rearview::MonitorService:0x307a3977> schedule job: 49
33425
+ Rearview::MonitorService crashed!
33426
+ Rearview::MonitorService::MonitorServiceError: service not started
33427
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/monitor_service.rb:35:in `schedule'
33428
+ org/jruby/RubyKernel.java:1961:in `public_send'
33429
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:25:in `dispatch'
33430
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:67:in `dispatch'
33431
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/actor.rb:326:in `handle_message'
33432
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:42:in `initialize'
33433
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks/task_fiber.rb:11:in `create'
33434
+ (celluloid):0:in `remote procedure call'
33435
+ Terminating 4 actors...
33436
+ Shutdown completed cleanly
33437
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33438
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user129@hungrymachine.com' LIMIT 1
33439
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user129@hungrymachine.com', 'first_name129', 'last_name129', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33440
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33441
+ Savepoint (0ms) SAVEPOINT active_record_1
33442
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user130@hungrymachine.com' LIMIT 1
33443
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user130@hungrymachine.com', 'first_name130', 'last_name130', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33444
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33445
+ Savepoint (0ms) SAVEPOINT active_record_1
33446
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description60', 'application60', '2014-01-10 16:00:21', 130)
33447
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33448
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33449
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 59, '2014-01-10 16:00:21', '0 * * * * ?', 50, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job50', '2014-01-10 16:00:21', 129)
33450
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
33451
+ #<Rearview::MonitorService:0x37022ee5> schedule job: 50
33452
+ Terminating 5 actors...
33453
+ Shutdown completed cleanly
33454
+ Savepoint (0ms) SAVEPOINT active_record_1
33455
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user131@hungrymachine.com' LIMIT 1
33456
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user131@hungrymachine.com', 'first_name131', 'last_name131', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33457
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33458
+ Savepoint (0ms) SAVEPOINT active_record_1
33459
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user132@hungrymachine.com' LIMIT 1
33460
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user132@hungrymachine.com', 'first_name132', 'last_name132', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33461
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33462
+ Savepoint (0ms) SAVEPOINT active_record_1
33463
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description61', 'application61', '2014-01-10 16:00:21', 132)
33464
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33465
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33466
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 60, '2014-01-10 16:00:21', '0 * * * * ?', 51, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job51', '2014-01-10 16:00:21', 131)
33467
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33468
+ #<Rearview::MonitorService:0x2e10c4c4> unschedule job: 51
33469
+ Terminating 5 actors...
33470
+ Shutdown completed cleanly
33471
+ Savepoint (0ms) SAVEPOINT active_record_1
33472
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user133@hungrymachine.com' LIMIT 1
33473
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user133@hungrymachine.com', 'first_name133', 'last_name133', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33474
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33475
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33476
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user134@hungrymachine.com' LIMIT 1
33477
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user134@hungrymachine.com', 'first_name134', 'last_name134', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33478
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33479
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33480
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description62', 'application62', '2014-01-10 16:00:21', 134)
33481
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33482
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33483
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 61, '2014-01-10 16:00:21', '0 * * * * ?', 52, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job52', '2014-01-10 16:00:21', 133)
33484
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33485
+ #<Rearview::MonitorService:0x208290a1> unschedule job: 52
33486
+ Rearview::MonitorService crashed!
33487
+ Rearview::MonitorService::MonitorServiceError: service not started
33488
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/monitor_service.rb:43:in `unschedule'
33489
+ org/jruby/RubyKernel.java:1961:in `public_send'
33490
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:25:in `dispatch'
33491
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:67:in `dispatch'
33492
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/actor.rb:326:in `handle_message'
33493
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:42:in `initialize'
33494
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:35:in `initialize'
33495
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks/task_fiber.rb:11:in `create'
33496
+ (celluloid):0:in `remote procedure call'
33497
+ Terminating 4 actors...
33498
+ Shutdown completed cleanly
33499
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33500
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user135@hungrymachine.com' LIMIT 1
33501
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user135@hungrymachine.com', 'first_name135', 'last_name135', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33502
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33503
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33504
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user136@hungrymachine.com' LIMIT 1
33505
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user136@hungrymachine.com', 'first_name136', 'last_name136', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33506
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33507
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33508
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description63', 'application63', '2014-01-10 16:00:21', 136)
33509
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33510
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33511
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 62, '2014-01-10 16:00:21', '0 * * * * ?', 53, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job53', '2014-01-10 16:00:21', 135)
33512
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33513
+ #<Rearview::MonitorService:0x4a06c6e4> unschedule job: 53
33514
+ Terminating 5 actors...
33515
+ Shutdown completed cleanly
33516
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33517
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user137@hungrymachine.com' LIMIT 1
33518
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user137@hungrymachine.com', 'first_name137', 'last_name137', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33519
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33520
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33521
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user138@hungrymachine.com' LIMIT 1
33522
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user138@hungrymachine.com', 'first_name138', 'last_name138', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33523
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33524
+ Savepoint (0ms) SAVEPOINT active_record_1
33525
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description64', 'application64', '2014-01-10 16:00:21', 138)
33526
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33527
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33528
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 63, '2014-01-10 16:00:21', '0 * * * * ?', 54, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job54', '2014-01-10 16:00:21', 137)
33529
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33530
+ #<Rearview::MonitorService:0x7b783d77>#remove job:54 has already been removed
33531
+ Terminating 5 actors...
33532
+ Shutdown completed cleanly
33533
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33534
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user139@hungrymachine.com' LIMIT 1
33535
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user139@hungrymachine.com', 'first_name139', 'last_name139', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33536
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33537
+ Savepoint (0ms) SAVEPOINT active_record_1
33538
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user140@hungrymachine.com' LIMIT 1
33539
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user140@hungrymachine.com', 'first_name140', 'last_name140', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33540
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33541
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33542
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description65', 'application65', '2014-01-10 16:00:21', 140)
33543
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33544
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33545
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 64, '2014-01-10 16:00:21', '0 * * * * ?', 55, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job55', '2014-01-10 16:00:21', 139)
33546
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33547
+ Rearview::MonitorService crashed!
33548
+ Rearview::MonitorService::MonitorServiceError: service not started
33549
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/monitor_service.rb:58:in `remove'
33550
+ org/jruby/RubyKernel.java:1961:in `public_send'
33551
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:25:in `dispatch'
33552
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:67:in `dispatch'
33553
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/actor.rb:326:in `handle_message'
33554
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:42:in `initialize'
33555
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:35:in `initialize'
33556
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks/task_fiber.rb:11:in `create'
33557
+ (celluloid):0:in `remote procedure call'
33558
+ Terminating 4 actors...
33559
+ Shutdown completed cleanly
33560
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33561
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user141@hungrymachine.com' LIMIT 1
33562
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user141@hungrymachine.com', 'first_name141', 'last_name141', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33563
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33564
+ Savepoint (0ms) SAVEPOINT active_record_1
33565
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user142@hungrymachine.com' LIMIT 1
33566
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user142@hungrymachine.com', 'first_name142', 'last_name142', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33567
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33568
+ Savepoint (0ms) SAVEPOINT active_record_1
33569
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description66', 'application66', '2014-01-10 16:00:21', 142)
33570
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33571
+ Savepoint (0ms) SAVEPOINT active_record_1
33572
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 65, '2014-01-10 16:00:21', '0 * * * * ?', 56, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job56', '2014-01-10 16:00:21', 141)
33573
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33574
+ Terminating 5 actors...
33575
+ Shutdown completed cleanly
33576
+ Savepoint (0ms) SAVEPOINT active_record_1
33577
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user143@hungrymachine.com' LIMIT 1
33578
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user143@hungrymachine.com', 'first_name143', 'last_name143', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33579
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33580
+ Savepoint (0ms) SAVEPOINT active_record_1
33581
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user144@hungrymachine.com' LIMIT 1
33582
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user144@hungrymachine.com', 'first_name144', 'last_name144', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33583
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
33584
+ Savepoint (0ms) SAVEPOINT active_record_1
33585
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description67', 'application67', '2014-01-10 16:00:21', 144)
33586
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33587
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33588
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 66, '2014-01-10 16:00:21', '0 * * * * ?', 57, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job57', '2014-01-10 16:00:21', 143)
33589
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33590
+ #<Rearview::MonitorService:0x7f684d17>#add job:57 already added
33591
+ Terminating 5 actors...
33592
+ Shutdown completed cleanly
33593
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33594
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user145@hungrymachine.com' LIMIT 1
33595
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user145@hungrymachine.com', 'first_name145', 'last_name145', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33596
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33597
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33598
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user146@hungrymachine.com' LIMIT 1
33599
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user146@hungrymachine.com', 'first_name146', 'last_name146', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33600
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33601
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33602
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description68', 'application68', '2014-01-10 16:00:21', 146)
33603
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33604
+ Savepoint (0ms) SAVEPOINT active_record_1
33605
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 67, '2014-01-10 16:00:21', '0 * * * * ?', 58, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job58', '2014-01-10 16:00:21', 145)
33606
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33607
+ Rearview::MonitorService crashed!
33608
+ Rearview::MonitorService::MonitorServiceError: service not started
33609
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/monitor_service.rb:49:in `add'
33610
+ org/jruby/RubyKernel.java:1961:in `public_send'
33611
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:25:in `dispatch'
33612
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:67:in `dispatch'
33613
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/actor.rb:326:in `handle_message'
33614
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:42:in `initialize'
33615
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:35:in `initialize'
33616
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks/task_fiber.rb:11:in `create'
33617
+ (celluloid):0:in `remote procedure call'
33618
+ Terminating 4 actors...
33619
+ Shutdown completed cleanly
33620
+ Savepoint (0ms) SAVEPOINT active_record_1
33621
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user147@hungrymachine.com' LIMIT 1
33622
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user147@hungrymachine.com', 'first_name147', 'last_name147', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33623
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33624
+ Savepoint (0ms) SAVEPOINT active_record_1
33625
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user148@hungrymachine.com' LIMIT 1
33626
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user148@hungrymachine.com', 'first_name148', 'last_name148', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33627
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33628
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33629
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description69', 'application69', '2014-01-10 16:00:21', 148)
33630
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33631
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33632
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 68, '2014-01-10 16:00:21', '0 * * * * ?', 59, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job59', '2014-01-10 16:00:21', 147)
33633
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
33634
+ Terminating 5 actors...
33635
+ Shutdown completed cleanly
33636
+ Rearview::MonitorService crashed!
33637
+ Rearview::MonitorService::MonitorServiceError: service already started
33638
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/monitor_service.rb:21:in `startup'
33639
+ org/jruby/RubyKernel.java:1961:in `public_send'
33640
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:25:in `dispatch'
33641
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:67:in `dispatch'
33642
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/actor.rb:326:in `handle_message'
33643
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:42:in `initialize'
33644
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:35:in `initialize'
33645
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks/task_fiber.rb:11:in `create'
33646
+ (celluloid):0:in `remote procedure call'
33647
+ Terminating 4 actors...
33648
+ Shutdown completed cleanly
33649
+ Terminating 5 actors...
33650
+ Shutdown completed cleanly
33651
+ Rearview::MonitorService crashed!
33652
+ Rearview::MonitorService::MonitorServiceError: service not started
33653
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/monitor_service.rb:28:in `shutdown'
33654
+ org/jruby/RubyKernel.java:1961:in `public_send'
33655
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:25:in `dispatch'
33656
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:67:in `dispatch'
33657
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/actor.rb:326:in `handle_message'
33658
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:42:in `initialize'
33659
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:35:in `initialize'
33660
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks/task_fiber.rb:11:in `create'
33661
+ (celluloid):0:in `remote procedure call'
33662
+ Terminating 4 actors...
33663
+ Shutdown completed cleanly
33664
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33665
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user149@hungrymachine.com' LIMIT 1
33666
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user149@hungrymachine.com', 'first_name149', 'last_name149', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33667
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33668
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33669
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user150@hungrymachine.com' LIMIT 1
33670
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user150@hungrymachine.com', 'first_name150', 'last_name150', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33671
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
33672
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33673
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user151@hungrymachine.com' LIMIT 1
33674
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user151@hungrymachine.com', 'first_name151', 'last_name151', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33675
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33676
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33677
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user152@hungrymachine.com' LIMIT 1
33678
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user152@hungrymachine.com', 'first_name152', 'last_name152', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33679
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33680
+ Savepoint (0ms) SAVEPOINT active_record_1
33681
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description72', 'application72', '2014-01-10 16:00:21', 152)
33682
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33683
+ Processing by Rearview::DashboardChildrenController#create as JSON
33684
+ Parameters: {"userId"=>"151", "name"=>"application71", "dashboard_id"=>"69"}
33685
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 69 LIMIT 1
33686
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33687
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'application71', '2014-01-10 16:00:21', 149)
33688
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33689
+ Completed 200 OK in 29ms (Views: 17.0ms | ActiveRecord: 3.0ms)
33690
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33691
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user153@hungrymachine.com' LIMIT 1
33692
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user153@hungrymachine.com', 'first_name153', 'last_name153', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33693
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33694
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33695
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user154@hungrymachine.com' LIMIT 1
33696
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user154@hungrymachine.com', 'first_name154', 'last_name154', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33697
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33698
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33699
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user155@hungrymachine.com' LIMIT 1
33700
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user155@hungrymachine.com', 'first_name155', 'last_name155', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33701
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33702
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33703
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description74', 'application74', '2014-01-10 16:00:21', 155)
33704
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33705
+ Processing by Rearview::DashboardChildrenController#create as JSON
33706
+ Parameters: {"userId"=>"154", "name"=>"application73", "dashboard_id"=>"71"}
33707
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 71 LIMIT 1
33708
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33709
+ SQL (1.0ms) INSERT INTO `applications` (`ancestry`, `created_at`, `name`, `updated_at`, `user_id`) VALUES ('71', '2014-01-10 16:00:33', 'application73', '2014-01-10 16:00:33', 153)
33710
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33711
+ Completed 200 OK in 16ms (Views: 3.0ms | ActiveRecord: 3.0ms)
33712
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33713
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user156@hungrymachine.com' LIMIT 1
33714
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user156@hungrymachine.com', 'first_name156', 'last_name156', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33715
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33716
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33717
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user157@hungrymachine.com' LIMIT 1
33718
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user157@hungrymachine.com', 'first_name157', 'last_name157', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33719
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33720
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33721
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description75', 'application75', '2014-01-10 16:00:21', 157)
33722
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33723
+ Processing by Rearview::DashboardChildrenController#index as JSON
33724
+ Parameters: {"dashboard_id"=>"73"}
33725
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 73 LIMIT 1
33726
+ Completed 200 OK in 7ms (Views: 3.0ms | ActiveRecord: 1.0ms)
33727
+ Rearview::MonitorRunner [threadId:1 threadName:main] eval
33728
+ Rearview::MonitorRunner [threadId:1 threadName:main] exec_process
33729
+ Rearview::MonitorRunner [threadId:1 threadName:main] exec_process ["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby", "/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox/monitor_script20140110-28487-1sjbid9"]
33730
+ Rearview::MonitorRunner [threadId:1 threadName:main] exec_process start
33731
+ Rearview::MonitorRunner [threadId:1 threadName:main] eval
33732
+ Rearview::MonitorRunner [threadId:1 threadName:main] exec_process
33733
+ Rearview::MonitorRunner [threadId:1 threadName:main] exec_process ["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby", "/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox/monitor_script20140110-28487-dmkh3t"]
33734
+ Rearview::MonitorRunner [threadId:1 threadName:main] exec_process start
33735
+ Rearview::MonitorRunner [threadId:1 threadName:main] eval
33736
+ Rearview::MonitorRunner [threadId:1 threadName:main] exec_process
33737
+ Rearview::MonitorRunner [threadId:1 threadName:main] exec_process ["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby", "/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox/monitor_script20140110-28487-kj2ytp"]
33738
+ Rearview::MonitorRunner [threadId:1 threadName:main] exec_process start
33739
+ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates minutes: to_date:now
33740
+ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates from:14:59_20140110 to:15:59_20140110
33741
+ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates minutes: to_date:10/01/2013 12:01
33742
+ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates from:11:00_20131001 to:12:00_20131001
33743
+ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates minutes: to_date:
33744
+ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates from:14:59_20140110 to:15:59_20140110
33745
+ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates minutes:60 to_date:now
33746
+ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates from:14:59_20140110 to:15:59_20140110
33747
+ Rearview::CronHelper expr:"0 30 * * * ?" now:"2014-01-10 00:00:00 -0500" java_now:"Fri Jan 10 00:00:00 EST 2014" next_valid_time:"Fri Jan 10 00:30:00 EST 2014" get_time:"1389331800" next_time:"2014-01-10 00:30:00 -0500" delay:1800.0
33748
+ Rearview::CronHelper expr:"0 0 13 * * ?" now:"2014-01-10 00:00:00 -0500" java_now:"Fri Jan 10 00:00:00 EST 2014" next_valid_time:"Fri Jan 10 13:00:00 EST 2014" get_time:"1389376800" next_time:"2014-01-10 13:00:00 -0500" delay:46800.0
33749
+ Rearview::CronHelper expr:"0 * * * * ?" now:"2014-01-10 00:00:00 -0500" java_now:"Fri Jan 10 00:00:00 EST 2014" next_valid_time:"Fri Jan 10 00:01:00 EST 2014" get_time:"1389330060" next_time:"2014-01-10 00:01:00 -0500" delay:60.0
33750
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33751
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user158@hungrymachine.com' LIMIT 1
33752
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user158@hungrymachine.com', 'first_name158', 'last_name158', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33753
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33754
+ Savepoint (0ms) SAVEPOINT active_record_1
33755
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user159@hungrymachine.com' LIMIT 1
33756
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user159@hungrymachine.com', 'first_name159', 'last_name159', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33757
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33758
+ Savepoint (0ms) SAVEPOINT active_record_1
33759
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description76', 'application76', '2014-01-10 16:00:21', 159)
33760
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33761
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33762
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 74, '2014-01-10 16:00:21', '0 * * * * ?', 60, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job60', '2014-01-10 16:00:21', 158)
33763
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33764
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33765
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-10 16:00:21', 60, 'message70', 'failed', '2014-01-10 16:00:40')
33766
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33767
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33768
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user160@hungrymachine.com' LIMIT 1
33769
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user160@hungrymachine.com', 'first_name160', 'last_name160', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33770
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33771
+ Savepoint (0ms) SAVEPOINT active_record_1
33772
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user161@hungrymachine.com' LIMIT 1
33773
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user161@hungrymachine.com', 'first_name161', 'last_name161', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33774
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33775
+ Savepoint (0ms) SAVEPOINT active_record_1
33776
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description77', 'application77', '2014-01-10 16:00:21', 161)
33777
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
33778
+ Savepoint (0ms) SAVEPOINT active_record_1
33779
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 75, '2014-01-10 16:00:21', '0 * * * * ?', 61, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job61', '2014-01-10 16:00:21', 160)
33780
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33781
+ Savepoint (0ms) SAVEPOINT active_record_1
33782
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-10 16:00:21', 61, 'message71', 'failed', '2014-01-10 16:00:40')
33783
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33784
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/job_errors/_job_error.json.jbuilder (2.0ms)
33785
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/job_errors/_job_error.json.jbuilder (1.0ms)
33786
+ Rearview::User Load (1.0ms) SELECT `users`.* FROM `users` ORDER BY `users`.`id` ASC LIMIT 1
33787
+ Savepoint (0ms) SAVEPOINT active_record_1
33788
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:40', 'arbitrary_string', 'null', '2014-01-10 16:00:40')
33789
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33790
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'arbitrary_string' LIMIT 1
33791
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'arbitrary_string' LIMIT 1
33792
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` IS NULL LIMIT 1
33793
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` IS NULL LIMIT 1
33794
+ Savepoint (0ms) SAVEPOINT active_record_1
33795
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user164@hungrymachine.com' LIMIT 1
33796
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user164@hungrymachine.com', 'first_name164', 'last_name164', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33797
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33798
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33799
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user165@hungrymachine.com' LIMIT 1
33800
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user165@hungrymachine.com', 'first_name165', 'last_name165', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33801
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33802
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE (`users`.`email` = BINARY 'user165@hungrymachine.com' AND `users`.`id` != 164) LIMIT 1
33803
+ Terminating 5 actors...
33804
+ Shutdown completed cleanly
33805
+ Terminating 5 actors...
33806
+ Shutdown completed cleanly
33807
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33808
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user166@hungrymachine.com' LIMIT 1
33809
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user166@hungrymachine.com', 'first_name166', 'last_name166', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33810
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33811
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33812
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user167@hungrymachine.com' LIMIT 1
33813
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user167@hungrymachine.com', 'first_name167', 'last_name167', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33814
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33815
+ Savepoint (0ms) SAVEPOINT active_record_1
33816
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description78', 'application78', '2014-01-10 16:00:21', 166)
33817
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33818
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33819
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 76, '2014-01-10 16:00:21', '0 * * * * ?', 62, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job62', '2014-01-10 16:00:21', 165)
33820
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33821
+ #<Rearview::MonitorSupervisor:0x27812c43> [threadId:351 threadName:FiberThread#742602] removing job:62
33822
+ Terminating 5 actors...
33823
+ Shutdown completed cleanly
33824
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33825
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user168@hungrymachine.com' LIMIT 1
33826
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user168@hungrymachine.com', 'first_name168', 'last_name168', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33827
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33828
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33829
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user169@hungrymachine.com' LIMIT 1
33830
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user169@hungrymachine.com', 'first_name169', 'last_name169', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33831
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33832
+ Savepoint (0ms) SAVEPOINT active_record_1
33833
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description79', 'application79', '2014-01-10 16:00:21', 168)
33834
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33835
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33836
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 77, '2014-01-10 16:00:21', '0 * * * * ?', 63, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job63', '2014-01-10 16:00:21', 167)
33837
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33838
+ job: 00063 cron: 0 * * * * ? meta:{:delay=>60.0, :initial_delay=>0.0}
33839
+ #<Rearview::MonitorTask:0x62276997> [jobId:nil threadId:370 threadName:FiberThread#742702] intialize initial_delay:0.0 start:true
33840
+ #<Rearview::MonitorTask:0x62276997> [jobId:63 threadId:370 threadName:FiberThread#742702] schedule
33841
+ #<Rearview::MonitorTask:0x62276997> [jobId:63 threadId:370 threadName:FiberThread#742702] next run in 60.0s
33842
+ #<Rearview::MonitorSupervisor:0x4c63f56e> [threadId:371 threadName:FiberThread#742706] removing job:63
33843
+ Terminating 5 actors...
33844
+ Shutdown completed cleanly
33845
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33846
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user170@hungrymachine.com' LIMIT 1
33847
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user170@hungrymachine.com', 'first_name170', 'last_name170', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33848
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33849
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33850
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user171@hungrymachine.com' LIMIT 1
33851
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user171@hungrymachine.com', 'first_name171', 'last_name171', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33852
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33853
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33854
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description80', 'application80', '2014-01-10 16:00:21', 170)
33855
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33856
+ Savepoint (0ms) SAVEPOINT active_record_1
33857
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 78, '2014-01-10 16:00:21', '0 * * * * ?', 64, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job64', '2014-01-10 16:00:21', 169)
33858
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33859
+ Savepoint (0ms) SAVEPOINT active_record_1
33860
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user172@hungrymachine.com' LIMIT 1
33861
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user172@hungrymachine.com', 'first_name172', 'last_name172', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33862
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33863
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33864
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user173@hungrymachine.com' LIMIT 1
33865
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user173@hungrymachine.com', 'first_name173', 'last_name173', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33866
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33867
+ Savepoint (0ms) SAVEPOINT active_record_1
33868
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description81', 'application81', '2014-01-10 16:00:21', 172)
33869
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33870
+ Savepoint (0ms) SAVEPOINT active_record_1
33871
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 79, '2014-01-10 16:00:21', '0 * * * * ?', 65, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job65', '2014-01-10 16:00:21', 171)
33872
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33873
+ job: 00064 cron: 0 * * * * ? meta:{:delay=>60.0, :initial_delay=>0.0}
33874
+ job: 00065 cron: 0 * * * * ? meta:{:delay=>60.0, :initial_delay=>2.0}
33875
+ #<Rearview::MonitorTask:0x1c9e4189> [jobId:nil threadId:393 threadName:FiberThread#742886] intialize initial_delay:0.0 start:true
33876
+ #<Rearview::MonitorTask:0x1c9e4189> [jobId:64 threadId:393 threadName:FiberThread#742886] schedule
33877
+ #<Rearview::MonitorTask:0x1c9e4189> [jobId:64 threadId:393 threadName:FiberThread#742886] next run in 60.0s
33878
+ #<Rearview::MonitorTask:0x59ef00e4> [jobId:nil threadId:395 threadName:FiberThread#742890] intialize initial_delay:2.0 start:true
33879
+ #<Rearview::MonitorTask:0x59ef00e4> [jobId:65 threadId:395 threadName:FiberThread#742890] schedule
33880
+ #<Rearview::MonitorTask:0x59ef00e4> [jobId:65 threadId:395 threadName:FiberThread#742890] next run in 62.0s
33881
+ Terminating 5 actors...
33882
+ Shutdown completed cleanly
33883
+ Terminating 5 actors...
33884
+ Shutdown completed cleanly
33885
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33886
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user174@hungrymachine.com' LIMIT 1
33887
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user174@hungrymachine.com', 'first_name174', 'last_name174', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33888
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33889
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33890
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user175@hungrymachine.com' LIMIT 1
33891
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user175@hungrymachine.com', 'first_name175', 'last_name175', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33892
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33893
+ Savepoint (0ms) SAVEPOINT active_record_1
33894
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description82', 'application82', '2014-01-10 16:00:21', 174)
33895
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33896
+ Savepoint (0ms) SAVEPOINT active_record_1
33897
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 80, '2014-01-10 16:00:21', '0 * * * * ?', 66, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job66', '2014-01-10 16:00:21', 173)
33898
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33899
+ job: 00066 cron: 0 * * * * ? meta:{:delay=>60.0, :initial_delay=>0.0}
33900
+ #<Rearview::MonitorTask:0x48581598> [jobId:nil threadId:433 threadName:FiberThread#743020] intialize initial_delay:0.0 start:true
33901
+ #<Rearview::MonitorTask:0x48581598> [jobId:66 threadId:433 threadName:FiberThread#743020] schedule
33902
+ #<Rearview::MonitorTask:0x48581598> [jobId:66 threadId:433 threadName:FiberThread#743020] next run in 60.0s
33903
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33904
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user176@hungrymachine.com' LIMIT 1
33905
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user176@hungrymachine.com', 'first_name176', 'last_name176', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33906
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33907
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33908
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user177@hungrymachine.com' LIMIT 1
33909
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user177@hungrymachine.com', 'first_name177', 'last_name177', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33910
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
33911
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33912
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description83', 'application83', '2014-01-10 16:00:21', 176)
33913
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33914
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33915
+ SQL (1.0ms) INSERT INTO `jobs` (`active`, `alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `status`, `updated_at`, `user_id`) VALUES (0, '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 81, '2014-01-10 16:00:21', '0 * * * * ?', 67, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job67', 'success', '2014-01-10 16:00:21', 175)
33916
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33917
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33918
+ SQL (0ms) INSERT INTO `job_data` (`created_at`, `data`, `job_id`, `updated_at`) VALUES ('2014-01-10 16:00:21', '{\"status\":\"success\",\"output\":\"yo\",\"graph_data\":{\"stats_counts.cupcake.web_traffic.impression\":[[1368035700,66.0],[1368035710,76.0],[1368035720,86.0],[1368035730,63.0],[1368035740,70.0],[1368035750,56.0],[1368035760,null]]}}', 67, '2014-01-10 16:00:21')
33919
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33920
+ Savepoint (0ms) SAVEPOINT active_record_1
33921
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-10 16:00:21', 67, 'message72', 'failed', '2014-01-10 16:00:40')
33922
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33923
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33924
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-10 16:00:21', 67, 'message73', 'success', '2014-01-10 16:00:40')
33925
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33926
+ Rearview::JobData Load (1.0ms) SELECT `job_data`.* FROM `job_data` WHERE `job_data`.`job_id` = 67 ORDER BY `job_data`.`id` ASC LIMIT 1
33927
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33928
+ SQL (1.0ms) DELETE FROM `job_data` WHERE `job_data`.`id` = 5
33929
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33930
+ In Rails 4.1 delete_all on associations would not fire callbacks. It means if the :dependent option is :destroy then the associated records would be deleted without loading and invoking callbacks.
33931
+ Rearview::JobError Load (1.0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 67
33932
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33933
+ SQL (1.0ms) DELETE FROM `job_errors` WHERE `job_errors`.`id` = 73
33934
+ SQL (0ms) DELETE FROM `job_errors` WHERE `job_errors`.`id` = 74
33935
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33936
+ Savepoint (0ms) SAVEPOINT active_record_1
33937
+ SQL (1.0ms) UPDATE `jobs` SET `status` = NULL, `updated_at` = '2014-01-10 16:00:40', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 67
33938
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33939
+ Rearview::Job Load (1.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`id` = 67 LIMIT 1
33940
+ Rearview::JobData Load (1.0ms) SELECT `job_data`.* FROM `job_data` WHERE `job_data`.`job_id` = 67 ORDER BY `job_data`.`id` ASC LIMIT 1
33941
+  (0ms) SELECT COUNT(*) FROM `job_errors` WHERE `job_errors`.`job_id` = 67
33942
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33943
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user178@hungrymachine.com' LIMIT 1
33944
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user178@hungrymachine.com', 'first_name178', 'last_name178', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33945
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33946
+ Savepoint (0ms) SAVEPOINT active_record_1
33947
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user179@hungrymachine.com' LIMIT 1
33948
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user179@hungrymachine.com', 'first_name179', 'last_name179', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33949
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33950
+ Savepoint (0ms) SAVEPOINT active_record_1
33951
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description84', 'application84', '2014-01-10 16:00:21', 178)
33952
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33953
+ Savepoint (0ms) SAVEPOINT active_record_1
33954
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `status`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 82, '2014-01-10 16:00:21', '0 * * * * ?', 68, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job68', 'success', '2014-01-10 16:00:21', 177)
33955
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33956
+ Savepoint (0ms) SAVEPOINT active_record_1
33957
+ SQL (1.0ms) INSERT INTO `job_data` (`created_at`, `data`, `job_id`, `updated_at`) VALUES ('2014-01-10 16:00:21', '{\"status\":\"success\",\"output\":\"yo\",\"graph_data\":{\"stats_counts.cupcake.web_traffic.impression\":[[1368035700,66.0],[1368035710,76.0],[1368035720,86.0],[1368035730,63.0],[1368035740,70.0],[1368035750,56.0],[1368035760,null]]}}', 68, '2014-01-10 16:00:21')
33958
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33959
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33960
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-10 16:00:21', 68, 'message74', 'failed', '2014-01-10 16:00:40')
33961
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33962
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33963
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-10 16:00:21', 68, 'message75', 'success', '2014-01-10 16:00:40')
33964
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
33965
+ Rearview::JobData Load (3.0ms) SELECT `job_data`.* FROM `job_data` WHERE `job_data`.`job_id` = 68 ORDER BY `job_data`.`id` ASC LIMIT 1
33966
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33967
+ SQL (0ms) DELETE FROM `job_data` WHERE `job_data`.`id` = 6
33968
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33969
+ In Rails 4.1 delete_all on associations would not fire callbacks. It means if the :dependent option is :destroy then the associated records would be deleted without loading and invoking callbacks.
33970
+ Rearview::JobError Load (1.0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 68
33971
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33972
+ SQL (0ms) DELETE FROM `job_errors` WHERE `job_errors`.`id` = 75
33973
+ SQL (0ms) DELETE FROM `job_errors` WHERE `job_errors`.`id` = 76
33974
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33975
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33976
+ SQL (0ms) UPDATE `jobs` SET `status` = NULL, `updated_at` = '2014-01-10 16:00:40', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 68
33977
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33978
+ Rearview::Job Load (1.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`id` = 68 LIMIT 1
33979
+ Rearview::JobData Load (1.0ms) SELECT `job_data`.* FROM `job_data` WHERE `job_data`.`job_id` = 68 ORDER BY `job_data`.`id` ASC LIMIT 1
33980
+  (1.0ms) SELECT COUNT(*) FROM `job_errors` WHERE `job_errors`.`job_id` = 68
33981
+ Savepoint (0ms) SAVEPOINT active_record_1
33982
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user180@hungrymachine.com' LIMIT 1
33983
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user180@hungrymachine.com', 'first_name180', 'last_name180', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33984
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33985
+ Savepoint (0ms) SAVEPOINT active_record_1
33986
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user181@hungrymachine.com' LIMIT 1
33987
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user181@hungrymachine.com', 'first_name181', 'last_name181', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33988
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33989
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33990
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description85', 'application85', '2014-01-10 16:00:21', 180)
33991
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33992
+ Savepoint (0ms) SAVEPOINT active_record_1
33993
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 83, '2014-01-10 16:00:21', '0 * * * * ?', 69, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job69', '2014-01-10 16:00:21', 179)
33994
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33995
+ Savepoint (1.0ms) SAVEPOINT active_record_1
33996
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user182@hungrymachine.com' LIMIT 1
33997
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user182@hungrymachine.com', 'first_name182', 'last_name182', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
33998
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
33999
+ Savepoint (0ms) SAVEPOINT active_record_1
34000
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user183@hungrymachine.com' LIMIT 1
34001
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user183@hungrymachine.com', 'first_name183', 'last_name183', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34002
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34003
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34004
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description86', 'application86', '2014-01-10 16:00:21', 182)
34005
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34006
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34007
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `status`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 84, '2014-01-10 16:00:21', '0 * * * * ?', 70, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job70', 'error', '2014-01-10 16:00:21', 181)
34008
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34009
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34010
+ SQL (1.0ms) UPDATE `jobs` SET `status` = 'success', `updated_at` = '2014-01-10 16:00:41', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 70
34011
+ #<Rearview::Job:0x4b78a4ad>#create_associated_event for transition #<StateMachine::Transition attribute=:status event=:success from="error" from_name=:error to="success" to_name=:success>
34012
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
34013
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34014
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user184@hungrymachine.com' LIMIT 1
34015
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user184@hungrymachine.com', 'first_name184', 'last_name184', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34016
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34017
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34018
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user185@hungrymachine.com' LIMIT 1
34019
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user185@hungrymachine.com', 'first_name185', 'last_name185', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34020
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
34021
+ Savepoint (0ms) SAVEPOINT active_record_1
34022
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description87', 'application87', '2014-01-10 16:00:21', 184)
34023
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34024
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34025
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `status`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 85, '2014-01-10 16:00:21', '0 * * * * ?', 71, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job71', 'success', '2014-01-10 16:00:21', 183)
34026
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34027
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34028
+ SQL (1.0ms) UPDATE `jobs` SET `updated_at` = '2014-01-10 16:00:41', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 71
34029
+ #<Rearview::Job:0x4203623c>#update_associated_event for transition #<StateMachine::Transition attribute=:status event=:success from="success" from_name=:success to="success" to_name=:success>
34030
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34031
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34032
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user186@hungrymachine.com' LIMIT 1
34033
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user186@hungrymachine.com', 'first_name186', 'last_name186', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34034
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34035
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34036
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user187@hungrymachine.com' LIMIT 1
34037
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user187@hungrymachine.com', 'first_name187', 'last_name187', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34038
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34039
+ Savepoint (0ms) SAVEPOINT active_record_1
34040
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description88', 'application88', '2014-01-10 16:00:21', 186)
34041
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34042
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34043
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 86, '2014-01-10 16:00:21', '0 * * * * ?', 72, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job72', '2014-01-10 16:00:21', 185)
34044
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34045
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34046
+ SQL (0ms) UPDATE `jobs` SET `status` = 'success', `updated_at` = '2014-01-10 16:00:41', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 72
34047
+ #<Rearview::Job:0x4f02bd26>#create_associated_event for transition #<StateMachine::Transition attribute=:status event=:success from=nil from_name=nil to="success" to_name=:success>
34048
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34049
+ Savepoint (0ms) SAVEPOINT active_record_1
34050
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user188@hungrymachine.com' LIMIT 1
34051
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user188@hungrymachine.com', 'first_name188', 'last_name188', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34052
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34053
+ Savepoint (0ms) SAVEPOINT active_record_1
34054
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user189@hungrymachine.com' LIMIT 1
34055
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user189@hungrymachine.com', 'first_name189', 'last_name189', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34056
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34057
+ Savepoint (0ms) SAVEPOINT active_record_1
34058
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description89', 'application89', '2014-01-10 16:00:21', 188)
34059
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34060
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34061
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `status`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 87, '2014-01-10 16:00:21', '0 * * * * ?', 73, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job73', 'success', '2014-01-10 16:00:21', 187)
34062
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
34063
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34064
+ SQL (0ms) UPDATE `jobs` SET `status` = 'error', `updated_at` = '2014-01-10 16:00:41', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 73
34065
+ #<Rearview::Job:0x2cc36f8c>#create_associated_event for transition #<StateMachine::Transition attribute=:status event=:error from="success" from_name=:success to="error" to_name=:error>
34066
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34067
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34068
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user190@hungrymachine.com' LIMIT 1
34069
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user190@hungrymachine.com', 'first_name190', 'last_name190', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34070
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34071
+ Savepoint (0ms) SAVEPOINT active_record_1
34072
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user191@hungrymachine.com' LIMIT 1
34073
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user191@hungrymachine.com', 'first_name191', 'last_name191', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34074
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34075
+ Savepoint (0ms) SAVEPOINT active_record_1
34076
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description90', 'application90', '2014-01-10 16:00:21', 190)
34077
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34078
+ Savepoint (0ms) SAVEPOINT active_record_1
34079
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `status`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 88, '2014-01-10 16:00:21', '0 * * * * ?', 74, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job74', 'error', '2014-01-10 16:00:21', 189)
34080
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34081
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34082
+ SQL (1.0ms) UPDATE `jobs` SET `updated_at` = '2014-01-10 16:00:41', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 74
34083
+ #<Rearview::Job:0x7204b839>#update_associated_event for transition #<StateMachine::Transition attribute=:status event=:error from="error" from_name=:error to="error" to_name=:error>
34084
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34085
+ Savepoint (0ms) SAVEPOINT active_record_1
34086
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user192@hungrymachine.com' LIMIT 1
34087
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user192@hungrymachine.com', 'first_name192', 'last_name192', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34088
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34089
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34090
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user193@hungrymachine.com' LIMIT 1
34091
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user193@hungrymachine.com', 'first_name193', 'last_name193', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34092
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34093
+ Savepoint (0ms) SAVEPOINT active_record_1
34094
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description91', 'application91', '2014-01-10 16:00:21', 192)
34095
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34096
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34097
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 89, '2014-01-10 16:00:21', '0 * * * * ?', 75, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job75', '2014-01-10 16:00:21', 191)
34098
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34099
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34100
+ SQL (0ms) UPDATE `jobs` SET `status` = 'error', `updated_at` = '2014-01-10 16:00:41', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 75
34101
+ #<Rearview::Job:0x2dc08f80>#create_associated_event for transition #<StateMachine::Transition attribute=:status event=:error from=nil from_name=nil to="error" to_name=:error>
34102
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
34103
+ Savepoint (0ms) SAVEPOINT active_record_1
34104
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user194@hungrymachine.com' LIMIT 1
34105
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user194@hungrymachine.com', 'first_name194', 'last_name194', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34106
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34107
+ Savepoint (0ms) SAVEPOINT active_record_1
34108
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user195@hungrymachine.com' LIMIT 1
34109
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user195@hungrymachine.com', 'first_name195', 'last_name195', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34110
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34111
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34112
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description92', 'application92', '2014-01-10 16:00:21', 194)
34113
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34114
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34115
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 90, '2014-01-10 16:00:21', '0 * * * * ?', 76, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job76', '2014-01-10 16:00:21', 193)
34116
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34117
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34118
+ Rearview::JobData Load (1.0ms) SELECT `job_data`.* FROM `job_data` WHERE `job_data`.`job_id` = 76 ORDER BY `job_data`.`id` ASC LIMIT 1
34119
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 76
34120
+ SQL (0ms) DELETE FROM `jobs` WHERE `jobs`.`id` = 76
34121
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
34122
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34123
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user196@hungrymachine.com' LIMIT 1
34124
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user196@hungrymachine.com', 'first_name196', 'last_name196', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34125
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34126
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34127
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user197@hungrymachine.com' LIMIT 1
34128
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user197@hungrymachine.com', 'first_name197', 'last_name197', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34129
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34130
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34131
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description93', 'application93', '2014-01-10 16:00:21', 196)
34132
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34133
+ Savepoint (0ms) SAVEPOINT active_record_1
34134
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 91, '2014-01-10 16:00:21', '0 * * * * ?', 77, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job77', '2014-01-10 16:00:21', 195)
34135
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34136
+ Savepoint (0ms) SAVEPOINT active_record_1
34137
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user198@hungrymachine.com' LIMIT 1
34138
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user198@hungrymachine.com', 'first_name198', 'last_name198', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34139
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34140
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34141
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user199@hungrymachine.com' LIMIT 1
34142
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user199@hungrymachine.com', 'first_name199', 'last_name199', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34143
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34144
+ Savepoint (0ms) SAVEPOINT active_record_1
34145
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description94', 'application94', '2014-01-10 16:00:21', 198)
34146
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34147
+ Savepoint (0ms) SAVEPOINT active_record_1
34148
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 92, '2014-01-10 16:00:21', '0 * * * * ?', 78, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job78', '2014-01-10 16:00:21', 197)
34149
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34150
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34151
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user200@hungrymachine.com' LIMIT 1
34152
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user200@hungrymachine.com', 'first_name200', 'last_name200', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34153
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34154
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34155
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user201@hungrymachine.com' LIMIT 1
34156
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user201@hungrymachine.com', 'first_name201', 'last_name201', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34157
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34158
+ Savepoint (0ms) SAVEPOINT active_record_1
34159
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description95', 'application95', '2014-01-10 16:00:21', 200)
34160
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34161
+ Savepoint (0ms) SAVEPOINT active_record_1
34162
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 93, '2014-01-10 16:00:21', '0 * * * * ?', 79, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job79', '2014-01-10 16:00:21', 199)
34163
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34164
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34165
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user202@hungrymachine.com' LIMIT 1
34166
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user202@hungrymachine.com', 'first_name202', 'last_name202', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34167
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34168
+ Savepoint (0ms) SAVEPOINT active_record_1
34169
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user203@hungrymachine.com' LIMIT 1
34170
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user203@hungrymachine.com', 'first_name203', 'last_name203', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34171
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34172
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34173
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description96', 'application96', '2014-01-10 16:00:21', 202)
34174
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34175
+ Savepoint (0ms) SAVEPOINT active_record_1
34176
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 94, '2014-01-10 16:00:21', '0 * * * * ?', 80, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job80', '2014-01-10 16:00:21', 201)
34177
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34178
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34179
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user204@hungrymachine.com' LIMIT 1
34180
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user204@hungrymachine.com', 'first_name204', 'last_name204', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34181
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
34182
+ Savepoint (0ms) SAVEPOINT active_record_1
34183
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user205@hungrymachine.com' LIMIT 1
34184
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user205@hungrymachine.com', 'first_name205', 'last_name205', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34185
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34186
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34187
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description97', 'application97', '2014-01-10 16:00:21', 204)
34188
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34189
+ Savepoint (0ms) SAVEPOINT active_record_1
34190
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 95, '2014-01-10 16:00:21', '0 * * * * ?', 81, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job81', '2014-01-10 16:00:21', 203)
34191
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34192
+ Savepoint (0ms) SAVEPOINT active_record_1
34193
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user206@hungrymachine.com' LIMIT 1
34194
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user206@hungrymachine.com', 'first_name206', 'last_name206', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34195
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34196
+ Savepoint (0ms) SAVEPOINT active_record_1
34197
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user207@hungrymachine.com' LIMIT 1
34198
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user207@hungrymachine.com', 'first_name207', 'last_name207', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34199
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34200
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34201
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description98', 'application98', '2014-01-10 16:00:21', 206)
34202
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34203
+ Savepoint (0ms) SAVEPOINT active_record_1
34204
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 96, '2014-01-10 16:00:21', '0 * * * * ?', 82, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job82', '2014-01-10 16:00:21', 205)
34205
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34206
+ Savepoint (0ms) SAVEPOINT active_record_1
34207
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user208@hungrymachine.com' LIMIT 1
34208
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user208@hungrymachine.com', 'first_name208', 'last_name208', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34209
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34210
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34211
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user209@hungrymachine.com' LIMIT 1
34212
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user209@hungrymachine.com', 'first_name209', 'last_name209', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34213
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34214
+ Savepoint (0ms) SAVEPOINT active_record_1
34215
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description99', 'application99', '2014-01-10 16:00:21', 208)
34216
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34217
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34218
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 97, '2014-01-10 16:00:21', '0 * * * * ?', 83, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job83', '2014-01-10 16:00:21', 207)
34219
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34220
+ Savepoint (0ms) SAVEPOINT active_record_1
34221
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user210@hungrymachine.com' LIMIT 1
34222
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user210@hungrymachine.com', 'first_name210', 'last_name210', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34223
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34224
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34225
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user211@hungrymachine.com' LIMIT 1
34226
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user211@hungrymachine.com', 'first_name211', 'last_name211', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34227
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34228
+ Savepoint (0ms) SAVEPOINT active_record_1
34229
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description100', 'application100', '2014-01-10 16:00:21', 210)
34230
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34231
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34232
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 98, '2014-01-10 16:00:21', '0 * * * * ?', 84, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job84', '2014-01-10 16:00:21', 209)
34233
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
34234
+ Savepoint (0ms) SAVEPOINT active_record_1
34235
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user212@hungrymachine.com' LIMIT 1
34236
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user212@hungrymachine.com', 'first_name212', 'last_name212', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34237
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
34238
+ Savepoint (0ms) SAVEPOINT active_record_1
34239
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user213@hungrymachine.com' LIMIT 1
34240
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user213@hungrymachine.com', 'first_name213', 'last_name213', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34241
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34242
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34243
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description101', 'application101', '2014-01-10 16:00:21', 212)
34244
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34245
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34246
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 99, '2014-01-10 16:00:21', '0 * * * * ?', 85, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job85', '2014-01-10 16:00:21', 211)
34247
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34248
+ Savepoint (0ms) SAVEPOINT active_record_1
34249
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user214@hungrymachine.com' LIMIT 1
34250
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user214@hungrymachine.com', 'first_name214', 'last_name214', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34251
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34252
+ Savepoint (0ms) SAVEPOINT active_record_1
34253
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user215@hungrymachine.com' LIMIT 1
34254
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user215@hungrymachine.com', 'first_name215', 'last_name215', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34255
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34256
+ Savepoint (0ms) SAVEPOINT active_record_1
34257
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description102', 'application102', '2014-01-10 16:00:21', 214)
34258
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34259
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34260
+ SQL (1.0ms) INSERT INTO `jobs` (`active`, `alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES (0, '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 100, '2014-01-10 16:00:21', '0 * * * * ?', 86, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job86', '2014-01-10 16:00:21', 213)
34261
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34262
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34263
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user216@hungrymachine.com' LIMIT 1
34264
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user216@hungrymachine.com', 'first_name216', 'last_name216', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34265
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34266
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34267
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user217@hungrymachine.com' LIMIT 1
34268
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user217@hungrymachine.com', 'first_name217', 'last_name217', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34269
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34270
+ Savepoint (0ms) SAVEPOINT active_record_1
34271
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description103', 'application103', '2014-01-10 16:00:21', 216)
34272
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34273
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34274
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 101, '2014-01-10 16:00:21', '0 * * * * ?', 87, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job87', '2014-01-10 16:00:21', 215)
34275
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
34276
+  (1.0ms) SELECT COUNT(*) FROM `jobs` WHERE `jobs`.`active` = 1
34277
+ Rearview::Job Load (2.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`active` = 1 ORDER BY `jobs`.`id` ASC LIMIT 1
34278
+ Savepoint (0ms) SAVEPOINT active_record_1
34279
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user218@hungrymachine.com' LIMIT 1
34280
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user218@hungrymachine.com', 'first_name218', 'last_name218', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34281
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34282
+ Savepoint (0ms) SAVEPOINT active_record_1
34283
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user219@hungrymachine.com' LIMIT 1
34284
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user219@hungrymachine.com', 'first_name219', 'last_name219', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34285
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34286
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34287
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description104', 'application104', '2014-01-10 16:00:21', 218)
34288
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34289
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34290
+ SQL (1.0ms) INSERT INTO `jobs` (`active`, `alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES (0, '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 102, '2014-01-10 16:00:21', '0 * * * * ?', 88, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job88', '2014-01-10 16:00:21', 217)
34291
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
34292
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34293
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user220@hungrymachine.com' LIMIT 1
34294
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user220@hungrymachine.com', 'first_name220', 'last_name220', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34295
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34296
+ Savepoint (0ms) SAVEPOINT active_record_1
34297
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user221@hungrymachine.com' LIMIT 1
34298
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user221@hungrymachine.com', 'first_name221', 'last_name221', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34299
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
34300
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34301
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description105', 'application105', '2014-01-10 16:00:21', 220)
34302
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34303
+ Savepoint (0ms) SAVEPOINT active_record_1
34304
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 103, '2014-01-10 16:00:21', '0 * * * * ?', 89, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job89', '2014-01-10 16:00:21', 219)
34305
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34306
+ Savepoint (0ms) SAVEPOINT active_record_1
34307
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user222@hungrymachine.com' LIMIT 1
34308
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user222@hungrymachine.com', 'first_name222', 'last_name222', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34309
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34310
+ Savepoint (0ms) SAVEPOINT active_record_1
34311
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user223@hungrymachine.com' LIMIT 1
34312
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user223@hungrymachine.com', 'first_name223', 'last_name223', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34313
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34314
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34315
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description106', 'application106', '2014-01-10 16:00:21', 222)
34316
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34317
+ Savepoint (0ms) SAVEPOINT active_record_1
34318
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 104, '2014-01-10 16:00:21', '0 * * * * ?', 90, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job90', '2014-01-10 16:00:21', 221)
34319
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34320
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/jobs/_job.json.jbuilder (3.0ms)
34321
+ Savepoint (0ms) SAVEPOINT active_record_1
34322
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user224@hungrymachine.com' LIMIT 1
34323
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user224@hungrymachine.com', 'first_name224', 'last_name224', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34324
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34325
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34326
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user225@hungrymachine.com' LIMIT 1
34327
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user225@hungrymachine.com', 'first_name225', 'last_name225', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34328
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34329
+ Savepoint (0ms) SAVEPOINT active_record_1
34330
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description107', 'application107', '2014-01-10 16:00:21', 224)
34331
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34332
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34333
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 105, '2014-01-10 16:00:21', '0 * * * * ?', 91, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job91', '2014-01-10 16:00:21', 223)
34334
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34335
+ Savepoint (0ms) SAVEPOINT active_record_1
34336
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user226@hungrymachine.com' LIMIT 1
34337
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user226@hungrymachine.com', 'first_name226', 'last_name226', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34338
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34339
+ Savepoint (0ms) SAVEPOINT active_record_1
34340
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description108', 'application108', '2014-01-10 16:00:21', 225)
34341
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34342
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34343
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user227@hungrymachine.com' LIMIT 1
34344
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user227@hungrymachine.com', 'first_name227', 'last_name227', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34345
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34346
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34347
+ SQL (0ms) INSERT INTO `applications` (`ancestry`, `created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('106', '2014-01-10 16:00:21', 'description109', 'application109', '2014-01-10 16:00:21', 226)
34348
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34349
+ Savepoint (0ms) SAVEPOINT active_record_1
34350
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user228@hungrymachine.com' LIMIT 1
34351
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user228@hungrymachine.com', 'first_name228', 'last_name228', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34352
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34353
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34354
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user229@hungrymachine.com' LIMIT 1
34355
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user229@hungrymachine.com', 'first_name229', 'last_name229', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34356
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34357
+ Savepoint (0ms) SAVEPOINT active_record_1
34358
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description110', 'application110', '2014-01-10 16:00:21', 228)
34359
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34360
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34361
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 107 ORDER BY `applications`.`id` ASC LIMIT 1
34362
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 107, '2014-01-10 16:00:21', '0 * * * * ?', 92, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job92', '2014-01-10 16:00:21', 227)
34363
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34364
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 106 LIMIT 1
34365
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34366
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user230@hungrymachine.com' LIMIT 1
34367
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user230@hungrymachine.com', 'first_name230', 'last_name230', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34368
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34369
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34370
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user231@hungrymachine.com' LIMIT 1
34371
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user231@hungrymachine.com', 'first_name231', 'last_name231', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34372
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34373
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34374
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description111', 'application111', '2014-01-10 16:00:21', 230)
34375
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34376
+ Savepoint (0ms) SAVEPOINT active_record_1
34377
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 109, '2014-01-10 16:00:21', '0 * * * * ?', 93, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job93', '2014-01-10 16:00:21', 229)
34378
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34379
+ Savepoint (0ms) SAVEPOINT active_record_1
34380
+ SQL (0ms) INSERT INTO `job_data` (`created_at`, `data`, `job_id`, `updated_at`) VALUES ('2014-01-10 16:00:21', '{\"status\":\"success\",\"output\":\"yo\",\"graph_data\":{\"stats_counts.cupcake.web_traffic.impression\":[[1368035700,66.0],[1368035710,76.0],[1368035720,86.0],[1368035730,63.0],[1368035740,70.0],[1368035750,56.0],[1368035760,null]]}}', 93, '2014-01-10 16:00:21')
34381
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34382
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/job_data/_job_data.json.jbuilder (4.0ms)
34383
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34384
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user232@hungrymachine.com' LIMIT 1
34385
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user232@hungrymachine.com', 'first_name232', 'last_name232', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34386
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34387
+ Savepoint (0ms) SAVEPOINT active_record_1
34388
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user233@hungrymachine.com' LIMIT 1
34389
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user233@hungrymachine.com', 'first_name233', 'last_name233', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34390
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34391
+ Savepoint (0ms) SAVEPOINT active_record_1
34392
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description112', 'application112', '2014-01-10 16:00:21', 232)
34393
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34394
+ Savepoint (0ms) SAVEPOINT active_record_1
34395
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 110, '2014-01-10 16:00:21', '0 * * * * ?', 94, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job94', '2014-01-10 16:00:21', 231)
34396
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34397
+ Savepoint (0ms) SAVEPOINT active_record_1
34398
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user234@hungrymachine.com' LIMIT 1
34399
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user234@hungrymachine.com', 'first_name234', 'last_name234', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34400
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34401
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34402
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user235@hungrymachine.com' LIMIT 1
34403
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user235@hungrymachine.com', 'first_name235', 'last_name235', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34404
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34405
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34406
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description113', 'application113', '2014-01-10 16:00:21', 234)
34407
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34408
+ Savepoint (0ms) SAVEPOINT active_record_1
34409
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 111, '2014-01-10 16:00:21', '0 * * * * ?', 95, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job95', '2014-01-10 16:00:21', 233)
34410
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34411
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/jobs/_job.json.jbuilder (2.0ms)
34412
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/jobs/_job.json.jbuilder (1.0ms)
34413
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34414
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user236@hungrymachine.com' LIMIT 1
34415
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user236@hungrymachine.com', 'first_name236', 'last_name236', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34416
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34417
+ Savepoint (0ms) SAVEPOINT active_record_1
34418
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description114', 'application114', '2014-01-10 16:00:21', 235)
34419
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34420
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34421
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user237@hungrymachine.com' LIMIT 1
34422
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:00:21', 'user237@hungrymachine.com', 'first_name237', 'last_name237', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:00:21')
34423
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34424
+ Savepoint (0ms) SAVEPOINT active_record_1
34425
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:00:21', 'description115', 'application115', '2014-01-10 16:00:21', 236)
34426
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34427
+ Terminating 6 actors...
34428
+ Shutdown completed cleanly
34429
+ Terminating 5 actors...
34430
+ Shutdown completed cleanly
34431
+ Rearview::StatsService crashed!
34432
+ Rearview::StatsService::StatsServiceError: service not started
34433
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/stats_service.rb:18:in `shutdown'
34434
+ org/jruby/RubyKernel.java:1961:in `public_send'
34435
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:25:in `dispatch'
34436
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:67:in `dispatch'
34437
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/actor.rb:326:in `handle_message'
34438
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:42:in `initialize'
34439
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:35:in `initialize'
34440
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks/task_fiber.rb:11:in `create'
34441
+ (celluloid):0:in `remote procedure call'
34442
+ Terminating 4 actors...
34443
+ Shutdown completed cleanly
34444
+ Terminating 5 actors...
34445
+ Shutdown completed cleanly
34446
+ Terminating 5 actors...
34447
+ Shutdown completed cleanly
34448
+ Terminating 5 actors...
34449
+ Shutdown completed cleanly
34450
+ Rearview::StatsService crashed!
34451
+ Rearview::StatsService::StatsServiceError: service already started
34452
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/stats_service.rb:13:in `startup'
34453
+ org/jruby/RubyKernel.java:1961:in `public_send'
34454
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:25:in `dispatch'
34455
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:67:in `dispatch'
34456
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/actor.rb:326:in `handle_message'
34457
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:42:in `initialize'
34458
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:35:in `initialize'
34459
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks/task_fiber.rb:11:in `create'
34460
+ (celluloid):0:in `remote procedure call'
34461
+ Terminating 4 actors...
34462
+ Shutdown completed cleanly
34463
+ [Rearview] booting...
34464
+ [Rearview] using configuration:
34465
+ authentication={:strategy=>:database}
34466
+ default_from=rearview@localhost
34467
+ default_url_options={:host=>"localhost", :port=>"3000"}
34468
+ enable_alerts=true
34469
+ enable_monitor=false
34470
+ enable_stats=false
34471
+ graphite_url=nil
34472
+ logger=#<ActiveSupport::Logger:0x70e793d>
34473
+ pagerduty_url=https://events.pagerduty.com/generic/2010-04-15/create_event.json
34474
+ preload_jobs=false
34475
+ sandbox_dir=/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox
34476
+ sandbox_exec=["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby"]
34477
+ sandbox_timeout=10
34478
+ statsd_connection={:host=>"127.0.0.1", :port=>8125, :namespace=>"rearview"}
34479
+ verify=false
34480
+ [Rearview] starting up monitor service for (0) job(s)
34481
+ [Rearview] monitor disabled
34482
+ Savepoint (4.0ms) SAVEPOINT active_record_1
34483
+ Rearview::User Exists (3.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user1@hungrymachine.com' LIMIT 1
34484
+ SQL (2.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:09:31', 'user1@hungrymachine.com', 'first_name1', 'last_name1', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:09:31')
34485
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34486
+ Savepoint (0ms) SAVEPOINT active_record_1
34487
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user2@hungrymachine.com' LIMIT 1
34488
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:09:31', 'user2@hungrymachine.com', 'first_name2', 'last_name2', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:09:31')
34489
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34490
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34491
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:09:31', 'description1', 'application1', '2014-01-10 16:09:31', 238)
34492
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
34493
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34494
+ Savepoint (0ms) ROLLBACK TO SAVEPOINT active_record_1
34495
+ Terminating 1 actors...
34496
+ Shutdown completed cleanly
34497
+ [Rearview] booting...
34498
+ [Rearview] using configuration:
34499
+ authentication={:strategy=>:database}
34500
+ default_from=rearview@localhost
34501
+ default_url_options={:host=>"localhost", :port=>"3000"}
34502
+ enable_alerts=true
34503
+ enable_monitor=false
34504
+ enable_stats=false
34505
+ graphite_url=nil
34506
+ logger=#<ActiveSupport::Logger:0x425f90ca>
34507
+ pagerduty_url=https://events.pagerduty.com/generic/2010-04-15/create_event.json
34508
+ preload_jobs=false
34509
+ sandbox_dir=/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox
34510
+ sandbox_exec=["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby"]
34511
+ sandbox_timeout=10
34512
+ statsd_connection={:host=>"127.0.0.1", :port=>8125, :namespace=>"rearview"}
34513
+ verify=false
34514
+ [Rearview] starting up monitor service for (0) job(s)
34515
+ [Rearview] monitor disabled
34516
+ Savepoint (4.0ms) SAVEPOINT active_record_1
34517
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user1@hungrymachine.com' LIMIT 1
34518
+ SQL (2.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:15:42', 'user1@hungrymachine.com', 'first_name1', 'last_name1', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:15:42')
34519
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34520
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34521
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user2@hungrymachine.com' LIMIT 1
34522
+ SQL (2.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:15:42', 'user2@hungrymachine.com', 'first_name2', 'last_name2', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:15:42')
34523
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
34524
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34525
+ SQL (2.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:15:42', 'description1', 'application1', '2014-01-10 16:15:42', 240)
34526
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34527
+ Savepoint (2.0ms) SAVEPOINT active_record_1
34528
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"campfire://mycompany.com?token=abc&room=123\"]', 115, '2014-01-10 16:15:42', '0 * * * * ?', 1, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job1', '2014-01-10 16:15:42', 239)
34529
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34530
+ Terminating 1 actors...
34531
+ Shutdown completed cleanly
34532
+ [Rearview] booting...
34533
+ [Rearview] using configuration:
34534
+ authentication={:strategy=>:database}
34535
+ default_from=rearview@localhost
34536
+ default_url_options={:host=>"localhost", :port=>"3000"}
34537
+ enable_alerts=true
34538
+ enable_monitor=false
34539
+ enable_stats=false
34540
+ graphite_url=nil
34541
+ logger=#<ActiveSupport::Logger:0xc84d4bd>
34542
+ pagerduty_url=https://events.pagerduty.com/generic/2010-04-15/create_event.json
34543
+ preload_jobs=false
34544
+ sandbox_dir=/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox
34545
+ sandbox_exec=["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby"]
34546
+ sandbox_timeout=10
34547
+ statsd_connection={:host=>"127.0.0.1", :port=>8125, :namespace=>"rearview"}
34548
+ verify=false
34549
+ [Rearview] starting up monitor service for (0) job(s)
34550
+ [Rearview] monitor disabled
34551
+ Savepoint (5.0ms) SAVEPOINT active_record_1
34552
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user1@hungrymachine.com' LIMIT 1
34553
+ SQL (2.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:17:17', 'user1@hungrymachine.com', 'first_name1', 'last_name1', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:17:17')
34554
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34555
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34556
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user2@hungrymachine.com' LIMIT 1
34557
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:17:17', 'user2@hungrymachine.com', 'first_name2', 'last_name2', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:17:17')
34558
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34559
+ Savepoint (35.0ms) SAVEPOINT active_record_1
34560
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:17:17', 'description1', 'application1', '2014-01-10 16:17:17', 242)
34561
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34562
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34563
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"campfire://mycompany.com?token=abc&room=123\"]', 116, '2014-01-10 16:17:17', '0 * * * * ?', 1, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job1', '2014-01-10 16:17:17', 241)
34564
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34565
+ #<Rearview::Alerts::CampfireAlert:0x6b3a9bee> send alert for #<Rearview::Job id: 1, created_at: "2014-01-10 16:17:17", updated_at: "2014-01-10 16:17:17", name: "job1", active: true, last_run: nil, cron_expr: "0 * * * * ?", status: nil, user_id: 241, alert_keys: ["campfire://mycompany.com?token=abc&room=123"], deleted_at: nil, error_timeout: 60, next_run: nil, description: nil, app_id: 116, metrics: ["stats_counts.cupcake.web_traffic.impression"], monitor_expr: "puts 'hello, world!'", minutes: 1, to_date: nil> and key campfire://mycompany.com?token=abc&room=123 with params {"scheme"=>"campfire", "account"=>"mycompany.com", "token"=>"abc", "room"=>"123", "use_ssl"=>true}
34566
+ Terminating 1 actors...
34567
+ Shutdown completed cleanly
34568
+ [Rearview] booting...
34569
+ [Rearview] using configuration:
34570
+ authentication={:strategy=>:database}
34571
+ default_from=rearview@localhost
34572
+ default_url_options={:host=>"localhost", :port=>"3000"}
34573
+ enable_alerts=true
34574
+ enable_monitor=false
34575
+ enable_stats=false
34576
+ graphite_url=nil
34577
+ logger=#<ActiveSupport::Logger:0x71d7c3ff>
34578
+ pagerduty_url=https://events.pagerduty.com/generic/2010-04-15/create_event.json
34579
+ preload_jobs=false
34580
+ sandbox_dir=/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox
34581
+ sandbox_exec=["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby"]
34582
+ sandbox_timeout=10
34583
+ statsd_connection={:host=>"127.0.0.1", :port=>8125, :namespace=>"rearview"}
34584
+ verify=false
34585
+ [Rearview] starting up monitor service for (0) job(s)
34586
+ [Rearview] monitor disabled
34587
+ Savepoint (4.0ms) SAVEPOINT active_record_1
34588
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user1@hungrymachine.com' LIMIT 1
34589
+ SQL (3.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:18:24', 'user1@hungrymachine.com', 'first_name1', 'last_name1', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:18:24')
34590
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34591
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34592
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user2@hungrymachine.com' LIMIT 1
34593
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:18:24', 'user2@hungrymachine.com', 'first_name2', 'last_name2', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:18:24')
34594
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
34595
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34596
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:18:24', 'description1', 'application1', '2014-01-10 16:18:24', 244)
34597
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34598
+ Savepoint (2.0ms) SAVEPOINT active_record_1
34599
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"campfire://mycompany.com?token=abc&room=myroom\"]', 117, '2014-01-10 16:18:24', '0 * * * * ?', 1, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job1', '2014-01-10 16:18:24', 243)
34600
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34601
+ #<Rearview::Alerts::CampfireAlert:0x692d0a8f> send alert for #<Rearview::Job id: 1, created_at: "2014-01-10 16:18:24", updated_at: "2014-01-10 16:18:24", name: "job1", active: true, last_run: nil, cron_expr: "0 * * * * ?", status: nil, user_id: 243, alert_keys: ["campfire://mycompany.com?token=abc&room=myroom"], deleted_at: nil, error_timeout: 60, next_run: nil, description: nil, app_id: 117, metrics: ["stats_counts.cupcake.web_traffic.impression"], monitor_expr: "puts 'hello, world!'", minutes: 1, to_date: nil> and key campfire://mycompany.com?token=abc&room=myroom with params {"scheme"=>"campfire", "account"=>"mycompany.com", "token"=>"abc", "room"=>"myroom", "use_ssl"=>true}
34602
+ Terminating 1 actors...
34603
+ Shutdown completed cleanly
34604
+ [Rearview] booting...
34605
+ [Rearview] using configuration:
34606
+ authentication={:strategy=>:database}
34607
+ default_from=rearview@localhost
34608
+ default_url_options={:host=>"localhost", :port=>"3000"}
34609
+ enable_alerts=true
34610
+ enable_monitor=false
34611
+ enable_stats=false
34612
+ graphite_url=nil
34613
+ logger=#<ActiveSupport::Logger:0x5817e692>
34614
+ pagerduty_url=https://events.pagerduty.com/generic/2010-04-15/create_event.json
34615
+ preload_jobs=false
34616
+ sandbox_dir=/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox
34617
+ sandbox_exec=["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby"]
34618
+ sandbox_timeout=10
34619
+ statsd_connection={:host=>"127.0.0.1", :port=>8125, :namespace=>"rearview"}
34620
+ verify=false
34621
+ [Rearview] starting up monitor service for (0) job(s)
34622
+ [Rearview] monitor disabled
34623
+ Savepoint (6.0ms) SAVEPOINT active_record_1
34624
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user1@hungrymachine.com' LIMIT 1
34625
+ SQL (2.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:19:23', 'user1@hungrymachine.com', 'first_name1', 'last_name1', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:19:23')
34626
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34627
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34628
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user2@hungrymachine.com' LIMIT 1
34629
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:19:23', 'user2@hungrymachine.com', 'first_name2', 'last_name2', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:19:23')
34630
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34631
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34632
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:19:23', 'description1', 'application1', '2014-01-10 16:19:23', 246)
34633
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34634
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34635
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"campfire://mycompany.com?token=abc&room=myroom\"]', 118, '2014-01-10 16:19:23', '0 * * * * ?', 1, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job1', '2014-01-10 16:19:23', 245)
34636
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34637
+ #<Rearview::Alerts::CampfireAlert:0x71fbd9be> send alert for #<Rearview::Job id: 1, created_at: "2014-01-10 16:19:23", updated_at: "2014-01-10 16:19:23", name: "job1", active: true, last_run: nil, cron_expr: "0 * * * * ?", status: nil, user_id: 245, alert_keys: ["campfire://mycompany.com?token=abc&room=myroom"], deleted_at: nil, error_timeout: 60, next_run: nil, description: nil, app_id: 118, metrics: ["stats_counts.cupcake.web_traffic.impression"], monitor_expr: "puts 'hello, world!'", minutes: 1, to_date: nil> and key campfire://mycompany.com?token=abc&room=myroom with params {"scheme"=>"campfire", "account"=>"mycompany.com", "token"=>"abc", "room"=>"myroom", "use_ssl"=>true}
34638
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34639
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user3@hungrymachine.com' LIMIT 1
34640
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:19:23', 'user3@hungrymachine.com', 'first_name3', 'last_name3', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:19:23')
34641
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34642
+ Savepoint (2.0ms) SAVEPOINT active_record_1
34643
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user4@hungrymachine.com' LIMIT 1
34644
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:19:23', 'user4@hungrymachine.com', 'first_name4', 'last_name4', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:19:23')
34645
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
34646
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34647
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:19:23', 'description2', 'application2', '2014-01-10 16:19:23', 248)
34648
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34649
+ Savepoint (0ms) SAVEPOINT active_record_1
34650
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"campfire://mycompany.com?token=abc&room=myroom\"]', 119, '2014-01-10 16:19:23', '0 * * * * ?', 2, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job2', '2014-01-10 16:19:23', 247)
34651
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34652
+ #<Rearview::Alerts::CampfireAlert:0x3573a5b0> send alert for #<Rearview::Job id: 2, created_at: "2014-01-10 16:19:23", updated_at: "2014-01-10 16:19:23", name: "job2", active: true, last_run: nil, cron_expr: "0 * * * * ?", status: nil, user_id: 247, alert_keys: ["campfire://mycompany.com?token=abc&room=myroom"], deleted_at: nil, error_timeout: 60, next_run: nil, description: nil, app_id: 119, metrics: ["stats_counts.cupcake.web_traffic.impression"], monitor_expr: "puts 'hello, world!'", minutes: 1, to_date: nil> and key campfire://mycompany.com?token=abc&room=myroom with params {"scheme"=>"campfire", "account"=>"mycompany.com", "token"=>"abc", "room"=>"myroom", "use_ssl"=>true}
34653
+ Terminating 1 actors...
34654
+ Shutdown completed cleanly
34655
+ [Rearview] booting...
34656
+ [Rearview] using configuration:
34657
+ authentication={:strategy=>:database}
34658
+ default_from=rearview@localhost
34659
+ default_url_options={:host=>"localhost", :port=>"3000"}
34660
+ enable_alerts=true
34661
+ enable_monitor=false
34662
+ enable_stats=false
34663
+ graphite_url=nil
34664
+ logger=#<ActiveSupport::Logger:0x101adfd1>
34665
+ pagerduty_url=https://events.pagerduty.com/generic/2010-04-15/create_event.json
34666
+ preload_jobs=false
34667
+ sandbox_dir=/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox
34668
+ sandbox_exec=["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby"]
34669
+ sandbox_timeout=10
34670
+ statsd_connection={:host=>"127.0.0.1", :port=>8125, :namespace=>"rearview"}
34671
+ verify=false
34672
+ [Rearview] starting up monitor service for (0) job(s)
34673
+ [Rearview] monitor disabled
34674
+ Savepoint (6.0ms) SAVEPOINT active_record_1
34675
+ Rearview::User Exists (3.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user1@hungrymachine.com' LIMIT 1
34676
+ SQL (2.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:19:44', 'user1@hungrymachine.com', 'first_name1', 'last_name1', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:19:44')
34677
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
34678
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34679
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user2@hungrymachine.com' LIMIT 1
34680
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:19:44', 'user2@hungrymachine.com', 'first_name2', 'last_name2', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:19:44')
34681
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34682
+ Savepoint (0ms) SAVEPOINT active_record_1
34683
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:19:44', 'description1', 'application1', '2014-01-10 16:19:44', 250)
34684
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34685
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34686
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"campfire://mycompany.com?token=abc&room=myroom\"]', 120, '2014-01-10 16:19:44', '0 * * * * ?', 1, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job1', '2014-01-10 16:19:44', 249)
34687
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34688
+ #<Rearview::Alerts::CampfireAlert:0x7b94d4d4> send alert for #<Rearview::Job id: 1, created_at: "2014-01-10 16:19:44", updated_at: "2014-01-10 16:19:44", name: "job1", active: true, last_run: nil, cron_expr: "0 * * * * ?", status: nil, user_id: 249, alert_keys: ["campfire://mycompany.com?token=abc&room=myroom"], deleted_at: nil, error_timeout: 60, next_run: nil, description: nil, app_id: 120, metrics: ["stats_counts.cupcake.web_traffic.impression"], monitor_expr: "puts 'hello, world!'", minutes: 1, to_date: nil> and key campfire://mycompany.com?token=abc&room=myroom with params {"scheme"=>"campfire", "account"=>"mycompany.com", "token"=>"abc", "room"=>"myroom", "use_ssl"=>true}
34689
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34690
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user3@hungrymachine.com' LIMIT 1
34691
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:19:44', 'user3@hungrymachine.com', 'first_name3', 'last_name3', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:19:44')
34692
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34693
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34694
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user4@hungrymachine.com' LIMIT 1
34695
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-10 16:19:44', 'user4@hungrymachine.com', 'first_name4', 'last_name4', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-10 16:19:44')
34696
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34697
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34698
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-10 16:19:44', 'description2', 'application2', '2014-01-10 16:19:44', 252)
34699
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34700
+ Savepoint (1.0ms) SAVEPOINT active_record_1
34701
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"campfire://mycompany.com?token=abc&room=myroom\"]', 121, '2014-01-10 16:19:44', '0 * * * * ?', 2, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job2', '2014-01-10 16:19:44', 251)
34702
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
34703
+ #<Rearview::Alerts::CampfireAlert:0x2b99e8cd> send alert for #<Rearview::Job id: 2, created_at: "2014-01-10 16:19:44", updated_at: "2014-01-10 16:19:44", name: "job2", active: true, last_run: nil, cron_expr: "0 * * * * ?", status: nil, user_id: 251, alert_keys: ["campfire://mycompany.com?token=abc&room=myroom"], deleted_at: nil, error_timeout: 60, next_run: nil, description: nil, app_id: 121, metrics: ["stats_counts.cupcake.web_traffic.impression"], monitor_expr: "puts 'hello, world!'", minutes: 1, to_date: nil> and key campfire://mycompany.com?token=abc&room=myroom with params {"scheme"=>"campfire", "account"=>"mycompany.com", "token"=>"abc", "room"=>"myroom", "use_ssl"=>true}
34704
+ Terminating 1 actors...
34705
+ Shutdown completed cleanly