rearview 1.0.2.rc.1-jruby → 1.0.2.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: 3afd494ce07f77dd67890c0493eb42cd7f9268dd
4
- data.tar.gz: 8bf0a093d84e24e3a1e998a11740bd1ca700cc4c
3
+ metadata.gz: 4b5f9151a1268441aad50238db3e6d8f0d681ed8
4
+ data.tar.gz: 95480df026b573a32205a32f988b41f5a2d9382f
5
5
  SHA512:
6
- metadata.gz: f714292f5d46f51ed6b9c961a54c832c75441700d972778f9775ccf49e44f3f55a35a797b76e140360a7483b04f37cf54a7ff5a0f703240a6834fbd23d725f31
7
- data.tar.gz: dc07a5a6f6d033a8a4386145ceacf7c8ff48de643a57041919ac4d7c0397c47600531d5843c1fa16fb5c7dde6b1d77bb6e541f2536ecff4d88a865370b319b42
6
+ metadata.gz: 6b0daac01c3c4abdda1ed60fe3ade87e2f0e0bf1c394e5e32906c523355c582e4c39e2d8cdbe95c7d10564d2916eaa2cf7bc1623a98ed67f44e2f11dc54b8e93
7
+ data.tar.gz: 416e779200ca23d790a9169ad1988b0ea7b2dbe83f92fea51c10e8c6c1573078153ac4891673281c12aa29e1f9942544a0181b514b6696401d5837886fc5b912
@@ -0,0 +1,7 @@
1
+ class AddIndexes < ActiveRecord::Migration
2
+ def change
3
+ add_index :jobs, :status
4
+ add_index :job_errors, :status
5
+ add_index :job_data, :job_id
6
+ end
7
+ end
@@ -1,3 +1,3 @@
1
1
  module Rearview
2
- VERSION = "1.0.2.rc.1"
2
+ VERSION = "1.0.2.rc.2"
3
3
  end
@@ -112,3 +112,22 @@
112
112
   (2.0ms) SELECT version FROM `schema_migrations`
113
113
   (2.0ms) INSERT INTO `schema_migrations` (version) VALUES ('20131106162900')
114
114
  ActiveRecord::SchemaMigration Load (2.0ms) SELECT `schema_migrations`.* FROM `schema_migrations`
115
+  (29.0ms) DROP DATABASE IF EXISTS `rearview_dummy_test`
116
+  (2.0ms) CREATE DATABASE `rearview_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
117
+  (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
118
+  (11.0ms) CREATE INDEX `index_applications_on_ancestry` ON `applications` (`ancestry`)
119
+  (11.0ms) CREATE INDEX `user_id` ON `applications` (`user_id`)
120
+  (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
121
+  (8.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
122
+  (11.0ms) CREATE INDEX `job_id` ON `job_errors` (`job_id`)
123
+  (8.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
124
+  (9.0ms) CREATE INDEX `app_id` ON `jobs` (`app_id`)
125
+  (8.0ms) CREATE UNIQUE INDEX `id_name_version_key` ON `jobs` (`id`, `name`)
126
+  (9.0ms) CREATE INDEX `jobs_ibfk_1` ON `jobs` (`user_id`)
127
+  (13.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
128
+  (10.0ms) CREATE UNIQUE INDEX `email` ON `users` (`email`)
129
+  (8.0ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB DEFAULT CHARSET=utf8
130
+  (11.0ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
131
+  (2.0ms) SELECT version FROM `schema_migrations`
132
+  (2.0ms) INSERT INTO `schema_migrations` (version) VALUES ('20131106162900')
133
+ ActiveRecord::SchemaMigration Load (2.0ms) SELECT `schema_migrations`.* FROM `schema_migrations`
@@ -15416,3 +15416,2485 @@ verify=false
15416
15416
  Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'arbitrary_string' LIMIT 1
15417
15417
  Terminating 1 actors...
15418
15418
  Shutdown completed cleanly
15419
+ [Rearview] booting...
15420
+ [Rearview] using configuration:
15421
+ authentication={:strategy=>:database}
15422
+ default_from=rearview@localhost
15423
+ default_url_options={:host=>"localhost", :port=>"3000"}
15424
+ enable_alerts=true
15425
+ enable_monitor=false
15426
+ graphite_url=nil
15427
+ logger=#<ActiveSupport::Logger:0x910ff5c>
15428
+ pagerduty_url=https://events.pagerduty.com/generic/2010-04-15/create_event.json
15429
+ preload_jobs=false
15430
+ sandbox_dir=/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox
15431
+ sandbox_exec=["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby"]
15432
+ sandbox_timeout=10
15433
+ verify=false
15434
+ [Rearview] starting up monitor service for (0) job(s)
15435
+ [Rearview] monitor disabled
15436
+ Savepoint (4.0ms) SAVEPOINT active_record_1
15437
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user1@hungrymachine.com' LIMIT 1
15438
+ SQL (2.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user1@hungrymachine.com', 'first_name1', 'last_name1', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15439
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15440
+ Savepoint (0ms) SAVEPOINT active_record_1
15441
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user2@hungrymachine.com' LIMIT 1
15442
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user2@hungrymachine.com', 'first_name2', 'last_name2', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15443
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15444
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15445
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description1', 'application1', '2014-01-02 14:04:40', 2)
15446
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
15447
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15448
+ 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\"]', 1, '2014-01-02 14:04:40', '0 * * * * ?', 1, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job1', '2014-01-02 14:04:40', 1)
15449
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15450
+ #<Rearview::Alerts::EmailAlert:0x6ef3e973> send alert for #<Rearview::Job id: 1, created_at: "2014-01-02 14:04:40", updated_at: "2014-01-02 14:04:40", name: "job1", active: true, last_run: nil, cron_expr: "0 * * * * ?", status: nil, user_id: 1, alert_keys: ["mailto:foo@hungrymachine.com", "pagerduty:54232f6f4c4447efb6d15e20dbb7349c"], 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 mailto:foo@hungrymachine.com with params {"scheme"=>"mailto", "email"=>"foo@hungrymachine.com"}
15451
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15452
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user3@hungrymachine.com' LIMIT 1
15453
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user3@hungrymachine.com', 'first_name3', 'last_name3', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15454
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15455
+ Savepoint (0ms) SAVEPOINT active_record_1
15456
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user4@hungrymachine.com' LIMIT 1
15457
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user4@hungrymachine.com', 'first_name4', 'last_name4', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15458
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15459
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15460
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description2', 'application2', '2014-01-02 14:04:40', 4)
15461
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
15462
+ Savepoint (0ms) SAVEPOINT active_record_1
15463
+ 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-02 14:04:40', '0 * * * * ?', 2, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job2', '2014-01-02 14:04:40', 3)
15464
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
15465
+ #<Rearview::Alerts::EmailAlert:0x4873ed80> send alert for #<Rearview::Job id: 2, created_at: "2014-01-02 14:04:40", updated_at: "2014-01-02 14:04:40", name: "job2", active: true, last_run: nil, cron_expr: "0 * * * * ?", status: nil, user_id: 3, alert_keys: ["mailto:foo@hungrymachine.com", "pagerduty:54232f6f4c4447efb6d15e20dbb7349c"], deleted_at: nil, error_timeout: 60, next_run: nil, description: nil, app_id: 2, 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"}
15466
+ Savepoint (0ms) SAVEPOINT active_record_1
15467
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user5@hungrymachine.com' LIMIT 1
15468
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user5@hungrymachine.com', 'first_name5', 'last_name5', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15469
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
15470
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15471
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user6@hungrymachine.com' LIMIT 1
15472
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user6@hungrymachine.com', 'first_name6', 'last_name6', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15473
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15474
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15475
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description3', 'application3', '2014-01-02 14:04:40', 6)
15476
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15477
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15478
+ 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-02 14:04:40', '0 * * * * ?', 3, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job3', '2014-01-02 14:04:40', 5)
15479
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
15480
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15481
+ SQL (1.0ms) INSERT INTO `job_data` (`created_at`, `data`, `job_id`, `updated_at`) VALUES ('2014-01-02 14:04:40', '{\"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-02 14:04:40')
15482
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15483
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15484
+ Rearview::User Exists (4.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user7@hungrymachine.com' LIMIT 1
15485
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user7@hungrymachine.com', 'first_name7', 'last_name7', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15486
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15487
+ Savepoint (0ms) SAVEPOINT active_record_1
15488
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user8@hungrymachine.com' LIMIT 1
15489
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user8@hungrymachine.com', 'first_name8', 'last_name8', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15490
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15491
+ Savepoint (0ms) SAVEPOINT active_record_1
15492
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description4', 'application4', '2014-01-02 14:04:40', 8)
15493
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15494
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15495
+ 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-02 14:04:40', '0 * * * * ?', 4, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job4', '2014-01-02 14:04:40', 7)
15496
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15497
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15498
+ SQL (1.0ms) INSERT INTO `job_data` (`created_at`, `data`, `job_id`, `updated_at`) VALUES ('2014-01-02 14:04:40', '{\"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]]}}', 4, '2014-01-02 14:04:40')
15499
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15500
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15501
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user9@hungrymachine.com' LIMIT 1
15502
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user9@hungrymachine.com', 'first_name9', 'last_name9', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15503
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15504
+ Processing by Rearview::UserController#show as JSON
15505
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/user/show.json.jbuilder (2.0ms)
15506
+ Completed 200 OK in 25ms (Views: 23.0ms | ActiveRecord: 0.0ms)
15507
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15508
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user10@hungrymachine.com' LIMIT 1
15509
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user10@hungrymachine.com', 'first_name10', 'last_name10', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15510
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15511
+ Processing by Rearview::UserController#update as JSON
15512
+ Parameters: {"preferences"=>{"pref1"=>"val1", "pref2"=>"val2"}}
15513
+ Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 0.0ms)
15514
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15515
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user11@hungrymachine.com' LIMIT 1
15516
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user11@hungrymachine.com', 'first_name11', 'last_name11', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15517
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15518
+ Processing by Rearview::MonitorController#create as JSON
15519
+ Parameters: {"metrics"=>"blah.blah.blah", "monitorExpr"=>"abc", "minutes"=>"1", "toDate"=>"now"}
15520
+ Completed 200 OK in 11ms (Views: 8.0ms | ActiveRecord: 0.0ms)
15521
+ Rearview::CronHelper expr:"0 30 * * * ?" now:"2014-01-02 00:00:00 -0500" java_now:"Thu Jan 02 00:00:00 EST 2014" next_valid_time:"Thu Jan 02 00:30:00 EST 2014" get_time:"1388640600" next_time:"2014-01-02 00:30:00 -0500" delay:1800.0
15522
+ Rearview::CronHelper expr:"0 0 13 * * ?" now:"2014-01-02 00:00:00 -0500" java_now:"Thu Jan 02 00:00:00 EST 2014" next_valid_time:"Thu Jan 02 13:00:00 EST 2014" get_time:"1388685600" next_time:"2014-01-02 13:00:00 -0500" delay:46800.0
15523
+ Rearview::CronHelper expr:"0 * * * * ?" now:"2014-01-02 00:00:00 -0500" java_now:"Thu Jan 02 00:00:00 EST 2014" next_valid_time:"Thu Jan 02 00:01:00 EST 2014" get_time:"1388638860" next_time:"2014-01-02 00:01:00 -0500" delay:60.0
15524
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15525
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user12@hungrymachine.com' LIMIT 1
15526
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user12@hungrymachine.com', 'first_name12', 'last_name12', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15527
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15528
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15529
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description5', 'application5', '2014-01-02 14:04:40', 12)
15530
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15531
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`ancestry` = '5'
15532
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/dashboards/_dashboard.json.jbuilder (10.0ms)
15533
+ Savepoint (0ms) SAVEPOINT active_record_1
15534
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user13@hungrymachine.com' LIMIT 1
15535
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user13@hungrymachine.com', 'first_name13', 'last_name13', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15536
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15537
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15538
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user14@hungrymachine.com' LIMIT 1
15539
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user14@hungrymachine.com', 'first_name14', 'last_name14', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15540
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15541
+ Savepoint (0ms) SAVEPOINT active_record_1
15542
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description6', 'application6', '2014-01-02 14:04:40', 14)
15543
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15544
+ Processing by Rearview::DashboardChildrenController#index as JSON
15545
+ Parameters: {"dashboard_id"=>"6"}
15546
+ Rearview::Dashboard Load (8.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 6 LIMIT 1
15547
+ Completed 200 OK in 23ms (Views: 9.0ms | ActiveRecord: 8.0ms)
15548
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15549
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user15@hungrymachine.com' LIMIT 1
15550
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user15@hungrymachine.com', 'first_name15', 'last_name15', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15551
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15552
+ Savepoint (0ms) SAVEPOINT active_record_1
15553
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user16@hungrymachine.com' LIMIT 1
15554
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user16@hungrymachine.com', 'first_name16', 'last_name16', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15555
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15556
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15557
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user17@hungrymachine.com' LIMIT 1
15558
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user17@hungrymachine.com', 'first_name17', 'last_name17', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15559
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15560
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15561
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description8', 'application8', '2014-01-02 14:04:40', 17)
15562
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15563
+ Processing by Rearview::DashboardChildrenController#create as JSON
15564
+ Parameters: {"userId"=>"16", "name"=>"application7", "dashboard_id"=>"7"}
15565
+ Rearview::Dashboard Load (2.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 7 LIMIT 1
15566
+ Savepoint (0ms) SAVEPOINT active_record_1
15567
+ SQL (1.0ms) INSERT INTO `applications` (`ancestry`, `created_at`, `name`, `updated_at`, `user_id`) VALUES ('7', '2014-01-02 14:04:44', 'application7', '2014-01-02 14:04:44', 15)
15568
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15569
+ Completed 200 OK in 32ms (Views: 4.0ms | ActiveRecord: 3.0ms)
15570
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15571
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user18@hungrymachine.com' LIMIT 1
15572
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user18@hungrymachine.com', 'first_name18', 'last_name18', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15573
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15574
+ Savepoint (0ms) SAVEPOINT active_record_1
15575
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user19@hungrymachine.com' LIMIT 1
15576
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user19@hungrymachine.com', 'first_name19', 'last_name19', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15577
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15578
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15579
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user20@hungrymachine.com' LIMIT 1
15580
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user20@hungrymachine.com', 'first_name20', 'last_name20', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15581
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15582
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15583
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user21@hungrymachine.com' LIMIT 1
15584
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user21@hungrymachine.com', 'first_name21', 'last_name21', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15585
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15586
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15587
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description11', 'application11', '2014-01-02 14:04:40', 21)
15588
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15589
+ Processing by Rearview::DashboardChildrenController#create as JSON
15590
+ Parameters: {"userId"=>"20", "name"=>"application10", "dashboard_id"=>"9"}
15591
+ Rearview::Dashboard Load (2.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 9 LIMIT 1
15592
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15593
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'application10', '2014-01-02 14:04:40', 18)
15594
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15595
+ Completed 200 OK in 20ms (Views: 9.0ms | ActiveRecord: 4.0ms)
15596
+ Savepoint (0ms) SAVEPOINT active_record_1
15597
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user22@hungrymachine.com' LIMIT 1
15598
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user22@hungrymachine.com', 'first_name22', 'last_name22', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15599
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
15600
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15601
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user23@hungrymachine.com' LIMIT 1
15602
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user23@hungrymachine.com', 'first_name23', 'last_name23', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15603
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15604
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15605
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user24@hungrymachine.com' LIMIT 1
15606
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user24@hungrymachine.com', 'first_name24', 'last_name24', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15607
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15608
+ Savepoint (0ms) SAVEPOINT active_record_1
15609
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description12', 'application12', '2014-01-02 14:04:40', 24)
15610
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15611
+ Processing by Rearview::JobsController#create as JSON
15612
+ Parameters: {"userId"=>"23", "name"=>"job5", "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"=>"11"}
15613
+ Rearview::Job Load (1.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`id` IS NULL LIMIT 1
15614
+ WARNING: Can't mass-assign protected attributes for Rearview::Job: id
15615
+ protected_attributes (1.0.5) lib/active_model/mass_assignment_security/sanitizer.rb:46:in `process_removed_attributes'
15616
+ /Users/trentalbrigh/.rvm/rubies/jruby-1.7.5/lib/ruby/1.9/logger.rb:371:in `add'
15617
+ /Users/trentalbrigh/.rvm/rubies/jruby-1.7.5/lib/ruby/1.9/logger.rb:443:in `warn'
15618
+ protected_attributes (1.0.5) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes'
15619
+ protected_attributes (1.0.5) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize'
15620
+ protected_attributes (1.0.5) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment'
15621
+ protected_attributes (1.0.5) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes'
15622
+ protected_attributes (1.0.5) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes'
15623
+ activerecord (4.0.2) lib/active_record/core.rb:185:in `initialize'
15624
+ state_machine (1.2.0) lib/state_machine/integrations/active_record.rb:477:in `initialize'
15625
+ activerecord (4.0.2) lib/active_record/inheritance.rb:27:in `new'
15626
+ activerecord (4.0.2) lib/active_record/relation.rb:98:in `new'
15627
+ activerecord (4.0.2) lib/active_record/relation.rb:270:in `scoping'
15628
+ activerecord (4.0.2) lib/active_record/relation.rb:98:in `new'
15629
+ activerecord (4.0.2) lib/active_record/relation.rb:202:in `find_or_initialize_by'
15630
+ activerecord (4.0.2) lib/active_record/querying.rb:5:in `find_or_initialize_by'
15631
+ /Users/trentalbrigh/workspaces/rearview-engine/app/controllers/rearview/jobs_controller.rb:53:in `upsert'
15632
+ /Users/trentalbrigh/workspaces/rearview-engine/app/controllers/rearview/jobs_controller.rb:14:in `create'
15633
+ actionpack (4.0.2) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
15634
+ actionpack (4.0.2) lib/abstract_controller/base.rb:189:in `process_action'
15635
+ actionpack (4.0.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
15636
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:18:in `process_action'
15637
+ activesupport (4.0.2) lib/active_support/callbacks.rb:386:in `_run__624537635__process_action__callbacks'
15638
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
15639
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
15640
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
15641
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `process_action'
15642
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
15643
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
15644
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:19:in `instrument'
15645
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
15646
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
15647
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
15648
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
15649
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
15650
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
15651
+ actionpack (4.0.2) lib/action_controller/test_case.rb:569:in `process'
15652
+ actionpack (4.0.2) lib/action_controller/test_case.rb:64:in `process'
15653
+ actionpack (4.0.2) lib/action_controller/test_case.rb:475:in `post'
15654
+ /Users/trentalbrigh/workspaces/rearview-engine/spec/controllers/jobs_controller_spec.rb:51:in `(root)'
15655
+ rspec-core (2.14.7) lib/rspec/core/example.rb:114:in `instance_eval'
15656
+ rspec-core (2.14.7) lib/rspec/core/example.rb:114:in `run'
15657
+ rspec-rails (2.14.0) lib/rspec/rails/example/controller_example_group.rb:158:in `call'
15658
+ rspec-rails (2.14.0) lib/rspec/rails/example/controller_example_group.rb:158:in `ControllerExampleGroup'
15659
+ rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
15660
+ rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
15661
+ rspec-core (2.14.7) lib/rspec/core/example.rb:247:in `instance_eval_with_args'
15662
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:106:in `run'
15663
+ rspec-core (2.14.7) lib/rspec/core/example.rb:179:in `call'
15664
+ rspec-core (2.14.7) lib/rspec/core/example.rb:179:in `extended'
15665
+ rspec-rails (2.14.0) lib/rspec/rails/adapters.rb:51:in `MiniTestLifecycleAdapter'
15666
+ rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
15667
+ rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
15668
+ rspec-core (2.14.7) lib/rspec/core/example.rb:247:in `instance_eval_with_args'
15669
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:106:in `run'
15670
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:104:in `call'
15671
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:104:in `run'
15672
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:446:in `run_hook'
15673
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
15674
+ rspec-core (2.14.7) lib/rspec/core/example.rb:256:in `with_around_each_hooks'
15675
+ rspec-core (2.14.7) lib/rspec/core/example.rb:111:in `run'
15676
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:390:in `run_examples'
15677
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:386:in `map'
15678
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:386:in `run_examples'
15679
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:371:in `run'
15680
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:372:in `run'
15681
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:372:in `map'
15682
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:372:in `run'
15683
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:28:in `run'
15684
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:28:in `map'
15685
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:28:in `run'
15686
+ rspec-core (2.14.7) lib/rspec/core/reporter.rb:58:in `report'
15687
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:25:in `run'
15688
+ rspec-core (2.14.7) lib/rspec/core/runner.rb:80:in `run'
15689
+ rspec-core (2.14.7) lib/rspec/core/runner.rb:17:in `autorun'
15690
+ Rearview::Dashboard Load (2.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 11 LIMIT 1
15691
+ Savepoint (0ms) SAVEPOINT active_record_1
15692
+ SQL (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\"]', 11, '2014-01-02 14:04:44', '0 * * * * ?', '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job5', '2014-01-02 14:04:44', 23)
15693
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15694
+ Completed 200 OK in 46ms (Views: 11.0ms | ActiveRecord: 3.0ms)
15695
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15696
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user25@hungrymachine.com' LIMIT 1
15697
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user25@hungrymachine.com', 'first_name25', 'last_name25', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15698
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15699
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15700
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user26@hungrymachine.com' LIMIT 1
15701
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user26@hungrymachine.com', 'first_name26', 'last_name26', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15702
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
15703
+ Savepoint (0ms) SAVEPOINT active_record_1
15704
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user27@hungrymachine.com' LIMIT 1
15705
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user27@hungrymachine.com', 'first_name27', 'last_name27', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15706
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15707
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15708
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description13', 'application13', '2014-01-02 14:04:40', 27)
15709
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15710
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15711
+ 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-02 14:04:40', '0 * * * * ?', 6, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job6', '2014-01-02 14:04:40', 26)
15712
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15713
+ Processing by Rearview::JobsController#errors as JSON
15714
+ Parameters: {"id"=>"6"}
15715
+ Rearview::JobError Load (1.0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 6 ORDER BY created_at DESC
15716
+ Completed 200 OK in 14ms (Views: 5.0ms | ActiveRecord: 4.0ms)
15717
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15718
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user28@hungrymachine.com' LIMIT 1
15719
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user28@hungrymachine.com', 'first_name28', 'last_name28', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15720
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15721
+ Savepoint (0ms) SAVEPOINT active_record_1
15722
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user29@hungrymachine.com' LIMIT 1
15723
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user29@hungrymachine.com', 'first_name29', 'last_name29', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15724
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
15725
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15726
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user30@hungrymachine.com' LIMIT 1
15727
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user30@hungrymachine.com', 'first_name30', 'last_name30', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15728
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
15729
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15730
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description14', 'application14', '2014-01-02 14:04:40', 30)
15731
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
15732
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15733
+ 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\"]', 13, '2014-01-02 14:04:40', '0 * * * * ?', 7, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job7', '2014-01-02 14:04:40', 29)
15734
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15735
+ Processing by Rearview::JobsController#update as JSON
15736
+ Parameters: {"userId"=>"29", "name"=>"job7", "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"=>"13", "id"=>"7"}
15737
+ Rearview::Job Load (2.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`id` = 7 LIMIT 1
15738
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15739
+ SQL (1.0ms) UPDATE `jobs` SET `updated_at` = '2014-01-02 14:04:45', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 7
15740
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15741
+ Completed 200 OK in 23ms (Views: 3.0ms | ActiveRecord: 4.0ms)
15742
+ Savepoint (0ms) SAVEPOINT active_record_1
15743
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user31@hungrymachine.com' LIMIT 1
15744
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user31@hungrymachine.com', 'first_name31', 'last_name31', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15745
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15746
+ Savepoint (0ms) SAVEPOINT active_record_1
15747
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user32@hungrymachine.com' LIMIT 1
15748
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user32@hungrymachine.com', 'first_name32', 'last_name32', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15749
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15750
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15751
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description15', 'application15', '2014-01-02 14:04:40', 32)
15752
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15753
+ Savepoint (0ms) SAVEPOINT active_record_1
15754
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user33@hungrymachine.com' LIMIT 1
15755
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user33@hungrymachine.com', 'first_name33', 'last_name33', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15756
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15757
+ Savepoint (0ms) SAVEPOINT active_record_1
15758
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user34@hungrymachine.com' LIMIT 1
15759
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user34@hungrymachine.com', 'first_name34', 'last_name34', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15760
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15761
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15762
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description16', 'application16', '2014-01-02 14:04:40', 34)
15763
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15764
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15765
+ 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\"]', 15, '2014-01-02 14:04:40', '0 * * * * ?', 8, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job8', '2014-01-02 14:04:40', 33)
15766
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
15767
+ Processing by Rearview::JobsController#update as JSON
15768
+ Parameters: {"userId"=>"33", "name"=>"job8", "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"=>"14", "id"=>"8"}
15769
+ Rearview::Job Load (2.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`id` = 8 LIMIT 1
15770
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15771
+ SQL (0ms) UPDATE `jobs` SET `app_id` = 14, `updated_at` = '2014-01-02 14:04:45', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 8
15772
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15773
+ Completed 200 OK in 22ms (Views: 3.0ms | ActiveRecord: 3.0ms)
15774
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15775
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user35@hungrymachine.com' LIMIT 1
15776
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user35@hungrymachine.com', 'first_name35', 'last_name35', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15777
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15778
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15779
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user36@hungrymachine.com' LIMIT 1
15780
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user36@hungrymachine.com', 'first_name36', 'last_name36', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15781
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15782
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15783
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user37@hungrymachine.com' LIMIT 1
15784
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user37@hungrymachine.com', 'first_name37', 'last_name37', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15785
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15786
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15787
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description17', 'application17', '2014-01-02 14:04:40', 37)
15788
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15789
+ Savepoint (0ms) SAVEPOINT active_record_1
15790
+ 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\"]', 16, '2014-01-02 14:04:40', '0 * * * * ?', 9, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job9', '2014-01-02 14:04:40', 36)
15791
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15792
+ Processing by Rearview::JobsController#reset as JSON
15793
+ Parameters: {"userId"=>"36", "name"=>"job9", "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"=>"16", "id"=>"9"}
15794
+ Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.0ms)
15795
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15796
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user38@hungrymachine.com' LIMIT 1
15797
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user38@hungrymachine.com', 'first_name38', 'last_name38', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15798
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15799
+ Processing by Rearview::JobsController#index as JSON
15800
+ Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms)
15801
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15802
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user39@hungrymachine.com' LIMIT 1
15803
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user39@hungrymachine.com', 'first_name39', 'last_name39', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15804
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15805
+ Savepoint (0ms) SAVEPOINT active_record_1
15806
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user40@hungrymachine.com' LIMIT 1
15807
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user40@hungrymachine.com', 'first_name40', 'last_name40', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15808
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15809
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15810
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user41@hungrymachine.com' LIMIT 1
15811
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user41@hungrymachine.com', 'first_name41', 'last_name41', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15812
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15813
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15814
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description18', 'application18', '2014-01-02 14:04:40', 41)
15815
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15816
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15817
+ 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\"]', 17, '2014-01-02 14:04:40', '0 * * * * ?', 10, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job10', '2014-01-02 14:04:40', 40)
15818
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15819
+ Processing by Rearview::JobsController#show as JSON
15820
+ Parameters: {"id"=>"10"}
15821
+ Rearview::Job Load (2.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`id` = 10 LIMIT 1
15822
+ Completed 200 OK in 27ms (Views: 8.0ms | ActiveRecord: 2.0ms)
15823
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15824
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user42@hungrymachine.com' LIMIT 1
15825
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user42@hungrymachine.com', 'first_name42', 'last_name42', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15826
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15827
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15828
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user43@hungrymachine.com' LIMIT 1
15829
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user43@hungrymachine.com', 'first_name43', 'last_name43', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15830
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15831
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15832
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user44@hungrymachine.com' LIMIT 1
15833
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user44@hungrymachine.com', 'first_name44', 'last_name44', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15834
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15835
+ Savepoint (0ms) SAVEPOINT active_record_1
15836
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description19', 'application19', '2014-01-02 14:04:40', 44)
15837
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15838
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15839
+ 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-02 14:04:40', '0 * * * * ?', 11, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job11', '2014-01-02 14:04:40', 43)
15840
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15841
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15842
+ SQL (1.0ms) INSERT INTO `job_data` (`created_at`, `data`, `job_id`, `updated_at`) VALUES ('2014-01-02 14:04:40', '{\"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]]}}', 11, '2014-01-02 14:04:40')
15843
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15844
+ Processing by Rearview::JobsController#data as JSON
15845
+ Parameters: {"id"=>"11"}
15846
+ Rearview::Job Load (2.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`id` = 11 LIMIT 1
15847
+ Rearview::JobData Load (1.0ms) SELECT `job_data`.* FROM `job_data` WHERE `job_data`.`job_id` = 11 ORDER BY `job_data`.`id` ASC LIMIT 1
15848
+ Completed 200 OK in 37ms (Views: 8.0ms | ActiveRecord: 3.0ms)
15849
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15850
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user45@hungrymachine.com' LIMIT 1
15851
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user45@hungrymachine.com', 'first_name45', 'last_name45', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15852
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15853
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15854
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user46@hungrymachine.com' LIMIT 1
15855
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user46@hungrymachine.com', 'first_name46', 'last_name46', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15856
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15857
+ Savepoint (0ms) SAVEPOINT active_record_1
15858
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user47@hungrymachine.com' LIMIT 1
15859
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user47@hungrymachine.com', 'first_name47', 'last_name47', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15860
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15861
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15862
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description20', 'application20', '2014-01-02 14:04:40', 47)
15863
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15864
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15865
+ 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\"]', 19, '2014-01-02 14:04:40', '0 * * * * ?', 12, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job12', '2014-01-02 14:04:40', 46)
15866
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15867
+ Processing by Rearview::JobsController#data as JSON
15868
+ Parameters: {"id"=>"12"}
15869
+ Rearview::Job Load (1.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`id` = 12 LIMIT 1
15870
+ Rearview::JobData Load (1.0ms) SELECT `job_data`.* FROM `job_data` WHERE `job_data`.`job_id` = 12 ORDER BY `job_data`.`id` ASC LIMIT 1
15871
+ Completed 404 Not Found in 8ms (ActiveRecord: 2.0ms)
15872
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15873
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user48@hungrymachine.com' LIMIT 1
15874
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user48@hungrymachine.com', 'first_name48', 'last_name48', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15875
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15876
+ Savepoint (0ms) SAVEPOINT active_record_1
15877
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user49@hungrymachine.com' LIMIT 1
15878
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user49@hungrymachine.com', 'first_name49', 'last_name49', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15879
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15880
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15881
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user50@hungrymachine.com' LIMIT 1
15882
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user50@hungrymachine.com', 'first_name50', 'last_name50', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15883
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15884
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15885
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description21', 'application21', '2014-01-02 14:04:40', 50)
15886
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15887
+ Savepoint (0ms) SAVEPOINT active_record_1
15888
+ 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\"]', 20, '2014-01-02 14:04:40', '0 * * * * ?', 13, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job13', '2014-01-02 14:04:40', 49)
15889
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15890
+ Processing by Rearview::JobsController#destroy as JSON
15891
+ Parameters: {"id"=>"13"}
15892
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15893
+ Rearview::JobData Load (1.0ms) SELECT `job_data`.* FROM `job_data` WHERE `job_data`.`job_id` = 13 ORDER BY `job_data`.`id` ASC LIMIT 1
15894
+ Rearview::JobError Load (1.0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 13
15895
+ SQL (1.0ms) DELETE FROM `jobs` WHERE `jobs`.`id` = 13
15896
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15897
+ Completed 200 OK in 48ms (Views: 4.0ms | ActiveRecord: 4.0ms)
15898
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15899
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user51@hungrymachine.com' LIMIT 1
15900
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user51@hungrymachine.com', 'first_name51', 'last_name51', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15901
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15902
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15903
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user52@hungrymachine.com' LIMIT 1
15904
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user52@hungrymachine.com', 'first_name52', 'last_name52', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15905
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15906
+ Savepoint (0ms) SAVEPOINT active_record_1
15907
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description22', 'application22', '2014-01-02 14:04:40', 52)
15908
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15909
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15910
+ 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\"]', 21, '2014-01-02 14:04:40', '0 * * * * ?', 14, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job14', 'success', '2014-01-02 14:04:40', 51)
15911
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15912
+ Savepoint (0ms) SAVEPOINT active_record_1
15913
+ SQL (1.0ms) UPDATE `jobs` SET `status` = 'error', `updated_at` = '2014-01-02 14:04:46', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 14
15914
+ #<Rearview::Job:0x46f260bf>#create_associated_event for transition #<StateMachine::Transition attribute=:status event=:error from="success" from_name=:success to="error" to_name=:error>
15915
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15916
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15917
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user53@hungrymachine.com' LIMIT 1
15918
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user53@hungrymachine.com', 'first_name53', 'last_name53', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15919
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15920
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15921
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user54@hungrymachine.com' LIMIT 1
15922
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user54@hungrymachine.com', 'first_name54', 'last_name54', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15923
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15924
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15925
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description23', 'application23', '2014-01-02 14:04:40', 54)
15926
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15927
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15928
+ 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\"]', 22, '2014-01-02 14:04:40', '0 * * * * ?', 15, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job15', 'error', '2014-01-02 14:04:40', 53)
15929
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15930
+ Savepoint (0ms) SAVEPOINT active_record_1
15931
+ SQL (0ms) UPDATE `jobs` SET `updated_at` = '2014-01-02 14:04:46', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 15
15932
+ #<Rearview::Job:0x2c61ef19>#update_associated_event for transition #<StateMachine::Transition attribute=:status event=:error from="error" from_name=:error to="error" to_name=:error>
15933
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15934
+ Savepoint (0ms) SAVEPOINT active_record_1
15935
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user55@hungrymachine.com' LIMIT 1
15936
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user55@hungrymachine.com', 'first_name55', 'last_name55', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15937
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15938
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15939
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user56@hungrymachine.com' LIMIT 1
15940
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user56@hungrymachine.com', 'first_name56', 'last_name56', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15941
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15942
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15943
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description24', 'application24', '2014-01-02 14:04:40', 56)
15944
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15945
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15946
+ 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-02 14:04:40', '0 * * * * ?', 16, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job16', '2014-01-02 14:04:40', 55)
15947
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15948
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15949
+ SQL (1.0ms) UPDATE `jobs` SET `status` = 'error', `updated_at` = '2014-01-02 14:04:46', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 16
15950
+ #<Rearview::Job:0x448abbbc>#create_associated_event for transition #<StateMachine::Transition attribute=:status event=:error from=nil from_name=nil to="error" to_name=:error>
15951
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15952
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15953
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user57@hungrymachine.com' LIMIT 1
15954
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user57@hungrymachine.com', 'first_name57', 'last_name57', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15955
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15956
+ Savepoint (0ms) SAVEPOINT active_record_1
15957
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user58@hungrymachine.com' LIMIT 1
15958
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user58@hungrymachine.com', 'first_name58', 'last_name58', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15959
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15960
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15961
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description25', 'application25', '2014-01-02 14:04:40', 58)
15962
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15963
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15964
+ 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\"]', 24, '2014-01-02 14:04:40', '0 * * * * ?', 17, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job17', 'error', '2014-01-02 14:04:40', 57)
15965
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15966
+ Savepoint (0ms) SAVEPOINT active_record_1
15967
+ SQL (1.0ms) UPDATE `jobs` SET `status` = 'success', `updated_at` = '2014-01-02 14:04:46', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 17
15968
+ #<Rearview::Job:0x1023784b>#create_associated_event for transition #<StateMachine::Transition attribute=:status event=:success from="error" from_name=:error to="success" to_name=:success>
15969
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
15970
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15971
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user59@hungrymachine.com' LIMIT 1
15972
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user59@hungrymachine.com', 'first_name59', 'last_name59', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15973
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15974
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15975
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user60@hungrymachine.com' LIMIT 1
15976
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user60@hungrymachine.com', 'first_name60', 'last_name60', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15977
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15978
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15979
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description26', 'application26', '2014-01-02 14:04:40', 60)
15980
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
15981
+ Savepoint (0ms) SAVEPOINT active_record_1
15982
+ 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\"]', 25, '2014-01-02 14:04:40', '0 * * * * ?', 18, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job18', 'success', '2014-01-02 14:04:40', 59)
15983
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15984
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15985
+ SQL (0ms) UPDATE `jobs` SET `updated_at` = '2014-01-02 14:04:46', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 18
15986
+ #<Rearview::Job:0x43e4bfc6>#update_associated_event for transition #<StateMachine::Transition attribute=:status event=:success from="success" from_name=:success to="success" to_name=:success>
15987
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15988
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15989
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user61@hungrymachine.com' LIMIT 1
15990
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user61@hungrymachine.com', 'first_name61', 'last_name61', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15991
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15992
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15993
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user62@hungrymachine.com' LIMIT 1
15994
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user62@hungrymachine.com', 'first_name62', 'last_name62', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
15995
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15996
+ Savepoint (1.0ms) SAVEPOINT active_record_1
15997
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description27', 'application27', '2014-01-02 14:04:40', 62)
15998
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
15999
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16000
+ 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\"]', 26, '2014-01-02 14:04:40', '0 * * * * ?', 19, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job19', '2014-01-02 14:04:40', 61)
16001
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16002
+ Savepoint (0ms) SAVEPOINT active_record_1
16003
+ SQL (0ms) UPDATE `jobs` SET `status` = 'success', `updated_at` = '2014-01-02 14:04:46', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 19
16004
+ #<Rearview::Job:0x48a3743>#create_associated_event for transition #<StateMachine::Transition attribute=:status event=:success from=nil from_name=nil to="success" to_name=:success>
16005
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16006
+ Savepoint (0ms) SAVEPOINT active_record_1
16007
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user63@hungrymachine.com' LIMIT 1
16008
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user63@hungrymachine.com', 'first_name63', 'last_name63', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16009
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16010
+ Savepoint (0ms) SAVEPOINT active_record_1
16011
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user64@hungrymachine.com' LIMIT 1
16012
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user64@hungrymachine.com', 'first_name64', 'last_name64', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16013
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16014
+ Savepoint (0ms) SAVEPOINT active_record_1
16015
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description28', 'application28', '2014-01-02 14:04:40', 64)
16016
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16017
+ Savepoint (0ms) SAVEPOINT active_record_1
16018
+ 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\"]', 27, '2014-01-02 14:04:40', '0 * * * * ?', 20, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job20', '2014-01-02 14:04:40', 63)
16019
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16020
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16021
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user65@hungrymachine.com' LIMIT 1
16022
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user65@hungrymachine.com', 'first_name65', 'last_name65', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16023
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16024
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16025
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user66@hungrymachine.com' LIMIT 1
16026
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user66@hungrymachine.com', 'first_name66', 'last_name66', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16027
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16028
+ Savepoint (0ms) SAVEPOINT active_record_1
16029
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description29', 'application29', '2014-01-02 14:04:40', 66)
16030
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
16031
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16032
+ 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\"]', 28, '2014-01-02 14:04:40', '0 * * * * ?', 21, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job21', '2014-01-02 14:04:40', 65)
16033
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16034
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16035
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user67@hungrymachine.com' LIMIT 1
16036
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user67@hungrymachine.com', 'first_name67', 'last_name67', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16037
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
16038
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16039
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user68@hungrymachine.com' LIMIT 1
16040
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user68@hungrymachine.com', 'first_name68', 'last_name68', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16041
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16042
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16043
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description30', 'application30', '2014-01-02 14:04:40', 68)
16044
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16045
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16046
+ SQL (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\"]', 29, '2014-01-02 14:04:40', '0 * * * * ?', 22, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job22', '2014-01-02 14:04:40', 67)
16047
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
16048
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16049
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user69@hungrymachine.com' LIMIT 1
16050
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user69@hungrymachine.com', 'first_name69', 'last_name69', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16051
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16052
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16053
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user70@hungrymachine.com' LIMIT 1
16054
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user70@hungrymachine.com', 'first_name70', 'last_name70', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16055
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16056
+ Savepoint (0ms) SAVEPOINT active_record_1
16057
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description31', 'application31', '2014-01-02 14:04:40', 70)
16058
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16059
+ Savepoint (0ms) SAVEPOINT active_record_1
16060
+ 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-02 14:04:40', '0 * * * * ?', 23, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job23', '2014-01-02 14:04:40', 69)
16061
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16062
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16063
+ Rearview::JobData Load (1.0ms) SELECT `job_data`.* FROM `job_data` WHERE `job_data`.`job_id` = 23 ORDER BY `job_data`.`id` ASC LIMIT 1
16064
+ Rearview::JobError Load (1.0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 23
16065
+ SQL (1.0ms) DELETE FROM `jobs` WHERE `jobs`.`id` = 23
16066
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16067
+ Savepoint (0ms) SAVEPOINT active_record_1
16068
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user71@hungrymachine.com' LIMIT 1
16069
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user71@hungrymachine.com', 'first_name71', 'last_name71', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16070
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16071
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16072
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user72@hungrymachine.com' LIMIT 1
16073
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user72@hungrymachine.com', 'first_name72', 'last_name72', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16074
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16075
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16076
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description32', 'application32', '2014-01-02 14:04:40', 72)
16077
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16078
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16079
+ 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\"]', 31, '2014-01-02 14:04:40', '0 * * * * ?', 24, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job24', '2014-01-02 14:04:40', 71)
16080
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
16081
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16082
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user73@hungrymachine.com' LIMIT 1
16083
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user73@hungrymachine.com', 'first_name73', 'last_name73', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16084
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16085
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16086
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user74@hungrymachine.com' LIMIT 1
16087
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user74@hungrymachine.com', 'first_name74', 'last_name74', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16088
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16089
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16090
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description33', 'application33', '2014-01-02 14:04:40', 74)
16091
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16092
+ Savepoint (0ms) SAVEPOINT active_record_1
16093
+ 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\"]', 32, '2014-01-02 14:04:40', '0 * * * * ?', 25, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job25', '2014-01-02 14:04:40', 73)
16094
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16095
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16096
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user75@hungrymachine.com' LIMIT 1
16097
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user75@hungrymachine.com', 'first_name75', 'last_name75', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16098
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16099
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16100
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user76@hungrymachine.com' LIMIT 1
16101
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user76@hungrymachine.com', 'first_name76', 'last_name76', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16102
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16103
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16104
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description34', 'application34', '2014-01-02 14:04:40', 76)
16105
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16106
+ Savepoint (0ms) SAVEPOINT active_record_1
16107
+ 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\"]', 33, '2014-01-02 14:04:40', '0 * * * * ?', 26, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job26', '2014-01-02 14:04:40', 75)
16108
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16109
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16110
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user77@hungrymachine.com' LIMIT 1
16111
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user77@hungrymachine.com', 'first_name77', 'last_name77', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16112
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
16113
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16114
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user78@hungrymachine.com' LIMIT 1
16115
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user78@hungrymachine.com', 'first_name78', 'last_name78', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16116
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16117
+ Savepoint (0ms) SAVEPOINT active_record_1
16118
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description35', 'application35', '2014-01-02 14:04:40', 78)
16119
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16120
+ Savepoint (0ms) SAVEPOINT active_record_1
16121
+ 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-02 14:04:40', '0 * * * * ?', 27, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job27', '2014-01-02 14:04:40', 77)
16122
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16123
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16124
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user79@hungrymachine.com' LIMIT 1
16125
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user79@hungrymachine.com', 'first_name79', 'last_name79', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16126
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16127
+ Savepoint (0ms) SAVEPOINT active_record_1
16128
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user80@hungrymachine.com' LIMIT 1
16129
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user80@hungrymachine.com', 'first_name80', 'last_name80', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16130
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16131
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16132
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description36', 'application36', '2014-01-02 14:04:40', 80)
16133
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16134
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16135
+ 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\"]', 35, '2014-01-02 14:04:40', '0 * * * * ?', 28, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job28', '2014-01-02 14:04:40', 79)
16136
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
16137
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16138
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user81@hungrymachine.com' LIMIT 1
16139
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user81@hungrymachine.com', 'first_name81', 'last_name81', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16140
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16141
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16142
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user82@hungrymachine.com' LIMIT 1
16143
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user82@hungrymachine.com', 'first_name82', 'last_name82', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16144
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16145
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16146
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description37', 'application37', '2014-01-02 14:04:40', 82)
16147
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16148
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16149
+ 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\"]', 36, '2014-01-02 14:04:40', '0 * * * * ?', 29, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job29', '2014-01-02 14:04:40', 81)
16150
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16151
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16152
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user83@hungrymachine.com' LIMIT 1
16153
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user83@hungrymachine.com', 'first_name83', 'last_name83', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16154
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16155
+ Savepoint (0ms) SAVEPOINT active_record_1
16156
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user84@hungrymachine.com' LIMIT 1
16157
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user84@hungrymachine.com', 'first_name84', 'last_name84', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16158
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16159
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16160
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description38', 'application38', '2014-01-02 14:04:40', 84)
16161
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16162
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16163
+ 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\"]', 37, '2014-01-02 14:04:40', '0 * * * * ?', 30, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job30', '2014-01-02 14:04:40', 83)
16164
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
16165
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16166
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user85@hungrymachine.com' LIMIT 1
16167
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user85@hungrymachine.com', 'first_name85', 'last_name85', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16168
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16169
+ Savepoint (0ms) SAVEPOINT active_record_1
16170
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user86@hungrymachine.com' LIMIT 1
16171
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user86@hungrymachine.com', 'first_name86', 'last_name86', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16172
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16173
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16174
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description39', 'application39', '2014-01-02 14:04:40', 86)
16175
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16176
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16177
+ 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-02 14:04:40', '0 * * * * ?', 31, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job31', '2014-01-02 14:04:40', 85)
16178
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16179
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16180
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user87@hungrymachine.com' LIMIT 1
16181
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user87@hungrymachine.com', 'first_name87', 'last_name87', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16182
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16183
+ Savepoint (0ms) SAVEPOINT active_record_1
16184
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user88@hungrymachine.com' LIMIT 1
16185
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user88@hungrymachine.com', 'first_name88', 'last_name88', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16186
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16187
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16188
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description40', 'application40', '2014-01-02 14:04:40', 88)
16189
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16190
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16191
+ 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\"]', 39, '2014-01-02 14:04:40', '0 * * * * ?', 32, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job32', '2014-01-02 14:04:40', 87)
16192
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16193
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16194
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user89@hungrymachine.com' LIMIT 1
16195
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user89@hungrymachine.com', 'first_name89', 'last_name89', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16196
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16197
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16198
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user90@hungrymachine.com' LIMIT 1
16199
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user90@hungrymachine.com', 'first_name90', 'last_name90', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16200
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16201
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16202
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description41', 'application41', '2014-01-02 14:04:40', 90)
16203
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16204
+ Savepoint (0ms) SAVEPOINT active_record_1
16205
+ 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\"]', 40, '2014-01-02 14:04:40', '0 * * * * ?', 33, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job33', 'success', '2014-01-02 14:04:40', 89)
16206
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16207
+ Savepoint (0ms) SAVEPOINT active_record_1
16208
+ SQL (0ms) INSERT INTO `job_data` (`created_at`, `data`, `job_id`, `updated_at`) VALUES ('2014-01-02 14:04:40', '{\"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]]}}', 33, '2014-01-02 14:04:40')
16209
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16210
+ Savepoint (0ms) SAVEPOINT active_record_1
16211
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-02 14:04:40', 33, 'message1', 'failed', '2014-01-02 14:04:48')
16212
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16213
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16214
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-02 14:04:40', 33, 'message2', 'success', '2014-01-02 14:04:48')
16215
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16216
+ Rearview::JobData Load (2.0ms) SELECT `job_data`.* FROM `job_data` WHERE `job_data`.`job_id` = 33 ORDER BY `job_data`.`id` ASC LIMIT 1
16217
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16218
+ SQL (0ms) DELETE FROM `job_data` WHERE `job_data`.`id` = 4
16219
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16220
+ 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.
16221
+ Rearview::JobError Load (1.0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 33
16222
+ Savepoint (0ms) SAVEPOINT active_record_1
16223
+ SQL (0ms) DELETE FROM `job_errors` WHERE `job_errors`.`id` = 1
16224
+ SQL (0ms) DELETE FROM `job_errors` WHERE `job_errors`.`id` = 2
16225
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16226
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16227
+ SQL (0ms) UPDATE `jobs` SET `status` = NULL, `updated_at` = '2014-01-02 14:04:48', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 33
16228
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16229
+ Rearview::Job Load (1.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`id` = 33 LIMIT 1
16230
+ Rearview::JobData Load (1.0ms) SELECT `job_data`.* FROM `job_data` WHERE `job_data`.`job_id` = 33 ORDER BY `job_data`.`id` ASC LIMIT 1
16231
+  (1.0ms) SELECT COUNT(*) FROM `job_errors` WHERE `job_errors`.`job_id` = 33
16232
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16233
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user91@hungrymachine.com' LIMIT 1
16234
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user91@hungrymachine.com', 'first_name91', 'last_name91', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16235
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16236
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16237
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user92@hungrymachine.com' LIMIT 1
16238
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user92@hungrymachine.com', 'first_name92', 'last_name92', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16239
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16240
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16241
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description42', 'application42', '2014-01-02 14:04:40', 92)
16242
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16243
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16244
+ 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\"]', 41, '2014-01-02 14:04:40', '0 * * * * ?', 34, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job34', 'success', '2014-01-02 14:04:40', 91)
16245
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16246
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16247
+ SQL (1.0ms) INSERT INTO `job_data` (`created_at`, `data`, `job_id`, `updated_at`) VALUES ('2014-01-02 14:04:40', '{\"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]]}}', 34, '2014-01-02 14:04:40')
16248
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16249
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16250
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-02 14:04:40', 34, 'message3', 'failed', '2014-01-02 14:04:48')
16251
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16252
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16253
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-02 14:04:40', 34, 'message4', 'success', '2014-01-02 14:04:48')
16254
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16255
+ Rearview::JobData Load (1.0ms) SELECT `job_data`.* FROM `job_data` WHERE `job_data`.`job_id` = 34 ORDER BY `job_data`.`id` ASC LIMIT 1
16256
+ Savepoint (0ms) SAVEPOINT active_record_1
16257
+ SQL (1.0ms) DELETE FROM `job_data` WHERE `job_data`.`id` = 5
16258
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16259
+ 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.
16260
+ Rearview::JobError Load (1.0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 34
16261
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16262
+ SQL (1.0ms) DELETE FROM `job_errors` WHERE `job_errors`.`id` = 3
16263
+ SQL (0ms) DELETE FROM `job_errors` WHERE `job_errors`.`id` = 4
16264
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
16265
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16266
+ SQL (0ms) UPDATE `jobs` SET `status` = NULL, `updated_at` = '2014-01-02 14:04:48', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 34
16267
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16268
+ Rearview::Job Load (2.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`id` = 34 LIMIT 1
16269
+ Rearview::JobData Load (0ms) SELECT `job_data`.* FROM `job_data` WHERE `job_data`.`job_id` = 34 ORDER BY `job_data`.`id` ASC LIMIT 1
16270
+  (1.0ms) SELECT COUNT(*) FROM `job_errors` WHERE `job_errors`.`job_id` = 34
16271
+ Savepoint (0ms) SAVEPOINT active_record_1
16272
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user93@hungrymachine.com' LIMIT 1
16273
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user93@hungrymachine.com', 'first_name93', 'last_name93', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16274
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16275
+ Savepoint (0ms) SAVEPOINT active_record_1
16276
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user94@hungrymachine.com' LIMIT 1
16277
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user94@hungrymachine.com', 'first_name94', 'last_name94', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16278
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16279
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16280
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description43', 'application43', '2014-01-02 14:04:40', 94)
16281
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
16282
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16283
+ SQL (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\"]', 42, '2014-01-02 14:04:40', '0 * * * * ?', 35, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job35', '2014-01-02 14:04:40', 93)
16284
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16285
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16286
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user95@hungrymachine.com' LIMIT 1
16287
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user95@hungrymachine.com', 'first_name95', 'last_name95', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16288
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16289
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16290
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user96@hungrymachine.com' LIMIT 1
16291
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user96@hungrymachine.com', 'first_name96', 'last_name96', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16292
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16293
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16294
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description44', 'application44', '2014-01-02 14:04:40', 96)
16295
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16296
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16297
+ 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-02 14:04:40', '0 * * * * ?', 36, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job36', '2014-01-02 14:04:40', 95)
16298
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16299
+  (1.0ms) SELECT COUNT(*) FROM `jobs` WHERE `jobs`.`active` = 1
16300
+ Rearview::Job Load (1.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`active` = 1 ORDER BY `jobs`.`id` ASC LIMIT 1
16301
+ Terminating 1 actors...
16302
+ Shutdown completed cleanly
16303
+ Terminating 5 actors...
16304
+ Shutdown completed cleanly
16305
+ Rearview::MonitorService crashed!
16306
+ Rearview::MonitorService::MonitorServiceError: service not started
16307
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/monitor_service.rb:28:in `shutdown'
16308
+ org/jruby/RubyKernel.java:1961:in `public_send'
16309
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:25:in `dispatch'
16310
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:67:in `dispatch'
16311
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/actor.rb:326:in `handle_message'
16312
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:42:in `initialize'
16313
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks/task_fiber.rb:11:in `create'
16314
+ (celluloid):0:in `remote procedure call'
16315
+ Terminating 4 actors...
16316
+ Shutdown completed cleanly
16317
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16318
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user97@hungrymachine.com' LIMIT 1
16319
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user97@hungrymachine.com', 'first_name97', 'last_name97', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16320
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16321
+ Savepoint (0ms) SAVEPOINT active_record_1
16322
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user98@hungrymachine.com' LIMIT 1
16323
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user98@hungrymachine.com', 'first_name98', 'last_name98', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16324
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16325
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16326
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description45', 'application45', '2014-01-02 14:04:40', 98)
16327
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16328
+ Savepoint (0ms) SAVEPOINT active_record_1
16329
+ 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\"]', 44, '2014-01-02 14:04:40', '0 * * * * ?', 37, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job37', '2014-01-02 14:04:40', 97)
16330
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16331
+ #<Rearview::MonitorService:0x1660d95d>#add job:37 already added
16332
+ Terminating 5 actors...
16333
+ Shutdown completed cleanly
16334
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16335
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user99@hungrymachine.com' LIMIT 1
16336
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user99@hungrymachine.com', 'first_name99', 'last_name99', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16337
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16338
+ Savepoint (0ms) SAVEPOINT active_record_1
16339
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user100@hungrymachine.com' LIMIT 1
16340
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user100@hungrymachine.com', 'first_name100', 'last_name100', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16341
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16342
+ Savepoint (0ms) SAVEPOINT active_record_1
16343
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description46', 'application46', '2014-01-02 14:04:40', 100)
16344
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16345
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16346
+ 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\"]', 45, '2014-01-02 14:04:40', '0 * * * * ?', 38, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job38', '2014-01-02 14:04:40', 99)
16347
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16348
+ Rearview::MonitorService crashed!
16349
+ Rearview::MonitorService::MonitorServiceError: service not started
16350
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/monitor_service.rb:49:in `add'
16351
+ org/jruby/RubyKernel.java:1961:in `public_send'
16352
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:25:in `dispatch'
16353
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:67:in `dispatch'
16354
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/actor.rb:326:in `handle_message'
16355
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:42:in `initialize'
16356
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks/task_fiber.rb:11:in `create'
16357
+ (celluloid):0:in `remote procedure call'
16358
+ Terminating 4 actors...
16359
+ Shutdown completed cleanly
16360
+ Savepoint (0ms) SAVEPOINT active_record_1
16361
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user101@hungrymachine.com' LIMIT 1
16362
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user101@hungrymachine.com', 'first_name101', 'last_name101', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16363
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16364
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16365
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user102@hungrymachine.com' LIMIT 1
16366
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user102@hungrymachine.com', 'first_name102', 'last_name102', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16367
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16368
+ Savepoint (0ms) SAVEPOINT active_record_1
16369
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description47', 'application47', '2014-01-02 14:04:40', 102)
16370
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16371
+ Savepoint (0ms) SAVEPOINT active_record_1
16372
+ 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-02 14:04:40', '0 * * * * ?', 39, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job39', '2014-01-02 14:04:40', 101)
16373
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16374
+ Terminating 5 actors...
16375
+ Shutdown completed cleanly
16376
+ Terminating 5 actors...
16377
+ Shutdown completed cleanly
16378
+ Rearview::MonitorService crashed!
16379
+ Rearview::MonitorService::MonitorServiceError: service already started
16380
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/monitor_service.rb:21:in `startup'
16381
+ org/jruby/RubyKernel.java:1961:in `public_send'
16382
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:25:in `dispatch'
16383
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:67:in `dispatch'
16384
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/actor.rb:326:in `handle_message'
16385
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:42:in `initialize'
16386
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:35:in `initialize'
16387
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks/task_fiber.rb:11:in `create'
16388
+ (celluloid):0:in `remote procedure call'
16389
+ Terminating 4 actors...
16390
+ Shutdown completed cleanly
16391
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16392
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user103@hungrymachine.com' LIMIT 1
16393
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user103@hungrymachine.com', 'first_name103', 'last_name103', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16394
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
16395
+ Savepoint (0ms) SAVEPOINT active_record_1
16396
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user104@hungrymachine.com' LIMIT 1
16397
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user104@hungrymachine.com', 'first_name104', 'last_name104', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16398
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16399
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16400
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description48', 'application48', '2014-01-02 14:04:40', 104)
16401
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16402
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16403
+ 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-02 14:04:40', '0 * * * * ?', 40, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job40', '2014-01-02 14:04:40', 103)
16404
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16405
+ #<Rearview::MonitorService:0x4a5dc4c6> schedule job: 40
16406
+ Terminating 5 actors...
16407
+ Shutdown completed cleanly
16408
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16409
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user105@hungrymachine.com' LIMIT 1
16410
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user105@hungrymachine.com', 'first_name105', 'last_name105', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16411
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16412
+ Savepoint (0ms) SAVEPOINT active_record_1
16413
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user106@hungrymachine.com' LIMIT 1
16414
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user106@hungrymachine.com', 'first_name106', 'last_name106', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16415
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16416
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16417
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description49', 'application49', '2014-01-02 14:04:40', 106)
16418
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16419
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16420
+ 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-02 14:04:40', '0 * * * * ?', 41, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job41', '2014-01-02 14:04:40', 105)
16421
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16422
+ #<Rearview::MonitorService:0x6167f514> schedule job: 41
16423
+ Rearview::MonitorService crashed!
16424
+ Rearview::MonitorService::MonitorServiceError: service not started
16425
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/monitor_service.rb:35:in `schedule'
16426
+ org/jruby/RubyKernel.java:1961:in `public_send'
16427
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:25:in `dispatch'
16428
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:67:in `dispatch'
16429
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/actor.rb:326:in `handle_message'
16430
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:42:in `initialize'
16431
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:35:in `initialize'
16432
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks/task_fiber.rb:11:in `create'
16433
+ (celluloid):0:in `remote procedure call'
16434
+ Terminating 4 actors...
16435
+ Shutdown completed cleanly
16436
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16437
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user107@hungrymachine.com' LIMIT 1
16438
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user107@hungrymachine.com', 'first_name107', 'last_name107', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16439
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16440
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16441
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user108@hungrymachine.com' LIMIT 1
16442
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user108@hungrymachine.com', 'first_name108', 'last_name108', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16443
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16444
+ Savepoint (0ms) SAVEPOINT active_record_1
16445
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description50', 'application50', '2014-01-02 14:04:40', 108)
16446
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16447
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16448
+ 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\"]', 49, '2014-01-02 14:04:40', '0 * * * * ?', 42, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job42', '2014-01-02 14:04:40', 107)
16449
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16450
+ #<Rearview::MonitorService:0x7533f005> schedule job: 42
16451
+ Terminating 5 actors...
16452
+ Shutdown completed cleanly
16453
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16454
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user109@hungrymachine.com' LIMIT 1
16455
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user109@hungrymachine.com', 'first_name109', 'last_name109', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16456
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16457
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16458
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user110@hungrymachine.com' LIMIT 1
16459
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user110@hungrymachine.com', 'first_name110', 'last_name110', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16460
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16461
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16462
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description51', 'application51', '2014-01-02 14:04:40', 110)
16463
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16464
+ Savepoint (34.0ms) SAVEPOINT active_record_1
16465
+ 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-02 14:04:40', '0 * * * * ?', 43, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job43', '2014-01-02 14:04:40', 109)
16466
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16467
+ #<Rearview::MonitorService:0x715c2e3a> unschedule job: 43
16468
+ Terminating 5 actors...
16469
+ Shutdown completed cleanly
16470
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16471
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user111@hungrymachine.com' LIMIT 1
16472
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user111@hungrymachine.com', 'first_name111', 'last_name111', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16473
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
16474
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16475
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user112@hungrymachine.com' LIMIT 1
16476
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user112@hungrymachine.com', 'first_name112', 'last_name112', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16477
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16478
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16479
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description52', 'application52', '2014-01-02 14:04:40', 112)
16480
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16481
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16482
+ 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-02 14:04:40', '0 * * * * ?', 44, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job44', '2014-01-02 14:04:40', 111)
16483
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
16484
+ #<Rearview::MonitorService:0x1c1936f9> unschedule job: 44
16485
+ Rearview::MonitorService crashed!
16486
+ Rearview::MonitorService::MonitorServiceError: service not started
16487
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/monitor_service.rb:43:in `unschedule'
16488
+ org/jruby/RubyKernel.java:1961:in `public_send'
16489
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:25:in `dispatch'
16490
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:67:in `dispatch'
16491
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/actor.rb:326:in `handle_message'
16492
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:42:in `initialize'
16493
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:35:in `initialize'
16494
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks/task_fiber.rb:11:in `create'
16495
+ (celluloid):0:in `remote procedure call'
16496
+ Terminating 4 actors...
16497
+ Shutdown completed cleanly
16498
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16499
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user113@hungrymachine.com' LIMIT 1
16500
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user113@hungrymachine.com', 'first_name113', 'last_name113', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16501
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16502
+ Savepoint (0ms) SAVEPOINT active_record_1
16503
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user114@hungrymachine.com' LIMIT 1
16504
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user114@hungrymachine.com', 'first_name114', 'last_name114', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16505
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16506
+ Savepoint (0ms) SAVEPOINT active_record_1
16507
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description53', 'application53', '2014-01-02 14:04:40', 114)
16508
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16509
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16510
+ 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\"]', 52, '2014-01-02 14:04:40', '0 * * * * ?', 45, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job45', '2014-01-02 14:04:40', 113)
16511
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16512
+ #<Rearview::MonitorService:0x32b14a45> unschedule job: 45
16513
+ Terminating 5 actors...
16514
+ Shutdown completed cleanly
16515
+ Savepoint (0ms) SAVEPOINT active_record_1
16516
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user115@hungrymachine.com' LIMIT 1
16517
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user115@hungrymachine.com', 'first_name115', 'last_name115', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16518
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16519
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16520
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user116@hungrymachine.com' LIMIT 1
16521
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user116@hungrymachine.com', 'first_name116', 'last_name116', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16522
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16523
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16524
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description54', 'application54', '2014-01-02 14:04:40', 116)
16525
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16526
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16527
+ 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-02 14:04:40', '0 * * * * ?', 46, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job46', '2014-01-02 14:04:40', 115)
16528
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16529
+ #<Rearview::MonitorService:0x3cb97e77>#remove job:46 has already been removed
16530
+ Terminating 5 actors...
16531
+ Shutdown completed cleanly
16532
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16533
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user117@hungrymachine.com' LIMIT 1
16534
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user117@hungrymachine.com', 'first_name117', 'last_name117', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16535
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16536
+ Savepoint (0ms) SAVEPOINT active_record_1
16537
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user118@hungrymachine.com' LIMIT 1
16538
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user118@hungrymachine.com', 'first_name118', 'last_name118', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16539
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16540
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16541
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description55', 'application55', '2014-01-02 14:04:40', 118)
16542
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16543
+ Savepoint (0ms) SAVEPOINT active_record_1
16544
+ 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\"]', 54, '2014-01-02 14:04:40', '0 * * * * ?', 47, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job47', '2014-01-02 14:04:40', 117)
16545
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16546
+ Rearview::MonitorService crashed!
16547
+ Rearview::MonitorService::MonitorServiceError: service not started
16548
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/monitor_service.rb:58:in `remove'
16549
+ org/jruby/RubyKernel.java:1961:in `public_send'
16550
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:25:in `dispatch'
16551
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:67:in `dispatch'
16552
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/actor.rb:326:in `handle_message'
16553
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:42:in `initialize'
16554
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:35:in `initialize'
16555
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks/task_fiber.rb:11:in `create'
16556
+ (celluloid):0:in `remote procedure call'
16557
+ Terminating 4 actors...
16558
+ Shutdown completed cleanly
16559
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16560
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user119@hungrymachine.com' LIMIT 1
16561
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user119@hungrymachine.com', 'first_name119', 'last_name119', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16562
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16563
+ Savepoint (0ms) SAVEPOINT active_record_1
16564
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user120@hungrymachine.com' LIMIT 1
16565
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user120@hungrymachine.com', 'first_name120', 'last_name120', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16566
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16567
+ Savepoint (0ms) SAVEPOINT active_record_1
16568
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description56', 'application56', '2014-01-02 14:04:40', 120)
16569
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16570
+ Savepoint (0ms) SAVEPOINT active_record_1
16571
+ 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\"]', 55, '2014-01-02 14:04:40', '0 * * * * ?', 48, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job48', '2014-01-02 14:04:40', 119)
16572
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16573
+ Savepoint (0ms) SAVEPOINT active_record_1
16574
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user121@hungrymachine.com' LIMIT 1
16575
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user121@hungrymachine.com', 'first_name121', 'last_name121', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16576
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16577
+ Savepoint (0ms) SAVEPOINT active_record_1
16578
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description57', 'application57', '2014-01-02 14:04:40', 121)
16579
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16580
+ Savepoint (0ms) SAVEPOINT active_record_1
16581
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user122@hungrymachine.com' LIMIT 1
16582
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user122@hungrymachine.com', 'first_name122', 'last_name122', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16583
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16584
+ Savepoint (0ms) SAVEPOINT active_record_1
16585
+ 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\"]', 56, '2014-01-02 14:04:40', '0 * * * * ?', 49, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job49', '2014-01-02 14:04:40', 122)
16586
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16587
+ Savepoint (0ms) SAVEPOINT active_record_1
16588
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-02 14:03:49', 49, 'message5', 'success', '2014-01-02 14:04:49')
16589
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16590
+ Savepoint (0ms) SAVEPOINT active_record_1
16591
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user123@hungrymachine.com' LIMIT 1
16592
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user123@hungrymachine.com', 'first_name123', 'last_name123', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16593
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16594
+ Savepoint (0ms) SAVEPOINT active_record_1
16595
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description58', 'application58', '2014-01-02 14:04:40', 123)
16596
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16597
+ Savepoint (0ms) SAVEPOINT active_record_1
16598
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user124@hungrymachine.com' LIMIT 1
16599
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user124@hungrymachine.com', 'first_name124', 'last_name124', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16600
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16601
+ Savepoint (0ms) SAVEPOINT active_record_1
16602
+ 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\"]', 57, '2014-01-02 14:04:40', '0 * * * * ?', 50, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job50', '2014-01-02 14:04:40', 124)
16603
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16604
+ Savepoint (0ms) SAVEPOINT active_record_1
16605
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-02 14:02:49', 50, 'message6', 'success', '2014-01-02 14:04:49')
16606
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16607
+ Savepoint (0ms) SAVEPOINT active_record_1
16608
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-02 14:03:49', 50, 'message7', 'error', '2014-01-02 14:04:49')
16609
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16610
+ Savepoint (0ms) SAVEPOINT active_record_1
16611
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user125@hungrymachine.com' LIMIT 1
16612
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user125@hungrymachine.com', 'first_name125', 'last_name125', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16613
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16614
+ Savepoint (0ms) SAVEPOINT active_record_1
16615
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description59', 'application59', '2014-01-02 14:04:40', 125)
16616
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16617
+ Savepoint (0ms) SAVEPOINT active_record_1
16618
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user126@hungrymachine.com' LIMIT 1
16619
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user126@hungrymachine.com', 'first_name126', 'last_name126', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16620
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16621
+ Savepoint (0ms) SAVEPOINT active_record_1
16622
+ 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-02 14:04:40', '0 * * * * ?', 51, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job51', '2014-01-02 14:04:40', 126)
16623
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16624
+ Savepoint (0ms) SAVEPOINT active_record_1
16625
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-02 14:00:49', 51, 'message8', 'success', '2014-01-02 14:04:49')
16626
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16627
+ Savepoint (0ms) SAVEPOINT active_record_1
16628
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-02 14:01:49', 51, 'message9', 'error', '2014-01-02 14:04:49')
16629
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16630
+ Savepoint (0ms) SAVEPOINT active_record_1
16631
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-02 14:02:49', 51, 'message10', 'error', '2014-01-02 14:04:49')
16632
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16633
+ Savepoint (0ms) SAVEPOINT active_record_1
16634
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-02 14:03:49', 51, 'message11', 'success', '2014-01-02 14:04:49')
16635
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16636
+ Savepoint (0ms) SAVEPOINT active_record_1
16637
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user127@hungrymachine.com' LIMIT 1
16638
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user127@hungrymachine.com', 'first_name127', 'last_name127', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16639
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16640
+ Savepoint (0ms) SAVEPOINT active_record_1
16641
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description60', 'application60', '2014-01-02 14:04:40', 127)
16642
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16643
+ Savepoint (0ms) SAVEPOINT active_record_1
16644
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user128@hungrymachine.com' LIMIT 1
16645
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user128@hungrymachine.com', 'first_name128', 'last_name128', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16646
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16647
+ Savepoint (0ms) SAVEPOINT active_record_1
16648
+ 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-02 14:04:40', '0 * * * * ?', 52, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job52', '2014-01-02 14:04:40', 128)
16649
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16650
+ Savepoint (0ms) SAVEPOINT active_record_1
16651
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-02 14:03:49', 52, 'message12', 'error', '2014-01-02 14:04:49')
16652
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16653
+ Savepoint (0ms) SAVEPOINT active_record_1
16654
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user129@hungrymachine.com' LIMIT 1
16655
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user129@hungrymachine.com', 'first_name129', 'last_name129', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16656
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16657
+ Savepoint (0ms) SAVEPOINT active_record_1
16658
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description61', 'application61', '2014-01-02 14:04:40', 129)
16659
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16660
+ Savepoint (0ms) SAVEPOINT active_record_1
16661
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user130@hungrymachine.com' LIMIT 1
16662
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user130@hungrymachine.com', 'first_name130', 'last_name130', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16663
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16664
+ Savepoint (0ms) SAVEPOINT active_record_1
16665
+ 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-02 14:04:40', '0 * * * * ?', 53, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job53', '2014-01-02 14:04:40', 130)
16666
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16667
+ Savepoint (0ms) SAVEPOINT active_record_1
16668
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-02 14:02:49', 53, 'message13', 'error', '2014-01-02 14:04:49')
16669
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16670
+ Savepoint (0ms) SAVEPOINT active_record_1
16671
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-02 14:03:49', 53, 'message14', 'success', '2014-01-02 14:04:49')
16672
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16673
+ Savepoint (0ms) SAVEPOINT active_record_1
16674
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user131@hungrymachine.com' LIMIT 1
16675
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user131@hungrymachine.com', 'first_name131', 'last_name131', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16676
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16677
+ Savepoint (0ms) SAVEPOINT active_record_1
16678
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description62', 'application62', '2014-01-02 14:04:40', 131)
16679
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16680
+ Savepoint (0ms) SAVEPOINT active_record_1
16681
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user132@hungrymachine.com' LIMIT 1
16682
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user132@hungrymachine.com', 'first_name132', 'last_name132', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16683
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16684
+ Savepoint (0ms) SAVEPOINT active_record_1
16685
+ 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\"]', 61, '2014-01-02 14:04:40', '0 * * * * ?', 54, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job54', '2014-01-02 14:04:40', 132)
16686
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16687
+ Savepoint (0ms) SAVEPOINT active_record_1
16688
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-02 14:01:49', 54, 'message15', 'success', '2014-01-02 14:04:49')
16689
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16690
+ Savepoint (0ms) SAVEPOINT active_record_1
16691
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-02 14:02:49', 54, 'message16', 'error', '2014-01-02 14:04:49')
16692
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16693
+ Savepoint (0ms) SAVEPOINT active_record_1
16694
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-02 14:03:49', 54, 'message17', 'success', '2014-01-02 14:04:49')
16695
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16696
+ Savepoint (0ms) SAVEPOINT active_record_1
16697
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user133@hungrymachine.com' LIMIT 1
16698
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user133@hungrymachine.com', 'first_name133', 'last_name133', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16699
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16700
+ Savepoint (0ms) SAVEPOINT active_record_1
16701
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description63', 'application63', '2014-01-02 14:04:40', 133)
16702
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16703
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16704
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user134@hungrymachine.com' LIMIT 1
16705
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user134@hungrymachine.com', 'first_name134', 'last_name134', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16706
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16707
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16708
+ 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\"]', 62, '2014-01-02 14:04:40', '0 * * * * ?', 55, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job55', '2014-01-02 14:04:40', 134)
16709
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
16710
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16711
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-01 14:04:49', 55, 'message18', 'success', '2014-01-02 14:04:49')
16712
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
16713
+ Savepoint (0ms) SAVEPOINT active_record_1
16714
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-01 14:04:49', 55, 'message19', 'failed', '2014-01-02 14:04:49')
16715
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16716
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16717
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-01 14:04:49', 55, 'message20', 'error', '2014-01-02 14:04:49')
16718
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16719
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16720
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-01 14:04:49', 55, 'message21', 'graphite_error', '2014-01-02 14:04:49')
16721
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16722
+  (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 = 62)
16723
+ Savepoint (0ms) SAVEPOINT active_record_1
16724
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user135@hungrymachine.com' LIMIT 1
16725
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user135@hungrymachine.com', 'first_name135', 'last_name135', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16726
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16727
+ Savepoint (0ms) SAVEPOINT active_record_1
16728
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description64', 'application64', '2014-01-02 14:04:40', 135)
16729
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16730
+ Savepoint (0ms) SAVEPOINT active_record_1
16731
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user136@hungrymachine.com' LIMIT 1
16732
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user136@hungrymachine.com', 'first_name136', 'last_name136', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16733
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16734
+ Savepoint (0ms) SAVEPOINT active_record_1
16735
+ 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\"]', 63, '2014-01-02 14:04:40', '0 * * * * ?', 56, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job56', '2014-01-02 14:04:40', 136)
16736
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16737
+ Savepoint (0ms) SAVEPOINT active_record_1
16738
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-01 14:04:49', 56, 'message22', 'failed', '2014-01-02 14:04:49')
16739
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16740
+ Savepoint (0ms) SAVEPOINT active_record_1
16741
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-31 14:04:49', 56, 'message23', 'failed', '2014-01-02 14:04:49')
16742
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16743
+ Savepoint (0ms) SAVEPOINT active_record_1
16744
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-30 14:04:49', 56, 'message24', 'failed', '2014-01-02 14:04:49')
16745
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16746
+ Savepoint (0ms) SAVEPOINT active_record_1
16747
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-29 14:04:49', 56, 'message25', 'failed', '2014-01-02 14:04:49')
16748
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16749
+ Savepoint (0ms) SAVEPOINT active_record_1
16750
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-28 14:04:49', 56, 'message26', 'failed', '2014-01-02 14:04:49')
16751
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16752
+ Savepoint (0ms) SAVEPOINT active_record_1
16753
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-27 14:04:49', 56, 'message27', 'failed', '2014-01-02 14:04:49')
16754
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16755
+ Savepoint (0ms) SAVEPOINT active_record_1
16756
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-26 14:04:49', 56, 'message28', 'failed', '2014-01-02 14:04:49')
16757
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16758
+  (0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM `job_errors` WHERE `job_errors`.`job_id` = 56 LIMIT 3) subquery_for_count
16759
+ Savepoint (0ms) SAVEPOINT active_record_1
16760
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user137@hungrymachine.com' LIMIT 1
16761
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user137@hungrymachine.com', 'first_name137', 'last_name137', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16762
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16763
+ Savepoint (0ms) SAVEPOINT active_record_1
16764
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description65', 'application65', '2014-01-02 14:04:40', 137)
16765
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16766
+ Savepoint (0ms) SAVEPOINT active_record_1
16767
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user138@hungrymachine.com' LIMIT 1
16768
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user138@hungrymachine.com', 'first_name138', 'last_name138', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16769
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16770
+ Savepoint (0ms) SAVEPOINT active_record_1
16771
+ 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\"]', 64, '2014-01-02 14:04:40', '0 * * * * ?', 57, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job57', '2014-01-02 14:04:40', 138)
16772
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16773
+ Savepoint (0ms) SAVEPOINT active_record_1
16774
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-01 14:04:50', 57, 'message29', 'failed', '2014-01-02 14:04:50')
16775
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16776
+ Savepoint (0ms) SAVEPOINT active_record_1
16777
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-31 14:04:50', 57, 'message30', 'failed', '2014-01-02 14:04:50')
16778
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16779
+ Savepoint (0ms) SAVEPOINT active_record_1
16780
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-30 14:04:50', 57, 'message31', 'failed', '2014-01-02 14:04:50')
16781
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16782
+ Savepoint (0ms) SAVEPOINT active_record_1
16783
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-29 14:04:50', 57, 'message32', 'failed', '2014-01-02 14:04:50')
16784
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16785
+ Savepoint (0ms) SAVEPOINT active_record_1
16786
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-28 14:04:50', 57, 'message33', 'failed', '2014-01-02 14:04:50')
16787
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16788
+ Savepoint (0ms) SAVEPOINT active_record_1
16789
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-27 14:04:50', 57, 'message34', 'failed', '2014-01-02 14:04:50')
16790
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16791
+ Savepoint (0ms) SAVEPOINT active_record_1
16792
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-26 14:04:50', 57, 'message35', 'failed', '2014-01-02 14:04:50')
16793
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16794
+  (0ms) SELECT COUNT(*) FROM `job_errors` WHERE `job_errors`.`job_id` = 57 AND (created_at <= '2013-12-27 14:04:50')
16795
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 57 AND (created_at <= '2013-12-27 14:04:50') ORDER BY created_at ASC LIMIT 1
16796
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 57 AND (created_at <= '2013-12-27 14:04:50') ORDER BY created_at DESC LIMIT 1
16797
+ Savepoint (0ms) SAVEPOINT active_record_1
16798
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user139@hungrymachine.com' LIMIT 1
16799
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user139@hungrymachine.com', 'first_name139', 'last_name139', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16800
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16801
+ Savepoint (0ms) SAVEPOINT active_record_1
16802
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description66', 'application66', '2014-01-02 14:04:40', 139)
16803
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16804
+ Savepoint (0ms) SAVEPOINT active_record_1
16805
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user140@hungrymachine.com' LIMIT 1
16806
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user140@hungrymachine.com', 'first_name140', 'last_name140', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16807
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16808
+ Savepoint (0ms) SAVEPOINT active_record_1
16809
+ 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\"]', 65, '2014-01-02 14:04:40', '0 * * * * ?', 58, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job58', '2014-01-02 14:04:40', 140)
16810
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16811
+ Savepoint (0ms) SAVEPOINT active_record_1
16812
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-01 14:04:50', 58, 'message36', 'failed', '2014-01-02 14:04:50')
16813
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16814
+ Savepoint (0ms) SAVEPOINT active_record_1
16815
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-31 14:04:50', 58, 'message37', 'failed', '2014-01-02 14:04:50')
16816
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16817
+ Savepoint (0ms) SAVEPOINT active_record_1
16818
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-30 14:04:50', 58, 'message38', 'failed', '2014-01-02 14:04:50')
16819
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16820
+ Savepoint (0ms) SAVEPOINT active_record_1
16821
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-29 14:04:50', 58, 'message39', 'failed', '2014-01-02 14:04:50')
16822
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16823
+ Savepoint (0ms) SAVEPOINT active_record_1
16824
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-28 14:04:50', 58, 'message40', 'failed', '2014-01-02 14:04:50')
16825
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16826
+ Savepoint (0ms) SAVEPOINT active_record_1
16827
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-27 14:04:50', 58, 'message41', 'failed', '2014-01-02 14:04:50')
16828
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16829
+ Savepoint (0ms) SAVEPOINT active_record_1
16830
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-26 14:04:50', 58, 'message42', 'failed', '2014-01-02 14:04:50')
16831
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16832
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 58 ORDER BY created_at DESC LIMIT 1
16833
+ Savepoint (0ms) SAVEPOINT active_record_1
16834
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user141@hungrymachine.com' LIMIT 1
16835
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user141@hungrymachine.com', 'first_name141', 'last_name141', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16836
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16837
+ Savepoint (0ms) SAVEPOINT active_record_1
16838
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description67', 'application67', '2014-01-02 14:04:40', 141)
16839
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16840
+ Savepoint (0ms) SAVEPOINT active_record_1
16841
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user142@hungrymachine.com' LIMIT 1
16842
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user142@hungrymachine.com', 'first_name142', 'last_name142', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16843
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16844
+ Savepoint (0ms) SAVEPOINT active_record_1
16845
+ 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\"]', 66, '2014-01-02 14:04:40', '0 * * * * ?', 59, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job59', '2014-01-02 14:04:40', 142)
16846
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16847
+ Savepoint (0ms) SAVEPOINT active_record_1
16848
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-01 14:04:50', 59, 'message43', 'failed', '2014-01-02 14:04:50')
16849
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16850
+ Savepoint (0ms) SAVEPOINT active_record_1
16851
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-31 14:04:50', 59, 'message44', 'failed', '2014-01-02 14:04:50')
16852
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16853
+ Savepoint (0ms) SAVEPOINT active_record_1
16854
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-30 14:04:50', 59, 'message45', 'failed', '2014-01-02 14:04:50')
16855
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16856
+ Savepoint (0ms) SAVEPOINT active_record_1
16857
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-29 14:04:50', 59, 'message46', 'failed', '2014-01-02 14:04:50')
16858
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16859
+ Savepoint (0ms) SAVEPOINT active_record_1
16860
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-28 14:04:50', 59, 'message47', 'failed', '2014-01-02 14:04:50')
16861
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16862
+ Savepoint (0ms) SAVEPOINT active_record_1
16863
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-27 14:04:50', 59, 'message48', 'failed', '2014-01-02 14:04:50')
16864
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16865
+ Savepoint (0ms) SAVEPOINT active_record_1
16866
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-26 14:04:50', 59, 'message49', 'failed', '2014-01-02 14:04:50')
16867
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16868
+  (0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM `job_errors` WHERE `job_errors`.`job_id` = 59 LIMIT 3 OFFSET 1) subquery_for_count
16869
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 59 ORDER BY created_at DESC LIMIT 1 OFFSET 1
16870
+ Savepoint (0ms) SAVEPOINT active_record_1
16871
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user143@hungrymachine.com' LIMIT 1
16872
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user143@hungrymachine.com', 'first_name143', 'last_name143', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16873
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16874
+ Savepoint (0ms) SAVEPOINT active_record_1
16875
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description68', 'application68', '2014-01-02 14:04:40', 143)
16876
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16877
+ Savepoint (0ms) SAVEPOINT active_record_1
16878
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user144@hungrymachine.com' LIMIT 1
16879
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user144@hungrymachine.com', 'first_name144', 'last_name144', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16880
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16881
+ Savepoint (0ms) SAVEPOINT active_record_1
16882
+ 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\"]', 67, '2014-01-02 14:04:40', '0 * * * * ?', 60, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job60', '2014-01-02 14:04:40', 144)
16883
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16884
+ Savepoint (0ms) SAVEPOINT active_record_1
16885
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-01 14:04:50', 60, 'message50', 'failed', '2014-01-02 14:04:50')
16886
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16887
+ Savepoint (0ms) SAVEPOINT active_record_1
16888
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-31 14:04:50', 60, 'message51', 'failed', '2014-01-02 14:04:50')
16889
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16890
+ Savepoint (0ms) SAVEPOINT active_record_1
16891
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-30 14:04:50', 60, 'message52', 'failed', '2014-01-02 14:04:50')
16892
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16893
+ Savepoint (0ms) SAVEPOINT active_record_1
16894
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-29 14:04:50', 60, 'message53', 'failed', '2014-01-02 14:04:50')
16895
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16896
+ Savepoint (0ms) SAVEPOINT active_record_1
16897
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-28 14:04:50', 60, 'message54', 'failed', '2014-01-02 14:04:50')
16898
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16899
+ Savepoint (0ms) SAVEPOINT active_record_1
16900
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-27 14:04:50', 60, 'message55', 'failed', '2014-01-02 14:04:50')
16901
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16902
+ Savepoint (0ms) SAVEPOINT active_record_1
16903
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-26 14:04:50', 60, 'message56', 'failed', '2014-01-02 14:04:50')
16904
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16905
+  (0ms) SELECT COUNT(*) FROM `job_errors` WHERE `job_errors`.`job_id` = 60 AND (created_at >= '2013-12-31 14:04:50')
16906
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 60 AND (created_at >= '2013-12-31 14:04:50') ORDER BY created_at ASC LIMIT 1
16907
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 60 AND (created_at >= '2013-12-31 14:04:50') ORDER BY created_at DESC LIMIT 1
16908
+ Savepoint (0ms) SAVEPOINT active_record_1
16909
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user145@hungrymachine.com' LIMIT 1
16910
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user145@hungrymachine.com', 'first_name145', 'last_name145', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16911
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16912
+ Savepoint (0ms) SAVEPOINT active_record_1
16913
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description69', 'application69', '2014-01-02 14:04:40', 145)
16914
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16915
+ Savepoint (0ms) SAVEPOINT active_record_1
16916
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user146@hungrymachine.com' LIMIT 1
16917
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user146@hungrymachine.com', 'first_name146', 'last_name146', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16918
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16919
+ Savepoint (0ms) SAVEPOINT active_record_1
16920
+ 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\"]', 68, '2014-01-02 14:04:40', '0 * * * * ?', 61, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job61', '2014-01-02 14:04:40', 146)
16921
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16922
+ Savepoint (0ms) SAVEPOINT active_record_1
16923
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-01 14:04:50', 61, 'message57', 'failed', '2014-01-02 14:04:50')
16924
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16925
+ Savepoint (0ms) SAVEPOINT active_record_1
16926
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-31 14:04:50', 61, 'message58', 'failed', '2014-01-02 14:04:50')
16927
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16928
+ Savepoint (0ms) SAVEPOINT active_record_1
16929
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-30 14:04:50', 61, 'message59', 'failed', '2014-01-02 14:04:50')
16930
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16931
+ Savepoint (0ms) SAVEPOINT active_record_1
16932
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-29 14:04:50', 61, 'message60', 'failed', '2014-01-02 14:04:50')
16933
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16934
+ Savepoint (0ms) SAVEPOINT active_record_1
16935
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-28 14:04:50', 61, 'message61', 'failed', '2014-01-02 14:04:50')
16936
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16937
+ Savepoint (0ms) SAVEPOINT active_record_1
16938
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-27 14:04:50', 61, 'message62', 'failed', '2014-01-02 14:04:50')
16939
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16940
+ Savepoint (0ms) SAVEPOINT active_record_1
16941
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-26 14:04:50', 61, 'message63', 'failed', '2014-01-02 14:04:50')
16942
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16943
+  (0ms) SELECT COUNT(*) FROM `job_errors` WHERE `job_errors`.`job_id` = 61 AND (created_at >= '2013-12-28 14:04:50') AND (created_at <= '2014-01-01 14:04:50')
16944
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 61 AND (created_at >= '2013-12-28 14:04:50') AND (created_at <= '2014-01-01 14:04:50') ORDER BY created_at ASC LIMIT 1
16945
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 61 AND (created_at >= '2013-12-28 14:04:50') AND (created_at <= '2014-01-01 14:04:50') ORDER BY created_at DESC LIMIT 1
16946
+ Savepoint (0ms) SAVEPOINT active_record_1
16947
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user147@hungrymachine.com' LIMIT 1
16948
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user147@hungrymachine.com', 'first_name147', 'last_name147', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16949
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16950
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16951
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description70', 'application70', '2014-01-02 14:04:40', 147)
16952
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16953
+ Savepoint (0ms) SAVEPOINT active_record_1
16954
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user148@hungrymachine.com' LIMIT 1
16955
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user148@hungrymachine.com', 'first_name148', 'last_name148', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16956
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16957
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16958
+ 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\"]', 69, '2014-01-02 14:04:40', '0 * * * * ?', 62, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job62', '2014-01-02 14:04:40', 148)
16959
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16960
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16961
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `last_alerted_at`, `message`, `status`, `updated_at`) VALUES ('2014-01-02 14:04:40', 62, '2014-01-01 14:04:50', 'message64', 'failed', '2014-01-02 14:04:50')
16962
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16963
+ #<Rearview::JobError:0x7404ffb6>#update_alert for transition nil
16964
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16965
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user149@hungrymachine.com' LIMIT 1
16966
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user149@hungrymachine.com', 'first_name149', 'last_name149', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16967
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16968
+ Savepoint (0ms) SAVEPOINT active_record_1
16969
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description71', 'application71', '2014-01-02 14:04:40', 149)
16970
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16971
+ Savepoint (0ms) SAVEPOINT active_record_1
16972
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user150@hungrymachine.com' LIMIT 1
16973
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user150@hungrymachine.com', 'first_name150', 'last_name150', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16974
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16975
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16976
+ 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\"]', 70, '2014-01-02 14:04:40', '0 * * * * ?', 63, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job63', '2014-01-02 14:04:40', 150)
16977
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16978
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16979
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `last_alerted_at`, `message`, `status`, `updated_at`) VALUES ('2014-01-02 14:04:40', 63, '2014-01-02 14:03:50', 'message65', 'failed', '2014-01-02 14:04:50')
16980
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16981
+ #<Rearview::JobError:0x60ce12ee>#update_alert for transition nil
16982
+ Savepoint (0ms) SAVEPOINT active_record_1
16983
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user151@hungrymachine.com' LIMIT 1
16984
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user151@hungrymachine.com', 'first_name151', 'last_name151', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16985
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16986
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16987
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description72', 'application72', '2014-01-02 14:04:40', 151)
16988
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16989
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16990
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user152@hungrymachine.com' LIMIT 1
16991
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user152@hungrymachine.com', 'first_name152', 'last_name152', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
16992
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16993
+ Savepoint (1.0ms) SAVEPOINT active_record_1
16994
+ 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\"]', 71, '2014-01-02 14:04:40', '0 * * * * ?', 64, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job64', '2014-01-02 14:04:40', 152)
16995
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16996
+ Savepoint (0ms) SAVEPOINT active_record_1
16997
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-02 14:04:40', 64, 'message66', 'failed', '2014-01-02 14:04:50')
16998
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
16999
+ #<Rearview::JobError:0x4d4bc17f>#update_alert for transition nil
17000
+ Savepoint (0ms) SAVEPOINT active_record_1
17001
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user153@hungrymachine.com' LIMIT 1
17002
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user153@hungrymachine.com', 'first_name153', 'last_name153', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17003
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17004
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17005
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description73', 'application73', '2014-01-02 14:04:40', 153)
17006
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17007
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17008
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user154@hungrymachine.com' LIMIT 1
17009
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user154@hungrymachine.com', 'first_name154', 'last_name154', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17010
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17011
+ Savepoint (0ms) SAVEPOINT active_record_1
17012
+ 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\"]', 72, '2014-01-02 14:04:40', '0 * * * * ?', 65, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job65', '2014-01-02 14:04:40', 154)
17013
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17014
+ Savepoint (0ms) SAVEPOINT active_record_1
17015
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-01 14:04:50', 65, 'message67', 'failed', '2014-01-02 14:04:50')
17016
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17017
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17018
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-31 14:04:50', 65, 'message68', 'failed', '2014-01-02 14:04:50')
17019
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17020
+ Rearview::JobError Load (1.0ms) SELECT `job_errors`.* FROM `job_errors` WHERE (job_id = 65) ORDER BY created_at DESC LIMIT 1
17021
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17022
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user155@hungrymachine.com' LIMIT 1
17023
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user155@hungrymachine.com', 'first_name155', 'last_name155', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17024
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17025
+ Savepoint (0ms) SAVEPOINT active_record_1
17026
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user156@hungrymachine.com' LIMIT 1
17027
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user156@hungrymachine.com', 'first_name156', 'last_name156', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17028
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17029
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17030
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description74', 'application74', '2014-01-02 14:04:40', 156)
17031
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17032
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17033
+ 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\"]', 73, '2014-01-02 14:04:40', '0 * * * * ?', 66, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job66', '2014-01-02 14:04:40', 155)
17034
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17035
+ Savepoint (0ms) SAVEPOINT active_record_1
17036
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-02 14:04:40', 66, 'message69', 'failed', '2014-01-02 14:04:50')
17037
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17038
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17039
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user157@hungrymachine.com' LIMIT 1
17040
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user157@hungrymachine.com', 'first_name157', 'last_name157', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17041
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17042
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17043
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user158@hungrymachine.com' LIMIT 1
17044
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user158@hungrymachine.com', 'first_name158', 'last_name158', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17045
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17046
+ Savepoint (0ms) SAVEPOINT active_record_1
17047
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description75', 'application75', '2014-01-02 14:04:40', 158)
17048
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17049
+ Savepoint (0ms) SAVEPOINT active_record_1
17050
+ 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-02 14:04:40', '0 * * * * ?', 67, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job67', '2014-01-02 14:04:40', 157)
17051
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17052
+ Savepoint (0ms) SAVEPOINT active_record_1
17053
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-02 14:04:40', 67, 'message70', 'failed', '2014-01-02 14:04:51')
17054
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17055
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17056
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user159@hungrymachine.com' LIMIT 1
17057
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user159@hungrymachine.com', 'first_name159', 'last_name159', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17058
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17059
+ Savepoint (0ms) SAVEPOINT active_record_1
17060
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description76', 'application76', '2014-01-02 14:04:40', 159)
17061
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17062
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17063
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user160@hungrymachine.com' LIMIT 1
17064
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user160@hungrymachine.com', 'first_name160', 'last_name160', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17065
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17066
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17067
+ 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-02 14:04:40', '0 * * * * ?', 68, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job68', '2014-01-02 14:04:40', 160)
17068
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17069
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17070
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-02 14:04:40', 68, 'message71', 'failed', '2014-01-02 14:04:51')
17071
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17072
+ #<Rearview::JobError:0x17777736>#create_alert for transition nil
17073
+ Savepoint (0ms) SAVEPOINT active_record_1
17074
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user161@hungrymachine.com' LIMIT 1
17075
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user161@hungrymachine.com', 'first_name161', 'last_name161', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17076
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17077
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17078
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description77', 'application77', '2014-01-02 14:04:40', 161)
17079
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17080
+ Savepoint (0ms) SAVEPOINT active_record_1
17081
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user162@hungrymachine.com' LIMIT 1
17082
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user162@hungrymachine.com', 'first_name162', 'last_name162', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17083
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17084
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17085
+ 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\"]', 76, '2014-01-02 14:04:40', '0 * * * * ?', 69, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job69', '2014-01-02 14:04:40', 162)
17086
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17087
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17088
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-01 14:04:51', 69, 'message72', 'failed', '2014-01-02 14:04:51')
17089
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17090
+ Rearview::JobError Load (1.0ms) SELECT `job_errors`.* FROM `job_errors` WHERE (status != 'success') AND (job_id = 69) ORDER BY created_at DESC LIMIT 1
17091
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17092
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user163@hungrymachine.com' LIMIT 1
17093
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user163@hungrymachine.com', 'first_name163', 'last_name163', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17094
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17095
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17096
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description78', 'application78', '2014-01-02 14:04:40', 163)
17097
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17098
+ Savepoint (0ms) SAVEPOINT active_record_1
17099
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user164@hungrymachine.com' LIMIT 1
17100
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user164@hungrymachine.com', 'first_name164', 'last_name164', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17101
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17102
+ Savepoint (0ms) SAVEPOINT active_record_1
17103
+ 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-02 14:04:40', '0 * * * * ?', 70, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job70', '2014-01-02 14:04:40', 164)
17104
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17105
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17106
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-01 14:04:51', 70, 'message73', 'success', '2014-01-02 14:04:51')
17107
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17108
+ Rearview::JobError Load (1.0ms) SELECT `job_errors`.* FROM `job_errors` WHERE (status != 'success') AND (job_id = 70) ORDER BY created_at DESC LIMIT 1
17109
+ Savepoint (0ms) SAVEPOINT active_record_1
17110
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user165@hungrymachine.com' LIMIT 1
17111
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user165@hungrymachine.com', 'first_name165', 'last_name165', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17112
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
17113
+ Savepoint (0ms) SAVEPOINT active_record_1
17114
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user166@hungrymachine.com' LIMIT 1
17115
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user166@hungrymachine.com', 'first_name166', 'last_name166', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17116
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17117
+ Savepoint (0ms) SAVEPOINT active_record_1
17118
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description79', 'application79', '2014-01-02 14:04:40', 166)
17119
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17120
+ Savepoint (0ms) SAVEPOINT active_record_1
17121
+ 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\"]', 78, '2014-01-02 14:04:40', '0 * * * * ?', 71, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job71', '2014-01-02 14:04:40', 165)
17122
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17123
+ #<Rearview::AlertsHandler:0x11653972> [jobId:71 threadId:1 threadName:main] run
17124
+ #<Rearview::AlertsHandler:0x11653972> [jobId:71 threadId:1 threadName:main] #<Mocha::Mock:0xafd6149> failed: oops
17125
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/exception_raiser.rb:11:in `evaluate'
17126
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/return_values.rb:20:in `next'
17127
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/expectation.rb:569:in `invoke'
17128
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/mock.rb:232:in `method_missing'
17129
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/alerts_handler.rb:16:in `run'
17130
+ org/jruby/RubyArray.java:1613:in `each'
17131
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/alerts_handler.rb:13:in `run'
17132
+ /Users/trentalbrigh/workspaces/rearview-engine/spec/lib/rearview/alerts_handler_spec.rb:31:in `(root)'
17133
+ org/jruby/RubyProc.java:271:in `call'
17134
+ /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?'
17135
+ /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?'
17136
+ /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'
17137
+ /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'
17138
+ /Users/trentalbrigh/workspaces/rearview-engine/spec/lib/rearview/alerts_handler_spec.rb:31:in `(root)'
17139
+ org/jruby/RubyBasicObject.java:1536:in `instance_eval'
17140
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `run'
17141
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:112:in `run'
17142
+ org/jruby/RubyProc.java:271:in `call'
17143
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `extended'
17144
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-rails-2.14.0/lib/rspec/rails/adapters.rb:51:in `MiniTestLifecycleAdapter'
17145
+ org/jruby/RubyBasicObject.java:1565:in `instance_exec'
17146
+ /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'
17147
+ /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'
17148
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `run'
17149
+ org/jruby/RubyProc.java:271:in `call'
17150
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
17151
+ /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'
17152
+ /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'
17153
+ /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'
17154
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
17155
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:109:in `run'
17156
+ /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'
17157
+ org/jruby/RubyArray.java:2413:in `map'
17158
+ /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'
17159
+ /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'
17160
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:369:in `run'
17161
+ /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'
17162
+ org/jruby/RubyArray.java:2413:in `map'
17163
+ /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'
17164
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:369:in `run'
17165
+ /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'
17166
+ org/jruby/RubyArray.java:2413:in `map'
17167
+ /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'
17168
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
17169
+ /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'
17170
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
17171
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `autorun'
17172
+ #<Rearview::AlertsHandler:0x11653972> [jobId:71 threadId:1 threadName:main] #<Mocha::Mock:0xfe0542> failed: oops
17173
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/exception_raiser.rb:11:in `evaluate'
17174
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/return_values.rb:20:in `next'
17175
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/expectation.rb:569:in `invoke'
17176
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/mock.rb:232:in `method_missing'
17177
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/alerts_handler.rb:16:in `run'
17178
+ org/jruby/RubyArray.java:1613:in `each'
17179
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/alerts_handler.rb:13:in `run'
17180
+ /Users/trentalbrigh/workspaces/rearview-engine/spec/lib/rearview/alerts_handler_spec.rb:31:in `(root)'
17181
+ org/jruby/RubyProc.java:271:in `call'
17182
+ /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?'
17183
+ /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?'
17184
+ /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'
17185
+ /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'
17186
+ /Users/trentalbrigh/workspaces/rearview-engine/spec/lib/rearview/alerts_handler_spec.rb:31:in `(root)'
17187
+ org/jruby/RubyBasicObject.java:1536:in `instance_eval'
17188
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `run'
17189
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:112:in `run'
17190
+ org/jruby/RubyProc.java:271:in `call'
17191
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `extended'
17192
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-rails-2.14.0/lib/rspec/rails/adapters.rb:51:in `MiniTestLifecycleAdapter'
17193
+ org/jruby/RubyBasicObject.java:1565:in `instance_exec'
17194
+ /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'
17195
+ /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'
17196
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `run'
17197
+ org/jruby/RubyProc.java:271:in `call'
17198
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
17199
+ /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'
17200
+ /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'
17201
+ /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'
17202
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
17203
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:109:in `run'
17204
+ /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'
17205
+ org/jruby/RubyArray.java:2413:in `map'
17206
+ /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'
17207
+ /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'
17208
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:369:in `run'
17209
+ /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'
17210
+ org/jruby/RubyArray.java:2413:in `map'
17211
+ /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'
17212
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:369:in `run'
17213
+ /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'
17214
+ org/jruby/RubyArray.java:2413:in `map'
17215
+ /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'
17216
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
17217
+ /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'
17218
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
17219
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `autorun'
17220
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17221
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user167@hungrymachine.com' LIMIT 1
17222
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user167@hungrymachine.com', 'first_name167', 'last_name167', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17223
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17224
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17225
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user168@hungrymachine.com' LIMIT 1
17226
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user168@hungrymachine.com', 'first_name168', 'last_name168', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17227
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17228
+ Savepoint (0ms) SAVEPOINT active_record_1
17229
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description80', 'application80', '2014-01-02 14:04:40', 168)
17230
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17231
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17232
+ 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\"]', 79, '2014-01-02 14:04:40', '0 * * * * ?', 72, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job72', '2014-01-02 14:04:40', 167)
17233
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
17234
+ #<Rearview::AlertsHandler:0x53202231> [jobId:72 threadId:1 threadName:main] run
17235
+ #<Rearview::AlertsHandler:0x53202231> [jobId:72 threadId:1 threadName:main] #<Mocha::Mock:0x62a4e999> failed: unexpected
17236
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/exception_raiser.rb:11:in `evaluate'
17237
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/return_values.rb:20:in `next'
17238
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/expectation.rb:569:in `invoke'
17239
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/mock.rb:232:in `method_missing'
17240
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/alerts_handler.rb:16:in `run'
17241
+ org/jruby/RubyArray.java:1613:in `each'
17242
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/alerts_handler.rb:13:in `run'
17243
+ /Users/trentalbrigh/workspaces/rearview-engine/spec/lib/rearview/alerts_handler_spec.rb:37:in `(root)'
17244
+ org/jruby/RubyBasicObject.java:1536:in `instance_eval'
17245
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `run'
17246
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:112:in `run'
17247
+ org/jruby/RubyProc.java:271:in `call'
17248
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `extended'
17249
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-rails-2.14.0/lib/rspec/rails/adapters.rb:51:in `MiniTestLifecycleAdapter'
17250
+ org/jruby/RubyBasicObject.java:1565:in `instance_exec'
17251
+ /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'
17252
+ /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'
17253
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `run'
17254
+ org/jruby/RubyProc.java:271:in `call'
17255
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
17256
+ /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'
17257
+ /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'
17258
+ /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'
17259
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
17260
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:109:in `run'
17261
+ /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'
17262
+ org/jruby/RubyArray.java:2413:in `map'
17263
+ /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'
17264
+ /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'
17265
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:369:in `run'
17266
+ /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'
17267
+ org/jruby/RubyArray.java:2413:in `map'
17268
+ /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'
17269
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:369:in `run'
17270
+ /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'
17271
+ org/jruby/RubyArray.java:2413:in `map'
17272
+ /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'
17273
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
17274
+ /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'
17275
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
17276
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `autorun'
17277
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17278
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user169@hungrymachine.com' LIMIT 1
17279
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user169@hungrymachine.com', 'first_name169', 'last_name169', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17280
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17281
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17282
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user170@hungrymachine.com' LIMIT 1
17283
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user170@hungrymachine.com', 'first_name170', 'last_name170', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17284
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
17285
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17286
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description81', 'application81', '2014-01-02 14:04:40', 170)
17287
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17288
+ Savepoint (0ms) SAVEPOINT active_record_1
17289
+ 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\"]', 80, '2014-01-02 14:04:40', '0 * * * * ?', 73, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job73', '2014-01-02 14:04:40', 169)
17290
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
17291
+ #<Rearview::AlertsHandler:0x1bb70a88> [jobId:73 threadId:1 threadName:main] run
17292
+ Savepoint (0ms) SAVEPOINT active_record_1
17293
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user171@hungrymachine.com' LIMIT 1
17294
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user171@hungrymachine.com', 'first_name171', 'last_name171', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17295
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17296
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17297
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description82', 'application82', '2014-01-02 14:04:40', 171)
17298
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17299
+ Savepoint (0ms) SAVEPOINT active_record_1
17300
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user172@hungrymachine.com' LIMIT 1
17301
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user172@hungrymachine.com', 'first_name172', 'last_name172', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17302
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17303
+ Savepoint (0ms) SAVEPOINT active_record_1
17304
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description83', 'application83', '2014-01-02 14:04:40', 172)
17305
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17306
+ Savepoint (0ms) SAVEPOINT active_record_1
17307
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user173@hungrymachine.com' LIMIT 1
17308
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user173@hungrymachine.com', 'first_name173', 'last_name173', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17309
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17310
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17311
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description84', 'application84', '2014-01-02 14:04:40', 173)
17312
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17313
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17314
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user174@hungrymachine.com' LIMIT 1
17315
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user174@hungrymachine.com', 'first_name174', 'last_name174', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17316
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17317
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17318
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description85', 'application85', '2014-01-02 14:04:40', 174)
17319
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17320
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`ancestry` = '83'
17321
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/dashboards/_dashboard.json.jbuilder (4.0ms)
17322
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`ancestry` = '84'
17323
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/dashboards/_dashboard.json.jbuilder (3.0ms)
17324
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17325
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user175@hungrymachine.com' LIMIT 1
17326
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user175@hungrymachine.com', 'first_name175', 'last_name175', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17327
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17328
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17329
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user176@hungrymachine.com' LIMIT 1
17330
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user176@hungrymachine.com', 'first_name176', 'last_name176', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17331
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17332
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17333
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description86', 'application86', '2014-01-02 14:04:40', 176)
17334
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17335
+ Savepoint (0ms) SAVEPOINT active_record_1
17336
+ 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\"]', 85, '2014-01-02 14:04:40', '0 * * * * ?', 74, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job74', '2014-01-02 14:04:40', 175)
17337
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
17338
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17339
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user177@hungrymachine.com' LIMIT 1
17340
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user177@hungrymachine.com', 'first_name177', 'last_name177', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17341
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17342
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17343
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user178@hungrymachine.com' LIMIT 1
17344
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user178@hungrymachine.com', 'first_name178', 'last_name178', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17345
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17346
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17347
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description87', 'application87', '2014-01-02 14:04:40', 178)
17348
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17349
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17350
+ 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-02 14:04:40', '0 * * * * ?', 75, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job75', '2014-01-02 14:04:40', 177)
17351
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17352
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/jobs/_job.json.jbuilder (4.0ms)
17353
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/jobs/_job.json.jbuilder (1.0ms)
17354
+ Savepoint (0ms) SAVEPOINT active_record_1
17355
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user179@hungrymachine.com' LIMIT 1
17356
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user179@hungrymachine.com', 'first_name179', 'last_name179', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17357
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17358
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17359
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user180@hungrymachine.com' LIMIT 1
17360
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user180@hungrymachine.com', 'first_name180', 'last_name180', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17361
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17362
+ Savepoint (0ms) SAVEPOINT active_record_1
17363
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description88', 'application88', '2014-01-02 14:04:40', 180)
17364
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17365
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17366
+ 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\"]', 87, '2014-01-02 14:04:40', '0 * * * * ?', 76, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job76', '2014-01-02 14:04:40', 179)
17367
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17368
+ #<Rearview::Alerts::PagerDutyAlert:0x5498a5e6> send alert for #<Rearview::Job id: 76, created_at: "2014-01-02 14:04:40", updated_at: "2014-01-02 14:04:40", name: "job76", active: true, last_run: nil, cron_expr: "0 * * * * ?", status: nil, user_id: 179, alert_keys: ["pagerduty:54232f6f4c4447efb6d15e20dbb7349b"], deleted_at: nil, error_timeout: 60, next_run: nil, description: nil, app_id: 87, 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"}
17369
+ Rearview::MonitorRunner [threadId:1 threadName:main] eval
17370
+ Rearview::MonitorRunner [threadId:1 threadName:main] exec_process
17371
+ 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_script20140102-45537-1d26l94"]
17372
+ Rearview::MonitorRunner [threadId:1 threadName:main] exec_process start
17373
+ Rearview::MonitorRunner [threadId:1 threadName:main] eval
17374
+ Rearview::MonitorRunner [threadId:1 threadName:main] exec_process
17375
+ 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_script20140102-45537-1luwg5c"]
17376
+ Rearview::MonitorRunner [threadId:1 threadName:main] exec_process start
17377
+ Rearview::MonitorRunner [threadId:1 threadName:main] eval
17378
+ Rearview::MonitorRunner [threadId:1 threadName:main] exec_process
17379
+ 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_script20140102-45537-1brx7pi"]
17380
+ Rearview::MonitorRunner [threadId:1 threadName:main] exec_process start
17381
+ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates minutes: to_date:now
17382
+ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates from:13:03_20140102 to:14:03_20140102
17383
+ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates minutes:60 to_date:now
17384
+ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates from:13:03_20140102 to:14:03_20140102
17385
+ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates minutes: to_date:
17386
+ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates from:13:03_20140102 to:14:03_20140102
17387
+ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates minutes: to_date:10/01/2013 12:01
17388
+ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates from:11:00_20131001 to:12:00_20131001
17389
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17390
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user181@hungrymachine.com' LIMIT 1
17391
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user181@hungrymachine.com', 'first_name181', 'last_name181', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17392
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17393
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17394
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user182@hungrymachine.com' LIMIT 1
17395
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user182@hungrymachine.com', 'first_name182', 'last_name182', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17396
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17397
+ Savepoint (0ms) SAVEPOINT active_record_1
17398
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description89', 'application89', '2014-01-02 14:04:40', 182)
17399
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17400
+ Processing by Rearview::DashboardsController#show as JSON
17401
+ Parameters: {"id"=>"88"}
17402
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 88 LIMIT 1
17403
+ Completed 200 OK in 11ms (Views: 5.0ms | ActiveRecord: 1.0ms)
17404
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17405
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user183@hungrymachine.com' LIMIT 1
17406
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user183@hungrymachine.com', 'first_name183', 'last_name183', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17407
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17408
+ Savepoint (0ms) SAVEPOINT active_record_1
17409
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user184@hungrymachine.com' LIMIT 1
17410
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user184@hungrymachine.com', 'first_name184', 'last_name184', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17411
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17412
+ Savepoint (0ms) SAVEPOINT active_record_1
17413
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description90', 'application90', '2014-01-02 14:04:40', 184)
17414
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17415
+ Savepoint (0ms) SAVEPOINT active_record_1
17416
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user185@hungrymachine.com' LIMIT 1
17417
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user185@hungrymachine.com', 'first_name185', 'last_name185', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17418
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
17419
+ Processing by Rearview::DashboardsController#update as JSON
17420
+ Parameters: {"userId"=>"184", "name"=>"application91", "id"=>"89"}
17421
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 89 LIMIT 1
17422
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17423
+ SQL (1.0ms) UPDATE `applications` SET `name` = 'application91', `user_id` = 183, `description` = NULL, `updated_at` = '2014-01-02 14:04:58' WHERE `applications`.`id` = 89
17424
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17425
+ Completed 200 OK in 15ms (Views: 3.0ms | ActiveRecord: 3.0ms)
17426
+ Savepoint (0ms) SAVEPOINT active_record_1
17427
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user186@hungrymachine.com' LIMIT 1
17428
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user186@hungrymachine.com', 'first_name186', 'last_name186', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17429
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17430
+ Processing by Rearview::DashboardsController#index as JSON
17431
+ Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms)
17432
+ Savepoint (251.0ms) SAVEPOINT active_record_1
17433
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user187@hungrymachine.com' LIMIT 1
17434
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user187@hungrymachine.com', 'first_name187', 'last_name187', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17435
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
17436
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17437
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user188@hungrymachine.com' LIMIT 1
17438
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user188@hungrymachine.com', 'first_name188', 'last_name188', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17439
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17440
+ Savepoint (0ms) SAVEPOINT active_record_1
17441
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description92', 'application92', '2014-01-02 14:04:40', 188)
17442
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17443
+ Processing by Rearview::DashboardsController#errors as JSON
17444
+ Parameters: {"id"=>"90"}
17445
+ 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 = '90') ORDER BY created_at DESC
17446
+ Completed 200 OK in 8ms (Views: 4.0ms | ActiveRecord: 1.0ms)
17447
+ Savepoint (0ms) SAVEPOINT active_record_1
17448
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user189@hungrymachine.com' LIMIT 1
17449
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user189@hungrymachine.com', 'first_name189', 'last_name189', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17450
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17451
+ Savepoint (0ms) SAVEPOINT active_record_1
17452
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user190@hungrymachine.com' LIMIT 1
17453
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user190@hungrymachine.com', 'first_name190', 'last_name190', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17454
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17455
+ Processing by Rearview::DashboardsController#create as JSON
17456
+ Parameters: {"userId"=>"190", "name"=>"application93"}
17457
+ Rearview::Dashboard Load (0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` IS NULL LIMIT 1
17458
+ WARNING: Can't mass-assign protected attributes for Rearview::Dashboard: id
17459
+ protected_attributes (1.0.5) lib/active_model/mass_assignment_security/sanitizer.rb:46:in `process_removed_attributes'
17460
+ /Users/trentalbrigh/.rvm/rubies/jruby-1.7.5/lib/ruby/1.9/logger.rb:371:in `add'
17461
+ /Users/trentalbrigh/.rvm/rubies/jruby-1.7.5/lib/ruby/1.9/logger.rb:443:in `warn'
17462
+ protected_attributes (1.0.5) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes'
17463
+ protected_attributes (1.0.5) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize'
17464
+ protected_attributes (1.0.5) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment'
17465
+ protected_attributes (1.0.5) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes'
17466
+ protected_attributes (1.0.5) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes'
17467
+ activerecord (4.0.2) lib/active_record/core.rb:185:in `initialize'
17468
+ activerecord (4.0.2) lib/active_record/inheritance.rb:27:in `new'
17469
+ activerecord (4.0.2) lib/active_record/relation.rb:98:in `new'
17470
+ activerecord (4.0.2) lib/active_record/relation.rb:270:in `scoping'
17471
+ activerecord (4.0.2) lib/active_record/relation.rb:98:in `new'
17472
+ activerecord (4.0.2) lib/active_record/relation.rb:202:in `find_or_initialize_by'
17473
+ activerecord (4.0.2) lib/active_record/querying.rb:5:in `find_or_initialize_by'
17474
+ /Users/trentalbrigh/workspaces/rearview-engine/app/controllers/rearview/dashboards_controller.rb:38:in `upsert'
17475
+ /Users/trentalbrigh/workspaces/rearview-engine/app/controllers/rearview/dashboards_controller.rb:16:in `create'
17476
+ actionpack (4.0.2) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
17477
+ actionpack (4.0.2) lib/abstract_controller/base.rb:189:in `process_action'
17478
+ actionpack (4.0.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
17479
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:18:in `process_action'
17480
+ activesupport (4.0.2) lib/active_support/callbacks.rb:386:in `_run__780407919__process_action__callbacks'
17481
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
17482
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
17483
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
17484
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `process_action'
17485
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
17486
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
17487
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:19:in `instrument'
17488
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
17489
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
17490
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
17491
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
17492
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
17493
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
17494
+ actionpack (4.0.2) lib/action_controller/test_case.rb:569:in `process'
17495
+ actionpack (4.0.2) lib/action_controller/test_case.rb:64:in `process'
17496
+ actionpack (4.0.2) lib/action_controller/test_case.rb:475:in `post'
17497
+ /Users/trentalbrigh/workspaces/rearview-engine/spec/controllers/dashboards_controller_spec.rb:36:in `(root)'
17498
+ rspec-core (2.14.7) lib/rspec/core/example.rb:114:in `instance_eval'
17499
+ rspec-core (2.14.7) lib/rspec/core/example.rb:114:in `run'
17500
+ rspec-core (2.14.7) lib/rspec/core/example.rb:112:in `run'
17501
+ rspec-rails (2.14.0) lib/rspec/rails/example/controller_example_group.rb:158:in `call'
17502
+ rspec-rails (2.14.0) lib/rspec/rails/example/controller_example_group.rb:158:in `ControllerExampleGroup'
17503
+ rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
17504
+ rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
17505
+ rspec-core (2.14.7) lib/rspec/core/example.rb:247:in `instance_eval_with_args'
17506
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:106:in `run'
17507
+ rspec-core (2.14.7) lib/rspec/core/example.rb:179:in `call'
17508
+ rspec-core (2.14.7) lib/rspec/core/example.rb:179:in `extended'
17509
+ rspec-rails (2.14.0) lib/rspec/rails/adapters.rb:51:in `MiniTestLifecycleAdapter'
17510
+ rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
17511
+ rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
17512
+ rspec-core (2.14.7) lib/rspec/core/example.rb:247:in `instance_eval_with_args'
17513
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:106:in `run'
17514
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:104:in `call'
17515
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:104:in `run'
17516
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:446:in `run_hook'
17517
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
17518
+ rspec-core (2.14.7) lib/rspec/core/example.rb:256:in `with_around_each_hooks'
17519
+ rspec-core (2.14.7) lib/rspec/core/example.rb:111:in `run'
17520
+ rspec-core (2.14.7) lib/rspec/core/example.rb:109:in `run'
17521
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:390:in `run_examples'
17522
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:386:in `map'
17523
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:386:in `run_examples'
17524
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:371:in `run'
17525
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:369:in `run'
17526
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:372:in `run'
17527
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:372:in `map'
17528
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:372:in `run'
17529
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:369:in `run'
17530
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:28:in `run'
17531
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:28:in `map'
17532
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:28:in `run'
17533
+ rspec-core (2.14.7) lib/rspec/core/reporter.rb:58:in `report'
17534
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:25:in `run'
17535
+ rspec-core (2.14.7) lib/rspec/core/runner.rb:80:in `run'
17536
+ rspec-core (2.14.7) lib/rspec/core/runner.rb:17:in `autorun'
17537
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17538
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:59', 'application93', '2014-01-02 14:04:59', 189)
17539
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17540
+ Completed 200 OK in 19ms (Views: 3.0ms | ActiveRecord: 1.0ms)
17541
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17542
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user191@hungrymachine.com' LIMIT 1
17543
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user191@hungrymachine.com', 'first_name191', 'last_name191', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17544
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17545
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17546
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user192@hungrymachine.com' LIMIT 1
17547
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user192@hungrymachine.com', 'first_name192', 'last_name192', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17548
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17549
+ Savepoint (0ms) SAVEPOINT active_record_1
17550
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description94', 'application94', '2014-01-02 14:04:40', 192)
17551
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
17552
+ Processing by Rearview::DashboardsController#destroy as JSON
17553
+ Parameters: {"id"=>"92"}
17554
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 92 LIMIT 1
17555
+ Savepoint (0ms) SAVEPOINT active_record_1
17556
+ Rearview::Job Load (1.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`app_id` = 92
17557
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE (applications.ancestry like '92/%' or applications.ancestry = '92')
17558
+ SQL (0ms) DELETE FROM `applications` WHERE `applications`.`id` = 92
17559
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17560
+ Completed 200 OK in 21ms (Views: 3.0ms | ActiveRecord: 3.0ms)
17561
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17562
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user193@hungrymachine.com' LIMIT 1
17563
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user193@hungrymachine.com', 'first_name193', 'last_name193', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17564
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17565
+ Savepoint (0ms) SAVEPOINT active_record_1
17566
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user194@hungrymachine.com' LIMIT 1
17567
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user194@hungrymachine.com', 'first_name194', 'last_name194', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17568
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17569
+ Savepoint (0ms) SAVEPOINT active_record_1
17570
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description95', 'application95', '2014-01-02 14:04:40', 194)
17571
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17572
+ Savepoint (0ms) SAVEPOINT active_record_1
17573
+ 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-02 14:04:40', '0 * * * * ?', 77, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job77', '2014-01-02 14:04:40', 193)
17574
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17575
+ Savepoint (0ms) SAVEPOINT active_record_1
17576
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-02 14:04:40', 77, 'message74', 'failed', '2014-01-02 14:04:59')
17577
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17578
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17579
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user195@hungrymachine.com' LIMIT 1
17580
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user195@hungrymachine.com', 'first_name195', 'last_name195', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17581
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17582
+ Savepoint (0ms) SAVEPOINT active_record_1
17583
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user196@hungrymachine.com' LIMIT 1
17584
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user196@hungrymachine.com', 'first_name196', 'last_name196', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17585
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17586
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17587
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description96', 'application96', '2014-01-02 14:04:40', 196)
17588
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17589
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17590
+ 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\"]', 94, '2014-01-02 14:04:40', '0 * * * * ?', 78, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job78', '2014-01-02 14:04:40', 195)
17591
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17592
+ Savepoint (0ms) SAVEPOINT active_record_1
17593
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-02 14:04:40', 78, 'message75', 'failed', '2014-01-02 14:04:59')
17594
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
17595
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/job_errors/_job_error.json.jbuilder (5.0ms)
17596
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/job_errors/_job_error.json.jbuilder (0ms)
17597
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17598
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user197@hungrymachine.com' LIMIT 1
17599
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user197@hungrymachine.com', 'first_name197', 'last_name197', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17600
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17601
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17602
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user198@hungrymachine.com' LIMIT 1
17603
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user198@hungrymachine.com', 'first_name198', 'last_name198', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17604
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17605
+ Savepoint (0ms) SAVEPOINT active_record_1
17606
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description97', 'application97', '2014-01-02 14:04:40', 198)
17607
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17608
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17609
+ 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-02 14:04:40', '0 * * * * ?', 79, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job79', '2014-01-02 14:04:40', 197)
17610
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17611
+ #<Rearview::ResultsHandler:0xc0d1704> run
17612
+ Rearview::JobData Load (1.0ms) SELECT `job_data`.* FROM `job_data` WHERE `job_data`.`job_id` = 79 LIMIT 1
17613
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17614
+ Savepoint (0ms) ROLLBACK TO SAVEPOINT active_record_1
17615
+ Savepoint (0ms) SAVEPOINT active_record_1
17616
+ SQL (1.0ms) INSERT INTO `job_data` (`created_at`, `data`, `job_id`, `updated_at`) VALUES ('2014-01-02 14:04:59', '{\"status\":\"error\",\"output\":null,\"graph_data\":null}', 79, '2014-01-02 14:04:59')
17617
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17618
+ #<Rearview::ResultsHandler:0xc0d1704> firing event :error for #<Rearview::Job id: 79, created_at: "2014-01-02 14:04:40", updated_at: "2014-01-02 14:04:40", name: "job79", active: true, last_run: "2014-01-02 14:04:59", cron_expr: "0 * * * * ?", status: nil, user_id: 197, alert_keys: ["mailto:foo@hungrymachine.com", "pagerduty:54232f6f4c4447efb6d15e20dbb7349c"], deleted_at: nil, error_timeout: 60, next_run: nil, description: nil, app_id: 95, metrics: ["stats_counts.cupcake.web_traffic.impression"], monitor_expr: "puts 'hello, world!'", minutes: 1, to_date: nil>
17619
+ Savepoint (0ms) SAVEPOINT active_record_1
17620
+ SQL (1.0ms) UPDATE `jobs` SET `last_run` = '2014-01-02 14:04:59', `status` = 'error', `updated_at` = '2014-01-02 14:04:59', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 79
17621
+ #<Rearview::Job:0x2bf75a8f>#create_associated_event for transition #<StateMachine::Transition attribute=:status event=:error from=nil from_name=nil to="error" to_name=:error>
17622
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `updated_at`) VALUES ('2014-01-02 14:04:59', 79, '2014-01-02 14:04:59')
17623
+ SQL (1.0ms) UPDATE `job_errors` SET `status` = 'error', `updated_at` = '2014-01-02 14:04:59' WHERE `job_errors`.`id` = 76
17624
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17625
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17626
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user199@hungrymachine.com' LIMIT 1
17627
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user199@hungrymachine.com', 'first_name199', 'last_name199', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17628
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17629
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17630
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user200@hungrymachine.com' LIMIT 1
17631
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user200@hungrymachine.com', 'first_name200', 'last_name200', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17632
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17633
+ Savepoint (0ms) SAVEPOINT active_record_1
17634
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description98', 'application98', '2014-01-02 14:04:40', 200)
17635
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17636
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17637
+ 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-02 14:04:40', '0 * * * * ?', 80, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job80', '2014-01-02 14:04:40', 199)
17638
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17639
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/jobs/_job.json.jbuilder (2.0ms)
17640
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17641
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user201@hungrymachine.com' LIMIT 1
17642
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user201@hungrymachine.com', 'first_name201', 'last_name201', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17643
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17644
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17645
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user202@hungrymachine.com' LIMIT 1
17646
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user202@hungrymachine.com', 'first_name202', 'last_name202', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17647
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17648
+ Savepoint (0ms) SAVEPOINT active_record_1
17649
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description99', 'application99', '2014-01-02 14:04:40', 202)
17650
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17651
+ Savepoint (0ms) SAVEPOINT active_record_1
17652
+ 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\"]', 97, '2014-01-02 14:04:40', '0 * * * * ?', 81, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job81', '2014-01-02 14:04:40', 201)
17653
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17654
+ Savepoint (0ms) SAVEPOINT active_record_1
17655
+ SQL (0ms) INSERT INTO `job_data` (`created_at`, `data`, `job_id`, `updated_at`) VALUES ('2014-01-02 14:04:40', '{\"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]]}}', 81, '2014-01-02 14:04:40')
17656
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17657
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/job_data/_job_data.json.jbuilder (2.0ms)
17658
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17659
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user203@hungrymachine.com' LIMIT 1
17660
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user203@hungrymachine.com', 'first_name203', 'last_name203', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17661
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
17662
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/user/_user.json.jbuilder (3.0ms)
17663
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17664
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user204@hungrymachine.com' LIMIT 1
17665
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user204@hungrymachine.com', 'first_name204', 'last_name204', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17666
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17667
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17668
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user205@hungrymachine.com' LIMIT 1
17669
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user205@hungrymachine.com', 'first_name205', 'last_name205', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17670
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
17671
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17672
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description100', 'application100', '2014-01-02 14:04:40', 205)
17673
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17674
+ Savepoint (0ms) SAVEPOINT active_record_1
17675
+ 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-02 14:04:40', '0 * * * * ?', 82, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job82', '2014-01-02 14:04:40', 204)
17676
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17677
+ Savepoint (0ms) SAVEPOINT active_record_1
17678
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user206@hungrymachine.com' LIMIT 1
17679
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user206@hungrymachine.com', 'first_name206', 'last_name206', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17680
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17681
+ Savepoint (0ms) SAVEPOINT active_record_1
17682
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user207@hungrymachine.com' LIMIT 1
17683
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user207@hungrymachine.com', 'first_name207', 'last_name207', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17684
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17685
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17686
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description101', 'application101', '2014-01-02 14:04:40', 207)
17687
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17688
+ Savepoint (0ms) SAVEPOINT active_record_1
17689
+ 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-02 14:04:40', '0 * * * * ?', 83, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job83', '2014-01-02 14:04:40', 206)
17690
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17691
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17692
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user208@hungrymachine.com' LIMIT 1
17693
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user208@hungrymachine.com', 'first_name208', 'last_name208', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17694
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17695
+ Savepoint (0ms) SAVEPOINT active_record_1
17696
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user209@hungrymachine.com' LIMIT 1
17697
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user209@hungrymachine.com', 'first_name209', 'last_name209', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17698
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17699
+ Savepoint (0ms) SAVEPOINT active_record_1
17700
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description102', 'application102', '2014-01-02 14:04:40', 209)
17701
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17702
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17703
+ 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\"]', 100, '2014-01-02 14:04:40', '0 * * * * ?', 84, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job84', '2014-01-02 14:04:40', 208)
17704
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17705
+ Savepoint (0ms) SAVEPOINT active_record_1
17706
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user210@hungrymachine.com' LIMIT 1
17707
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user210@hungrymachine.com', 'first_name210', 'last_name210', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17708
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17709
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17710
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user211@hungrymachine.com' LIMIT 1
17711
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user211@hungrymachine.com', 'first_name211', 'last_name211', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17712
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17713
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17714
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description103', 'application103', '2014-01-02 14:04:40', 211)
17715
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17716
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17717
+ 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\"]', 101, '2014-01-02 14:04:40', '0 * * * * ?', 85, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job85', '2014-01-02 14:04:40', 210)
17718
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17719
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17720
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user212@hungrymachine.com' LIMIT 1
17721
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user212@hungrymachine.com', 'first_name212', 'last_name212', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17722
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17723
+ Savepoint (0ms) SAVEPOINT active_record_1
17724
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user213@hungrymachine.com' LIMIT 1
17725
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user213@hungrymachine.com', 'first_name213', 'last_name213', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17726
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17727
+ Savepoint (0ms) SAVEPOINT active_record_1
17728
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description104', 'application104', '2014-01-02 14:04:40', 213)
17729
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17730
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17731
+ 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\"]', 102, '2014-01-02 14:04:40', '0 * * * * ?', 86, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job86', '2014-01-02 14:04:40', 212)
17732
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17733
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17734
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user214@hungrymachine.com' LIMIT 1
17735
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user214@hungrymachine.com', 'first_name214', 'last_name214', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17736
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17737
+ Savepoint (0ms) SAVEPOINT active_record_1
17738
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user215@hungrymachine.com' LIMIT 1
17739
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user215@hungrymachine.com', 'first_name215', 'last_name215', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17740
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17741
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17742
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description105', 'application105', '2014-01-02 14:04:40', 215)
17743
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
17744
+ Savepoint (0ms) SAVEPOINT active_record_1
17745
+ 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\"]', 103, '2014-01-02 14:04:40', '0 * * * * ?', 87, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job87', '2014-01-02 14:04:40', 214)
17746
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17747
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17748
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user216@hungrymachine.com' LIMIT 1
17749
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user216@hungrymachine.com', 'first_name216', 'last_name216', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17750
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17751
+ Savepoint (0ms) SAVEPOINT active_record_1
17752
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user217@hungrymachine.com' LIMIT 1
17753
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user217@hungrymachine.com', 'first_name217', 'last_name217', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17754
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17755
+ Savepoint (0ms) SAVEPOINT active_record_1
17756
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description106', 'application106', '2014-01-02 14:04:40', 217)
17757
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17758
+ Savepoint (0ms) SAVEPOINT active_record_1
17759
+ 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\"]', 104, '2014-01-02 14:04:40', '0 * * * * ?', 88, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job88', '2014-01-02 14:04:40', 216)
17760
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17761
+ Terminating 5 actors...
17762
+ Shutdown completed cleanly
17763
+ Terminating 5 actors...
17764
+ Shutdown completed cleanly
17765
+ Savepoint (0ms) SAVEPOINT active_record_1
17766
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user218@hungrymachine.com' LIMIT 1
17767
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user218@hungrymachine.com', 'first_name218', 'last_name218', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17768
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17769
+ Savepoint (0ms) SAVEPOINT active_record_1
17770
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user219@hungrymachine.com' LIMIT 1
17771
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user219@hungrymachine.com', 'first_name219', 'last_name219', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17772
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17773
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17774
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description107', 'application107', '2014-01-02 14:04:40', 219)
17775
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17776
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17777
+ 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-02 14:04:40', '0 * * * * ?', 89, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job89', '2014-01-02 14:04:40', 218)
17778
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17779
+ #<Rearview::MonitorSupervisor:0x23324825> [threadId:341 threadName:FiberThread#745854] removing job:89
17780
+ Terminating 5 actors...
17781
+ Shutdown completed cleanly
17782
+ Savepoint (0ms) SAVEPOINT active_record_1
17783
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user220@hungrymachine.com' LIMIT 1
17784
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user220@hungrymachine.com', 'first_name220', 'last_name220', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17785
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17786
+ Savepoint (0ms) SAVEPOINT active_record_1
17787
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user221@hungrymachine.com' LIMIT 1
17788
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user221@hungrymachine.com', 'first_name221', 'last_name221', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17789
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17790
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17791
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description108', 'application108', '2014-01-02 14:04:40', 221)
17792
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17793
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17794
+ 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\"]', 106, '2014-01-02 14:04:40', '0 * * * * ?', 90, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job90', '2014-01-02 14:04:40', 220)
17795
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17796
+ job: 00090 cron: 0 * * * * ? meta:{:delay=>60.0, :initial_delay=>0.0}
17797
+ #<Rearview::MonitorTask:0x42d04d6e> [jobId:nil threadId:360 threadName:FiberThread#745954] intialize initial_delay:0.0 start:true
17798
+ #<Rearview::MonitorTask:0x42d04d6e> [jobId:90 threadId:360 threadName:FiberThread#745954] schedule
17799
+ #<Rearview::MonitorTask:0x42d04d6e> [jobId:90 threadId:360 threadName:FiberThread#745954] next run in 60.0s
17800
+ #<Rearview::MonitorSupervisor:0x4ff0324> [threadId:361 threadName:FiberThread#745958] removing job:90
17801
+ Terminating 5 actors...
17802
+ Shutdown completed cleanly
17803
+ Savepoint (0ms) SAVEPOINT active_record_1
17804
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user222@hungrymachine.com' LIMIT 1
17805
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user222@hungrymachine.com', 'first_name222', 'last_name222', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17806
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17807
+ Savepoint (0ms) SAVEPOINT active_record_1
17808
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user223@hungrymachine.com' LIMIT 1
17809
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user223@hungrymachine.com', 'first_name223', 'last_name223', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17810
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17811
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17812
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description109', 'application109', '2014-01-02 14:04:40', 223)
17813
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17814
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17815
+ 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\"]', 107, '2014-01-02 14:04:40', '0 * * * * ?', 91, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job91', '2014-01-02 14:04:40', 222)
17816
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17817
+ Savepoint (0ms) SAVEPOINT active_record_1
17818
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user224@hungrymachine.com' LIMIT 1
17819
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user224@hungrymachine.com', 'first_name224', 'last_name224', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17820
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17821
+ Savepoint (0ms) SAVEPOINT active_record_1
17822
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user225@hungrymachine.com' LIMIT 1
17823
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user225@hungrymachine.com', 'first_name225', 'last_name225', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17824
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17825
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17826
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description110', 'application110', '2014-01-02 14:04:40', 225)
17827
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17828
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17829
+ 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\"]', 108, '2014-01-02 14:04:40', '0 * * * * ?', 92, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job92', '2014-01-02 14:04:40', 224)
17830
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
17831
+ job: 00091 cron: 0 * * * * ? meta:{:delay=>60.0, :initial_delay=>0.0}
17832
+ job: 00092 cron: 0 * * * * ? meta:{:delay=>60.0, :initial_delay=>2.0}
17833
+ #<Rearview::MonitorTask:0x3ef99bfd> [jobId:nil threadId:381 threadName:FiberThread#746134] intialize initial_delay:0.0 start:true
17834
+ #<Rearview::MonitorTask:0x3ef99bfd> [jobId:91 threadId:381 threadName:FiberThread#746134] schedule
17835
+ #<Rearview::MonitorTask:0x3ef99bfd> [jobId:91 threadId:381 threadName:FiberThread#746134] next run in 60.0s
17836
+ #<Rearview::MonitorTask:0x8e5a024> [jobId:nil threadId:383 threadName:FiberThread#746138] intialize initial_delay:2.0 start:true
17837
+ #<Rearview::MonitorTask:0x8e5a024> [jobId:92 threadId:383 threadName:FiberThread#746138] schedule
17838
+ #<Rearview::MonitorTask:0x8e5a024> [jobId:92 threadId:383 threadName:FiberThread#746138] next run in 62.0s
17839
+ Terminating 5 actors...
17840
+ Shutdown completed cleanly
17841
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17842
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user226@hungrymachine.com' LIMIT 1
17843
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user226@hungrymachine.com', 'first_name226', 'last_name226', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17844
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17845
+ Savepoint (0ms) SAVEPOINT active_record_1
17846
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user227@hungrymachine.com' LIMIT 1
17847
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user227@hungrymachine.com', 'first_name227', 'last_name227', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17848
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17849
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17850
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-02 14:04:40', 'description111', 'application111', '2014-01-02 14:04:40', 227)
17851
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17852
+ Savepoint (0ms) SAVEPOINT active_record_1
17853
+ 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-02 14:04:40', '0 * * * * ?', 93, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job93', '2014-01-02 14:04:40', 226)
17854
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17855
+ job: 00093 cron: 0 * * * * ? meta:{:delay=>60.0, :initial_delay=>0.0}
17856
+ #<Rearview::MonitorTask:0x694c3f17> [jobId:nil threadId:403 threadName:FiberThread#746242] intialize initial_delay:0.0 start:true
17857
+ #<Rearview::MonitorTask:0x694c3f17> [jobId:93 threadId:403 threadName:FiberThread#746242] schedule
17858
+ #<Rearview::MonitorTask:0x694c3f17> [jobId:93 threadId:403 threadName:FiberThread#746242] next run in 60.0s
17859
+ Terminating 6 actors...
17860
+ Shutdown completed cleanly
17861
+ #<Rearview::Alerts::CampfireAlert:0x7739df61> send alert for #<Mock:0x16c64c> and key alert_key with params {"room"=>"nyan"}
17862
+ #<Rearview::Alerts::CampfireAlert:0x4f7a2b5c> send alert for #<Mock:0x16c650> and key alert_key with params {"room"=>"nyan"}
17863
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` IS NULL LIMIT 1
17864
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` IS NULL LIMIT 1
17865
+ Rearview::User Load (0ms) SELECT `users`.* FROM `users` ORDER BY `users`.`id` ASC LIMIT 1
17866
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17867
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:05:00', 'arbitrary_string', 'null', '2014-01-02 14:05:00')
17868
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17869
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'arbitrary_string' LIMIT 1
17870
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'arbitrary_string' LIMIT 1
17871
+ Savepoint (0ms) SAVEPOINT active_record_1
17872
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user230@hungrymachine.com' LIMIT 1
17873
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user230@hungrymachine.com', 'first_name230', 'last_name230', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17874
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17875
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17876
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user231@hungrymachine.com' LIMIT 1
17877
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-02 14:04:40', 'user231@hungrymachine.com', 'first_name231', 'last_name231', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-02 14:04:40')
17878
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17879
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE (`users`.`email` = BINARY 'user231@hungrymachine.com' AND `users`.`id` != 230) LIMIT 1
17880
+ Terminating 5 actors...
17881
+ Shutdown completed cleanly
17882
+ [Rearview] booting...
17883
+ [Rearview] using configuration:
17884
+ authentication={:strategy=>:database}
17885
+ default_from=rearview@localhost
17886
+ default_url_options={:host=>"localhost", :port=>"3000"}
17887
+ enable_alerts=true
17888
+ enable_monitor=false
17889
+ graphite_url=nil
17890
+ logger=#<ActiveSupport::Logger:0x39b11b13>
17891
+ pagerduty_url=https://events.pagerduty.com/generic/2010-04-15/create_event.json
17892
+ preload_jobs=false
17893
+ sandbox_dir=/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox
17894
+ sandbox_exec=["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby"]
17895
+ sandbox_timeout=10
17896
+ verify=false
17897
+ [Rearview] starting up monitor service for (0) job(s)
17898
+ [Rearview] monitor disabled
17899
+ Terminating 1 actors...
17900
+ Shutdown completed cleanly