rearview 1.0.3.rc.3-jruby → 1.0.3.rc.4-jruby

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -45364,3 +45364,2758 @@ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates minute
45364
45364
  Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates from:11:00_20131001 to:12:00_20131001
45365
45365
  Terminating 10 actors...
45366
45366
  Shutdown completed cleanly
45367
+ [Rearview] booting...
45368
+ [Rearview] using configuration:
45369
+ authentication={:strategy=>:database}
45370
+ default_from=rearview@localhost
45371
+ default_url_options={:host=>"localhost", :port=>"3000"}
45372
+ enable_alerts=true
45373
+ enable_monitor=false
45374
+ enable_stats=false
45375
+ graphite_url=nil
45376
+ logger=#<ActiveSupport::Logger:0x71223390>
45377
+ pagerduty_url=https://events.pagerduty.com/generic/2010-04-15/create_event.json
45378
+ preload_jobs=false
45379
+ sandbox_dir=/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox
45380
+ sandbox_exec=["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby"]
45381
+ sandbox_timeout=10
45382
+ statsd_connection={:host=>"127.0.0.1", :port=>8125, :namespace=>"rearview"}
45383
+ verify=false
45384
+ [Rearview] starting up monitor service for (0) job(s)
45385
+ [Rearview] monitor disabled
45386
+ Terminating 1 actors...
45387
+ Shutdown completed cleanly
45388
+ Terminating 5 actors...
45389
+ Shutdown completed cleanly
45390
+ Savepoint (4.0ms) SAVEPOINT active_record_1
45391
+ Rearview::User Exists (3.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user1@hungrymachine.com' LIMIT 1
45392
+ SQL (2.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user1@hungrymachine.com', 'first_name1', 'last_name1', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45393
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45394
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45395
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user2@hungrymachine.com' LIMIT 1
45396
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user2@hungrymachine.com', 'first_name2', 'last_name2', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45397
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
45398
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45399
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description1', 'application1', '2014-01-17 17:17:59', 2)
45400
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45401
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45402
+ 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-17 17:17:59', '0 * * * * ?', 1, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job1', '2014-01-17 17:17:59', 1)
45403
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45404
+ job: 00001 cron: 0 * * * * ? meta:{:delay=>60.0, :initial_delay=>0.0}
45405
+ #<Rearview::MonitorTask:0x30cd59ff> [jobId:nil threadId:59 threadName:FiberThread#7518] intialize initial_delay:0.0 start:true
45406
+ #<Rearview::MonitorTask:0x30cd59ff> [jobId:1 threadId:59 threadName:FiberThread#7518] schedule
45407
+ #<Rearview::MonitorTask:0x30cd59ff> [jobId:1 threadId:59 threadName:FiberThread#7518] next run in 60.0s
45408
+ #<Rearview::MonitorSupervisor:0x317b8b84> [threadId:60 threadName:FiberThread#7522] removing job:1
45409
+ Terminating 5 actors...
45410
+ Shutdown completed cleanly
45411
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45412
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user3@hungrymachine.com' LIMIT 1
45413
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user3@hungrymachine.com', 'first_name3', 'last_name3', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45414
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45415
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45416
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user4@hungrymachine.com' LIMIT 1
45417
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user4@hungrymachine.com', 'first_name4', 'last_name4', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45418
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
45419
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45420
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description2', 'application2', '2014-01-17 17:17:59', 4)
45421
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45422
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45423
+ 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-17 17:17:59', '0 * * * * ?', 2, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job2', '2014-01-17 17:17:59', 3)
45424
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45425
+ #<Rearview::MonitorSupervisor:0x616702aa> [threadId:79 threadName:FiberThread#7622] removing job:2
45426
+ Terminating 5 actors...
45427
+ Shutdown completed cleanly
45428
+ Terminating 5 actors...
45429
+ Shutdown completed cleanly
45430
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45431
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user5@hungrymachine.com' LIMIT 1
45432
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user5@hungrymachine.com', 'first_name5', 'last_name5', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45433
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45434
+ Savepoint (0ms) SAVEPOINT active_record_1
45435
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user6@hungrymachine.com' LIMIT 1
45436
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user6@hungrymachine.com', 'first_name6', 'last_name6', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45437
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45438
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45439
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description3', 'application3', '2014-01-17 17:17:59', 6)
45440
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45441
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45442
+ 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-17 17:17:59', '0 * * * * ?', 3, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job3', '2014-01-17 17:17:59', 5)
45443
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45444
+ job: 00003 cron: 0 * * * * ? meta:{:delay=>60.0, :initial_delay=>0.0}
45445
+ #<Rearview::MonitorTask:0x2c09f7be> [jobId:nil threadId:118 threadName:FiberThread#7748] intialize initial_delay:0.0 start:true
45446
+ #<Rearview::MonitorTask:0x2c09f7be> [jobId:3 threadId:118 threadName:FiberThread#7748] schedule
45447
+ #<Rearview::MonitorTask:0x2c09f7be> [jobId:3 threadId:118 threadName:FiberThread#7748] next run in 60.0s
45448
+ Terminating 6 actors...
45449
+ Shutdown completed cleanly
45450
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45451
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user7@hungrymachine.com' LIMIT 1
45452
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user7@hungrymachine.com', 'first_name7', 'last_name7', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45453
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
45454
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45455
+ Rearview::User Exists (4.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user8@hungrymachine.com' LIMIT 1
45456
+ SQL (2.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user8@hungrymachine.com', 'first_name8', 'last_name8', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45457
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45458
+ Savepoint (0ms) SAVEPOINT active_record_1
45459
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description4', 'application4', '2014-01-17 17:17:59', 8)
45460
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45461
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45462
+ 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-17 17:17:59', '0 * * * * ?', 4, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job4', '2014-01-17 17:17:59', 7)
45463
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
45464
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45465
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user9@hungrymachine.com' LIMIT 1
45466
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user9@hungrymachine.com', 'first_name9', 'last_name9', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45467
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
45468
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45469
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user10@hungrymachine.com' LIMIT 1
45470
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user10@hungrymachine.com', 'first_name10', 'last_name10', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45471
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45472
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45473
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description5', 'application5', '2014-01-17 17:17:59', 10)
45474
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45475
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45476
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 5, '2014-01-17 17:17:59', '0 * * * * ?', 5, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job5', '2014-01-17 17:17:59', 9)
45477
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45478
+ job: 00004 cron: 0 * * * * ? meta:{:delay=>60.0, :initial_delay=>0.0}
45479
+ job: 00005 cron: 0 * * * * ? meta:{:delay=>60.0, :initial_delay=>2.0}
45480
+ #<Rearview::MonitorTask:0x36ff0b1e> [jobId:nil threadId:139 threadName:FiberThread#7926] intialize initial_delay:0.0 start:true
45481
+ #<Rearview::MonitorTask:0x36ff0b1e> [jobId:4 threadId:139 threadName:FiberThread#7926] schedule
45482
+ #<Rearview::MonitorTask:0x36ff0b1e> [jobId:4 threadId:139 threadName:FiberThread#7926] next run in 60.0s
45483
+ #<Rearview::MonitorTask:0x7ea042cf> [jobId:nil threadId:141 threadName:FiberThread#7930] intialize initial_delay:2.0 start:true
45484
+ #<Rearview::MonitorTask:0x7ea042cf> [jobId:5 threadId:141 threadName:FiberThread#7930] schedule
45485
+ #<Rearview::MonitorTask:0x7ea042cf> [jobId:5 threadId:141 threadName:FiberThread#7930] next run in 62.0s
45486
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45487
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user11@hungrymachine.com' LIMIT 1
45488
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user11@hungrymachine.com', 'first_name11', 'last_name11', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45489
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45490
+ Processing by Rearview::JobsController#index as JSON
45491
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/jobs/index.json.jbuilder (2.0ms)
45492
+ Completed 200 OK in 26ms (Views: 24.0ms | ActiveRecord: 0.0ms)
45493
+ Savepoint (0ms) SAVEPOINT active_record_1
45494
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user12@hungrymachine.com' LIMIT 1
45495
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user12@hungrymachine.com', 'first_name12', 'last_name12', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45496
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
45497
+ Savepoint (0ms) SAVEPOINT active_record_1
45498
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user13@hungrymachine.com' LIMIT 1
45499
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user13@hungrymachine.com', 'first_name13', 'last_name13', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45500
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45501
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45502
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user14@hungrymachine.com' LIMIT 1
45503
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user14@hungrymachine.com', 'first_name14', 'last_name14', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45504
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45505
+ Savepoint (0ms) SAVEPOINT active_record_1
45506
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description6', 'application6', '2014-01-17 17:17:59', 14)
45507
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45508
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45509
+ 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\"]', 6, '2014-01-17 17:17:59', '0 * * * * ?', 6, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job6', '2014-01-17 17:17:59', 13)
45510
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45511
+ Processing by Rearview::JobsController#errors as JSON
45512
+ Parameters: {"id"=>"6"}
45513
+ Rearview::JobError Load (1.0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 6 ORDER BY created_at DESC
45514
+ Completed 200 OK in 36ms (Views: 7.0ms | ActiveRecord: 20.0ms)
45515
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45516
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user15@hungrymachine.com' LIMIT 1
45517
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user15@hungrymachine.com', 'first_name15', 'last_name15', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45518
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45519
+ Savepoint (0ms) SAVEPOINT active_record_1
45520
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user16@hungrymachine.com' LIMIT 1
45521
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user16@hungrymachine.com', 'first_name16', 'last_name16', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45522
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45523
+ Savepoint (0ms) SAVEPOINT active_record_1
45524
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user17@hungrymachine.com' LIMIT 1
45525
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user17@hungrymachine.com', 'first_name17', 'last_name17', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45526
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45527
+ Savepoint (0ms) SAVEPOINT active_record_1
45528
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description7', 'application7', '2014-01-17 17:17:59', 17)
45529
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45530
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45531
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 7, '2014-01-17 17:17:59', '0 * * * * ?', 7, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job7', '2014-01-17 17:17:59', 16)
45532
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
45533
+ Processing by Rearview::JobsController#data as JSON
45534
+ Parameters: {"id"=>"7"}
45535
+ Rearview::JobData Load (1.0ms) SELECT `job_data`.* FROM `job_data` WHERE `job_data`.`job_id` = 7 LIMIT 1
45536
+ Completed 404 Not Found in 12ms (ActiveRecord: 3.0ms)
45537
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45538
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user18@hungrymachine.com' LIMIT 1
45539
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user18@hungrymachine.com', 'first_name18', 'last_name18', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45540
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45541
+ Savepoint (0ms) SAVEPOINT active_record_1
45542
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user19@hungrymachine.com' LIMIT 1
45543
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user19@hungrymachine.com', 'first_name19', 'last_name19', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45544
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45545
+ Savepoint (0ms) SAVEPOINT active_record_1
45546
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user20@hungrymachine.com' LIMIT 1
45547
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user20@hungrymachine.com', 'first_name20', 'last_name20', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45548
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45549
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45550
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description8', 'application8', '2014-01-17 17:17:59', 20)
45551
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45552
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45553
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 8, '2014-01-17 17:17:59', '0 * * * * ?', 8, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job8', '2014-01-17 17:17:59', 19)
45554
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45555
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45556
+ SQL (0ms) INSERT INTO `job_data` (`created_at`, `data`, `job_id`, `updated_at`) VALUES ('2014-01-17 17:17:59', '{\"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]]}}', 8, '2014-01-17 17:17:59')
45557
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45558
+ Processing by Rearview::JobsController#data as JSON
45559
+ Parameters: {"id"=>"8"}
45560
+ Rearview::JobData Load (8.0ms) SELECT `job_data`.* FROM `job_data` WHERE `job_data`.`job_id` = 8 LIMIT 1
45561
+ Completed 200 OK in 53ms (Views: 41.0ms | ActiveRecord: 8.0ms)
45562
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45563
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user21@hungrymachine.com' LIMIT 1
45564
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user21@hungrymachine.com', 'first_name21', 'last_name21', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45565
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45566
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45567
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user22@hungrymachine.com' LIMIT 1
45568
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user22@hungrymachine.com', 'first_name22', 'last_name22', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45569
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45570
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45571
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user23@hungrymachine.com' LIMIT 1
45572
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user23@hungrymachine.com', 'first_name23', 'last_name23', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45573
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45574
+ Savepoint (0ms) SAVEPOINT active_record_1
45575
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description9', 'application9', '2014-01-17 17:17:59', 23)
45576
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45577
+ Processing by Rearview::JobsController#create as JSON
45578
+ Parameters: {"userId"=>"22", "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"=>"9"}
45579
+ Rearview::Job Load (1.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`id` IS NULL LIMIT 1
45580
+ WARNING: Can't mass-assign protected attributes for Rearview::Job: id
45581
+ protected_attributes (1.0.5) lib/active_model/mass_assignment_security/sanitizer.rb:46:in `process_removed_attributes'
45582
+ /Users/trentalbrigh/.rvm/rubies/jruby-1.7.5/lib/ruby/1.9/logger.rb:371:in `add'
45583
+ /Users/trentalbrigh/.rvm/rubies/jruby-1.7.5/lib/ruby/1.9/logger.rb:443:in `warn'
45584
+ protected_attributes (1.0.5) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes'
45585
+ protected_attributes (1.0.5) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize'
45586
+ protected_attributes (1.0.5) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment'
45587
+ protected_attributes (1.0.5) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes'
45588
+ protected_attributes (1.0.5) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes'
45589
+ activerecord (4.0.2) lib/active_record/core.rb:185:in `initialize'
45590
+ state_machine (1.2.0) lib/state_machine/integrations/active_record.rb:477:in `initialize'
45591
+ activerecord (4.0.2) lib/active_record/inheritance.rb:27:in `new'
45592
+ activerecord (4.0.2) lib/active_record/relation.rb:98:in `new'
45593
+ activerecord (4.0.2) lib/active_record/relation.rb:270:in `scoping'
45594
+ activerecord (4.0.2) lib/active_record/relation.rb:98:in `new'
45595
+ activerecord (4.0.2) lib/active_record/relation.rb:202:in `find_or_initialize_by'
45596
+ activerecord (4.0.2) lib/active_record/querying.rb:5:in `find_or_initialize_by'
45597
+ /Users/trentalbrigh/workspaces/rearview-engine/app/controllers/rearview/jobs_controller.rb:53:in `upsert'
45598
+ /Users/trentalbrigh/workspaces/rearview-engine/app/controllers/rearview/jobs_controller.rb:14:in `create'
45599
+ actionpack (4.0.2) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
45600
+ actionpack (4.0.2) lib/abstract_controller/base.rb:189:in `process_action'
45601
+ actionpack (4.0.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
45602
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:18:in `process_action'
45603
+ activesupport (4.0.2) lib/active_support/callbacks.rb:386:in `_run__689652742__process_action__callbacks'
45604
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
45605
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
45606
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
45607
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `process_action'
45608
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
45609
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
45610
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:19:in `instrument'
45611
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
45612
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
45613
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
45614
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
45615
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
45616
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
45617
+ actionpack (4.0.2) lib/action_controller/test_case.rb:569:in `process'
45618
+ actionpack (4.0.2) lib/action_controller/test_case.rb:64:in `process'
45619
+ actionpack (4.0.2) lib/action_controller/test_case.rb:475:in `post'
45620
+ /Users/trentalbrigh/workspaces/rearview-engine/spec/controllers/jobs_controller_spec.rb:51:in `(root)'
45621
+ rspec-core (2.14.7) lib/rspec/core/example.rb:114:in `instance_eval'
45622
+ rspec-core (2.14.7) lib/rspec/core/example.rb:114:in `run'
45623
+ rspec-rails (2.14.0) lib/rspec/rails/example/controller_example_group.rb:158:in `call'
45624
+ rspec-rails (2.14.0) lib/rspec/rails/example/controller_example_group.rb:158:in `ControllerExampleGroup'
45625
+ rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
45626
+ rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
45627
+ rspec-core (2.14.7) lib/rspec/core/example.rb:247:in `instance_eval_with_args'
45628
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:106:in `run'
45629
+ rspec-core (2.14.7) lib/rspec/core/example.rb:179:in `call'
45630
+ rspec-core (2.14.7) lib/rspec/core/example.rb:179:in `run'
45631
+ rspec-rails (2.14.0) lib/rspec/rails/adapters.rb:51:in `MiniTestLifecycleAdapter'
45632
+ rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
45633
+ rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
45634
+ rspec-core (2.14.7) lib/rspec/core/example.rb:247:in `instance_eval_with_args'
45635
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:106:in `run'
45636
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:104:in `call'
45637
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:104:in `run'
45638
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:446:in `run_hook'
45639
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
45640
+ rspec-core (2.14.7) lib/rspec/core/example.rb:256:in `with_around_each_hooks'
45641
+ rspec-core (2.14.7) lib/rspec/core/example.rb:111:in `run'
45642
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:390:in `run_examples'
45643
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:386:in `map'
45644
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:386:in `run_examples'
45645
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:371:in `run'
45646
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:372:in `run'
45647
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:372:in `map'
45648
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:372:in `run'
45649
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:28:in `run'
45650
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:28:in `map'
45651
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:28:in `run'
45652
+ rspec-core (2.14.7) lib/rspec/core/reporter.rb:58:in `report'
45653
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:25:in `run'
45654
+ rspec-core (2.14.7) lib/rspec/core/runner.rb:80:in `run'
45655
+ rspec-core (2.14.7) lib/rspec/core/runner.rb:17:in `autorun'
45656
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 9 LIMIT 1
45657
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45658
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 9, '2014-01-17 17:18:04', '0 * * * * ?', '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job9', '2014-01-17 17:18:04', 22)
45659
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45660
+ Completed 200 OK in 40ms (Views: 5.0ms | ActiveRecord: 4.0ms)
45661
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45662
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user24@hungrymachine.com' LIMIT 1
45663
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user24@hungrymachine.com', 'first_name24', 'last_name24', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45664
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45665
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45666
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user25@hungrymachine.com' LIMIT 1
45667
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user25@hungrymachine.com', 'first_name25', 'last_name25', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45668
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45669
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45670
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description10', 'application10', '2014-01-17 17:17:59', 25)
45671
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
45672
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45673
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user26@hungrymachine.com' LIMIT 1
45674
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user26@hungrymachine.com', 'first_name26', 'last_name26', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45675
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45676
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45677
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user27@hungrymachine.com' LIMIT 1
45678
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user27@hungrymachine.com', 'first_name27', 'last_name27', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45679
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45680
+ Savepoint (0ms) SAVEPOINT active_record_1
45681
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description11', 'application11', '2014-01-17 17:17:59', 27)
45682
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45683
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45684
+ 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\"]', 11, '2014-01-17 17:17:59', '0 * * * * ?', 10, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job10', '2014-01-17 17:17:59', 26)
45685
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
45686
+ Processing by Rearview::JobsController#update as JSON
45687
+ Parameters: {"userId"=>"26", "name"=>"job10", "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"=>"10", "id"=>"10"}
45688
+ Rearview::Job Load (1.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`id` = 10 LIMIT 1
45689
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45690
+ SQL (1.0ms) UPDATE `jobs` SET `app_id` = 10, `updated_at` = '2014-01-17 17:18:04', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 10
45691
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45692
+ Completed 200 OK in 31ms (Views: 4.0ms | ActiveRecord: 3.0ms)
45693
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45694
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user28@hungrymachine.com' LIMIT 1
45695
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user28@hungrymachine.com', 'first_name28', 'last_name28', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45696
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45697
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45698
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user29@hungrymachine.com' LIMIT 1
45699
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user29@hungrymachine.com', 'first_name29', 'last_name29', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45700
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45701
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45702
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user30@hungrymachine.com' LIMIT 1
45703
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user30@hungrymachine.com', 'first_name30', 'last_name30', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45704
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45705
+ Savepoint (0ms) SAVEPOINT active_record_1
45706
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description12', 'application12', '2014-01-17 17:17:59', 30)
45707
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45708
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45709
+ 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-17 17:17:59', '0 * * * * ?', 11, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job11', '2014-01-17 17:17:59', 29)
45710
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45711
+ Processing by Rearview::JobsController#update as JSON
45712
+ Parameters: {"userId"=>"29", "name"=>"job11", "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"=>"12", "id"=>"11"}
45713
+ Rearview::Job Load (2.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`id` = 11 LIMIT 1
45714
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45715
+ SQL (1.0ms) UPDATE `jobs` SET `updated_at` = '2014-01-17 17:18:04', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 11
45716
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45717
+ Completed 200 OK in 36ms (Views: 9.0ms | ActiveRecord: 4.0ms)
45718
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45719
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user31@hungrymachine.com' LIMIT 1
45720
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user31@hungrymachine.com', 'first_name31', 'last_name31', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45721
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45722
+ Savepoint (0ms) SAVEPOINT active_record_1
45723
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user32@hungrymachine.com' LIMIT 1
45724
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user32@hungrymachine.com', 'first_name32', 'last_name32', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45725
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45726
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45727
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user33@hungrymachine.com' LIMIT 1
45728
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user33@hungrymachine.com', 'first_name33', 'last_name33', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45729
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45730
+ Savepoint (0ms) SAVEPOINT active_record_1
45731
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description13', 'application13', '2014-01-17 17:17:59', 33)
45732
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45733
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45734
+ 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-17 17:17:59', '0 * * * * ?', 12, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job12', '2014-01-17 17:17:59', 32)
45735
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45736
+ Processing by Rearview::JobsController#destroy as JSON
45737
+ Parameters: {"id"=>"12"}
45738
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45739
+ 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
45740
+ Rearview::JobError Load (1.0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 12
45741
+ SQL (0ms) DELETE FROM `jobs` WHERE `jobs`.`id` = 12
45742
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45743
+ Completed 200 OK in 40ms (Views: 4.0ms | ActiveRecord: 3.0ms)
45744
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45745
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user34@hungrymachine.com' LIMIT 1
45746
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user34@hungrymachine.com', 'first_name34', 'last_name34', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45747
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45748
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45749
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user35@hungrymachine.com' LIMIT 1
45750
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user35@hungrymachine.com', 'first_name35', 'last_name35', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45751
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45752
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45753
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user36@hungrymachine.com' LIMIT 1
45754
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user36@hungrymachine.com', 'first_name36', 'last_name36', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45755
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45756
+ Savepoint (0ms) SAVEPOINT active_record_1
45757
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description14', 'application14', '2014-01-17 17:17:59', 36)
45758
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45759
+ Savepoint (0ms) SAVEPOINT active_record_1
45760
+ 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\"]', 14, '2014-01-17 17:17:59', '0 * * * * ?', 13, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job13', '2014-01-17 17:17:59', 35)
45761
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45762
+ Processing by Rearview::JobsController#reset as JSON
45763
+ Parameters: {"userId"=>"35", "name"=>"job13", "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"=>"13"}
45764
+ Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms)
45765
+ Savepoint (0ms) SAVEPOINT active_record_1
45766
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user37@hungrymachine.com' LIMIT 1
45767
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user37@hungrymachine.com', 'first_name37', 'last_name37', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45768
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45769
+ Savepoint (0ms) SAVEPOINT active_record_1
45770
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user38@hungrymachine.com' LIMIT 1
45771
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user38@hungrymachine.com', 'first_name38', 'last_name38', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45772
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45773
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45774
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user39@hungrymachine.com' LIMIT 1
45775
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user39@hungrymachine.com', 'first_name39', 'last_name39', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45776
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45777
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45778
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description15', 'application15', '2014-01-17 17:17:59', 39)
45779
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45780
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45781
+ 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-17 17:17:59', '0 * * * * ?', 14, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job14', '2014-01-17 17:17:59', 38)
45782
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45783
+ Processing by Rearview::JobsController#show as JSON
45784
+ Parameters: {"id"=>"14"}
45785
+ Rearview::Job Load (2.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`id` = 14 LIMIT 1
45786
+ Completed 200 OK in 9ms (Views: 4.0ms | ActiveRecord: 2.0ms)
45787
+ Rearview::CronHelper expr:"0 30 * * * ?" now:"2014-01-17 00:00:00 -0500" java_now:"Fri Jan 17 00:00:00 EST 2014" next_valid_time:"Fri Jan 17 00:30:00 EST 2014" get_time:"1389936600" next_time:"2014-01-17 00:30:00 -0500" delay:1800.0
45788
+ Rearview::CronHelper expr:"0 * * * * ?" now:"2014-01-17 00:00:00 -0500" java_now:"Fri Jan 17 00:00:00 EST 2014" next_valid_time:"Fri Jan 17 00:01:00 EST 2014" get_time:"1389934860" next_time:"2014-01-17 00:01:00 -0500" delay:60.0
45789
+ Rearview::CronHelper expr:"0 0 13 * * ?" now:"2014-01-17 00:00:00 -0500" java_now:"Fri Jan 17 00:00:00 EST 2014" next_valid_time:"Fri Jan 17 13:00:00 EST 2014" get_time:"1389981600" next_time:"2014-01-17 13:00:00 -0500" delay:46800.0
45790
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45791
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user40@hungrymachine.com' LIMIT 1
45792
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user40@hungrymachine.com', 'first_name40', 'last_name40', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45793
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45794
+ Savepoint (0ms) SAVEPOINT active_record_1
45795
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description16', 'application16', '2014-01-17 17:17:59', 40)
45796
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45797
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45798
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user41@hungrymachine.com' LIMIT 1
45799
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user41@hungrymachine.com', 'first_name41', 'last_name41', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45800
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45801
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45802
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description17', 'application17', '2014-01-17 17:17:59', 41)
45803
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
45804
+ Rearview::User Load (0ms) SELECT `users`.* FROM `users` ORDER BY `users`.`id` ASC LIMIT 1
45805
+ Savepoint (0ms) SAVEPOINT active_record_1
45806
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:18:05', 'arbitrary_string', 'null', '2014-01-17 17:18:05')
45807
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45808
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'arbitrary_string' LIMIT 1
45809
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'arbitrary_string' LIMIT 1
45810
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` IS NULL LIMIT 1
45811
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` IS NULL LIMIT 1
45812
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45813
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user44@hungrymachine.com' LIMIT 1
45814
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user44@hungrymachine.com', 'first_name44', 'last_name44', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45815
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45816
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45817
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user45@hungrymachine.com' LIMIT 1
45818
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user45@hungrymachine.com', 'first_name45', 'last_name45', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45819
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45820
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE (`users`.`email` = BINARY 'user45@hungrymachine.com' AND `users`.`id` != 44) LIMIT 1
45821
+ #<Rearview::StatsTask:0x4c97d6e3> schedule
45822
+ #<Rearview::StatsTask:0x3df51218> run
45823
+ #<Rearview::StatsTask:0x3df51218> schedule
45824
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45825
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user46@hungrymachine.com' LIMIT 1
45826
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user46@hungrymachine.com', 'first_name46', 'last_name46', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45827
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
45828
+ Savepoint (0ms) SAVEPOINT active_record_1
45829
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user47@hungrymachine.com' LIMIT 1
45830
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user47@hungrymachine.com', 'first_name47', 'last_name47', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45831
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45832
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45833
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description18', 'application18', '2014-01-17 17:17:59', 46)
45834
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
45835
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45836
+ 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-17 17:17:59', '0 * * * * ?', 15, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job15', '2014-01-17 17:17:59', 45)
45837
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
45838
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45839
+ SQL (1.0ms) INSERT INTO `job_data` (`created_at`, `data`, `job_id`, `updated_at`) VALUES ('2014-01-17 17:17:59', '{\"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]]}}', 15, '2014-01-17 17:17:59')
45840
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45841
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/job_data/_job_data.json.jbuilder (1.0ms)
45842
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45843
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user48@hungrymachine.com' LIMIT 1
45844
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user48@hungrymachine.com', 'first_name48', 'last_name48', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45845
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
45846
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45847
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user49@hungrymachine.com' LIMIT 1
45848
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user49@hungrymachine.com', 'first_name49', 'last_name49', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45849
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45850
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45851
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description19', 'application19', '2014-01-17 17:17:59', 48)
45852
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45853
+ Savepoint (0ms) SAVEPOINT active_record_1
45854
+ 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-17 17:17:59', '0 * * * * ?', 16, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job16', '2014-01-17 17:17:59', 47)
45855
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45856
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45857
+ SQL (0ms) INSERT INTO `job_data` (`created_at`, `data`, `job_id`, `updated_at`) VALUES ('2014-01-17 17:17:59', '{\"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]]}}', 16, '2014-01-17 17:17:59')
45858
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45859
+ Savepoint (0ms) SAVEPOINT active_record_1
45860
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user50@hungrymachine.com' LIMIT 1
45861
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user50@hungrymachine.com', 'first_name50', 'last_name50', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45862
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45863
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45864
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user51@hungrymachine.com' LIMIT 1
45865
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user51@hungrymachine.com', 'first_name51', 'last_name51', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45866
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45867
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45868
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description20', 'application20', '2014-01-17 17:17:59', 50)
45869
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45870
+ Savepoint (0ms) SAVEPOINT active_record_1
45871
+ 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-17 17:17:59', '0 * * * * ?', 17, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job17', '2014-01-17 17:17:59', 49)
45872
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45873
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45874
+ SQL (0ms) INSERT INTO `job_data` (`created_at`, `data`, `job_id`, `updated_at`) VALUES ('2014-01-17 17:17:59', '{\"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]]}}', 17, '2014-01-17 17:17:59')
45875
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45876
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45877
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user52@hungrymachine.com' LIMIT 1
45878
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user52@hungrymachine.com', 'first_name52', 'last_name52', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45879
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45880
+ Savepoint (0ms) SAVEPOINT active_record_1
45881
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user53@hungrymachine.com' LIMIT 1
45882
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user53@hungrymachine.com', 'first_name53', 'last_name53', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45883
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45884
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45885
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description21', 'application21', '2014-01-17 17:17:59', 52)
45886
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45887
+ Savepoint (0ms) SAVEPOINT active_record_1
45888
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@foo.com\",\"pagerduty:387214d0a12c012fbf5a22000afc49b8\"]', 21, '2014-01-17 17:17:59', '0 * * * * ?', 18, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job18', '2014-01-17 17:17:59', 51)
45889
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45890
+ #<Rearview::AlertsHandler:0x1d83fd71> [jobId:18 threadId:1 threadName:main] run
45891
+ #<Rearview::AlertsHandler:0x1d83fd71> [jobId:18 threadId:1 threadName:main] #<Mocha::Mock:0x6d8d0fdd> failed: oops
45892
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/exception_raiser.rb:11:in `evaluate'
45893
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/return_values.rb:20:in `next'
45894
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/expectation.rb:569:in `invoke'
45895
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/mock.rb:232:in `method_missing'
45896
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/alerts_handler.rb:16:in `run'
45897
+ org/jruby/RubyArray.java:1613:in `each'
45898
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/alerts_handler.rb:13:in `run'
45899
+ /Users/trentalbrigh/workspaces/rearview-engine/spec/lib/rearview/alerts_handler_spec.rb:31:in `(root)'
45900
+ org/jruby/RubyProc.java:271:in `call'
45901
+ /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?'
45902
+ /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?'
45903
+ /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'
45904
+ /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'
45905
+ /Users/trentalbrigh/workspaces/rearview-engine/spec/lib/rearview/alerts_handler_spec.rb:31:in `(root)'
45906
+ org/jruby/RubyBasicObject.java:1536:in `instance_eval'
45907
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `run'
45908
+ org/jruby/RubyProc.java:271:in `call'
45909
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `extended'
45910
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-rails-2.14.0/lib/rspec/rails/adapters.rb:51:in `MiniTestLifecycleAdapter'
45911
+ org/jruby/RubyBasicObject.java:1565:in `instance_exec'
45912
+ /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'
45913
+ /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'
45914
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `run'
45915
+ org/jruby/RubyProc.java:271:in `call'
45916
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
45917
+ /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'
45918
+ /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'
45919
+ /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'
45920
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
45921
+ /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'
45922
+ org/jruby/RubyArray.java:2413:in `map'
45923
+ /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'
45924
+ /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'
45925
+ /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'
45926
+ org/jruby/RubyArray.java:2413:in `map'
45927
+ /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'
45928
+ /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'
45929
+ org/jruby/RubyArray.java:2413:in `map'
45930
+ /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'
45931
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
45932
+ /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'
45933
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
45934
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `autorun'
45935
+ #<Rearview::AlertsHandler:0x1d83fd71> [jobId:18 threadId:1 threadName:main] #<Mocha::Mock:0x58e14ffc> failed: oops
45936
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/exception_raiser.rb:11:in `evaluate'
45937
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/return_values.rb:20:in `next'
45938
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/expectation.rb:569:in `invoke'
45939
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/mock.rb:232:in `method_missing'
45940
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/alerts_handler.rb:16:in `run'
45941
+ org/jruby/RubyArray.java:1613:in `each'
45942
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/alerts_handler.rb:13:in `run'
45943
+ /Users/trentalbrigh/workspaces/rearview-engine/spec/lib/rearview/alerts_handler_spec.rb:31:in `(root)'
45944
+ org/jruby/RubyProc.java:271:in `call'
45945
+ /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?'
45946
+ /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?'
45947
+ /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'
45948
+ /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'
45949
+ /Users/trentalbrigh/workspaces/rearview-engine/spec/lib/rearview/alerts_handler_spec.rb:31:in `(root)'
45950
+ org/jruby/RubyBasicObject.java:1536:in `instance_eval'
45951
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `run'
45952
+ org/jruby/RubyProc.java:271:in `call'
45953
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `extended'
45954
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-rails-2.14.0/lib/rspec/rails/adapters.rb:51:in `MiniTestLifecycleAdapter'
45955
+ org/jruby/RubyBasicObject.java:1565:in `instance_exec'
45956
+ /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'
45957
+ /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'
45958
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `run'
45959
+ org/jruby/RubyProc.java:271:in `call'
45960
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
45961
+ /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'
45962
+ /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'
45963
+ /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'
45964
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
45965
+ /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'
45966
+ org/jruby/RubyArray.java:2413:in `map'
45967
+ /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'
45968
+ /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'
45969
+ /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'
45970
+ org/jruby/RubyArray.java:2413:in `map'
45971
+ /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'
45972
+ /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'
45973
+ org/jruby/RubyArray.java:2413:in `map'
45974
+ /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'
45975
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
45976
+ /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'
45977
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
45978
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `autorun'
45979
+ Savepoint (0ms) SAVEPOINT active_record_1
45980
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user54@hungrymachine.com' LIMIT 1
45981
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user54@hungrymachine.com', 'first_name54', 'last_name54', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45982
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45983
+ Savepoint (0ms) SAVEPOINT active_record_1
45984
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user55@hungrymachine.com' LIMIT 1
45985
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user55@hungrymachine.com', 'first_name55', 'last_name55', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45986
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45987
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45988
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description22', 'application22', '2014-01-17 17:17:59', 54)
45989
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45990
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45991
+ 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\"]', 22, '2014-01-17 17:17:59', '0 * * * * ?', 19, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job19', '2014-01-17 17:17:59', 53)
45992
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45993
+ #<Rearview::AlertsHandler:0x6fdd60b> [jobId:19 threadId:1 threadName:main] run
45994
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45995
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user56@hungrymachine.com' LIMIT 1
45996
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user56@hungrymachine.com', 'first_name56', 'last_name56', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
45997
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
45998
+ Savepoint (1.0ms) SAVEPOINT active_record_1
45999
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user57@hungrymachine.com' LIMIT 1
46000
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user57@hungrymachine.com', 'first_name57', 'last_name57', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46001
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46002
+ Savepoint (0ms) SAVEPOINT active_record_1
46003
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description23', 'application23', '2014-01-17 17:17:59', 56)
46004
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46005
+ Savepoint (0ms) SAVEPOINT active_record_1
46006
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@foo.com\",\"pagerduty:387214d0a12c012fbf5a22000afc49b8\"]', 23, '2014-01-17 17:17:59', '0 * * * * ?', 20, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job20', '2014-01-17 17:17:59', 55)
46007
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46008
+ #<Rearview::AlertsHandler:0x265c65cb> [jobId:20 threadId:1 threadName:main] run
46009
+ #<Rearview::AlertsHandler:0x265c65cb> [jobId:20 threadId:1 threadName:main] #<Mocha::Mock:0x7c1f0619> failed: unexpected
46010
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/exception_raiser.rb:11:in `evaluate'
46011
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/return_values.rb:20:in `next'
46012
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/expectation.rb:569:in `invoke'
46013
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/mock.rb:232:in `method_missing'
46014
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/alerts_handler.rb:16:in `run'
46015
+ org/jruby/RubyArray.java:1613:in `each'
46016
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/alerts_handler.rb:13:in `run'
46017
+ /Users/trentalbrigh/workspaces/rearview-engine/spec/lib/rearview/alerts_handler_spec.rb:37:in `(root)'
46018
+ org/jruby/RubyBasicObject.java:1536:in `instance_eval'
46019
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `run'
46020
+ org/jruby/RubyProc.java:271:in `call'
46021
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `extended'
46022
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-rails-2.14.0/lib/rspec/rails/adapters.rb:51:in `MiniTestLifecycleAdapter'
46023
+ org/jruby/RubyBasicObject.java:1565:in `instance_exec'
46024
+ /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'
46025
+ /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'
46026
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `run'
46027
+ org/jruby/RubyProc.java:271:in `call'
46028
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
46029
+ /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'
46030
+ /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'
46031
+ /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'
46032
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
46033
+ /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'
46034
+ org/jruby/RubyArray.java:2413:in `map'
46035
+ /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'
46036
+ /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'
46037
+ /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'
46038
+ org/jruby/RubyArray.java:2413:in `map'
46039
+ /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'
46040
+ /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'
46041
+ org/jruby/RubyArray.java:2413:in `map'
46042
+ /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'
46043
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
46044
+ /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'
46045
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
46046
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `autorun'
46047
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46048
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user58@hungrymachine.com' LIMIT 1
46049
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user58@hungrymachine.com', 'first_name58', 'last_name58', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46050
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46051
+ Savepoint (0ms) SAVEPOINT active_record_1
46052
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user59@hungrymachine.com' LIMIT 1
46053
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user59@hungrymachine.com', 'first_name59', 'last_name59', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46054
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46055
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46056
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description24', 'application24', '2014-01-17 17:17:59', 58)
46057
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46058
+ Savepoint (0ms) SAVEPOINT active_record_1
46059
+ SQL (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\"]', 24, '2014-01-17 17:17:59', '0 * * * * ?', 21, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job21', '2014-01-17 17:17:59', 57)
46060
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
46061
+ #<Rearview::Alerts::PagerDutyAlert:0x523c0989> send alert for #<Rearview::Job id: 21, created_at: "2014-01-17 17:17:59", updated_at: "2014-01-17 17:17:59", name: "job21", active: true, last_run: nil, cron_expr: "0 * * * * ?", status: nil, user_id: 57, alert_keys: ["pagerduty:54232f6f4c4447efb6d15e20dbb7349b"], deleted_at: nil, error_timeout: 60, next_run: nil, description: nil, app_id: 24, 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"}
46062
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46063
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user60@hungrymachine.com' LIMIT 1
46064
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user60@hungrymachine.com', 'first_name60', 'last_name60', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46065
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
46066
+ Savepoint (0ms) SAVEPOINT active_record_1
46067
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user61@hungrymachine.com' LIMIT 1
46068
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user61@hungrymachine.com', 'first_name61', 'last_name61', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46069
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46070
+ Savepoint (0ms) SAVEPOINT active_record_1
46071
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user62@hungrymachine.com' LIMIT 1
46072
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user62@hungrymachine.com', 'first_name62', 'last_name62', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46073
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46074
+ Savepoint (0ms) SAVEPOINT active_record_1
46075
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user63@hungrymachine.com' LIMIT 1
46076
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user63@hungrymachine.com', 'first_name63', 'last_name63', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46077
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46078
+ Savepoint (0ms) SAVEPOINT active_record_1
46079
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description27', 'application27', '2014-01-17 17:17:59', 62)
46080
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46081
+ Processing by Rearview::DashboardChildrenController#create as JSON
46082
+ Parameters: {"userId"=>"61", "name"=>"application26", "dashboard_id"=>"25"}
46083
+ Rearview::Dashboard Load (2.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 25 LIMIT 1
46084
+ Savepoint (0ms) SAVEPOINT active_record_1
46085
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'application26', '2014-01-17 17:17:59', 59)
46086
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46087
+ Completed 200 OK in 23ms (Views: 8.0ms | ActiveRecord: 3.0ms)
46088
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46089
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user64@hungrymachine.com' LIMIT 1
46090
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user64@hungrymachine.com', 'first_name64', 'last_name64', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46091
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46092
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46093
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user65@hungrymachine.com' LIMIT 1
46094
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user65@hungrymachine.com', 'first_name65', 'last_name65', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46095
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46096
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46097
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user66@hungrymachine.com' LIMIT 1
46098
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user66@hungrymachine.com', 'first_name66', 'last_name66', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46099
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46100
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46101
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description29', 'application29', '2014-01-17 17:17:59', 65)
46102
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46103
+ Processing by Rearview::DashboardChildrenController#create as JSON
46104
+ Parameters: {"userId"=>"64", "name"=>"application28", "dashboard_id"=>"27"}
46105
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 27 LIMIT 1
46106
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46107
+ SQL (0ms) INSERT INTO `applications` (`ancestry`, `created_at`, `name`, `updated_at`, `user_id`) VALUES ('27', '2014-01-17 17:18:06', 'application28', '2014-01-17 17:18:06', 63)
46108
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46109
+ Completed 200 OK in 15ms (Views: 3.0ms | ActiveRecord: 2.0ms)
46110
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46111
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user67@hungrymachine.com' LIMIT 1
46112
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user67@hungrymachine.com', 'first_name67', 'last_name67', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46113
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46114
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46115
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user68@hungrymachine.com' LIMIT 1
46116
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user68@hungrymachine.com', 'first_name68', 'last_name68', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46117
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46118
+ Savepoint (0ms) SAVEPOINT active_record_1
46119
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description30', 'application30', '2014-01-17 17:17:59', 67)
46120
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46121
+ Processing by Rearview::DashboardChildrenController#index as JSON
46122
+ Parameters: {"dashboard_id"=>"29"}
46123
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 29 LIMIT 1
46124
+ Completed 200 OK in 12ms (Views: 6.0ms | ActiveRecord: 1.0ms)
46125
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46126
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user69@hungrymachine.com' LIMIT 1
46127
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user69@hungrymachine.com', 'first_name69', 'last_name69', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46128
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46129
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46130
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description31', 'application31', '2014-01-17 17:17:59', 68)
46131
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46132
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`ancestry` = '30'
46133
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/dashboards/_dashboard.json.jbuilder (5.0ms)
46134
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46135
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user70@hungrymachine.com' LIMIT 1
46136
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user70@hungrymachine.com', 'first_name70', 'last_name70', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46137
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46138
+ Savepoint (0ms) SAVEPOINT active_record_1
46139
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user71@hungrymachine.com' LIMIT 1
46140
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user71@hungrymachine.com', 'first_name71', 'last_name71', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46141
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46142
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46143
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description32', 'application32', '2014-01-17 17:17:59', 70)
46144
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
46145
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46146
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 31, '2014-01-17 17:17:59', '0 * * * * ?', 22, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job22', '2014-01-17 17:17:59', 69)
46147
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
46148
+ Savepoint (0ms) SAVEPOINT active_record_1
46149
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user72@hungrymachine.com' LIMIT 1
46150
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user72@hungrymachine.com', 'first_name72', 'last_name72', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46151
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46152
+ Savepoint (0ms) SAVEPOINT active_record_1
46153
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user73@hungrymachine.com' LIMIT 1
46154
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user73@hungrymachine.com', 'first_name73', 'last_name73', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46155
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46156
+ Savepoint (0ms) SAVEPOINT active_record_1
46157
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description33', 'application33', '2014-01-17 17:17:59', 72)
46158
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46159
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46160
+ 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-17 17:17:59', '0 * * * * ?', 23, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job23', '2014-01-17 17:17:59', 71)
46161
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46162
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/jobs/_job.json.jbuilder (6.0ms)
46163
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/jobs/_job.json.jbuilder (2.0ms)
46164
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46165
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user74@hungrymachine.com' LIMIT 1
46166
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user74@hungrymachine.com', 'first_name74', 'last_name74', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46167
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46168
+ Processing by Rearview::MonitorController#create as JSON
46169
+ Parameters: {"metrics"=>"blah.blah.blah", "monitorExpr"=>"abc", "minutes"=>"1", "toDate"=>"now"}
46170
+ Completed 200 OK in 11ms (Views: 10.0ms | ActiveRecord: 0.0ms)
46171
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46172
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user75@hungrymachine.com' LIMIT 1
46173
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user75@hungrymachine.com', 'first_name75', 'last_name75', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46174
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46175
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46176
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user76@hungrymachine.com' LIMIT 1
46177
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user76@hungrymachine.com', 'first_name76', 'last_name76', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46178
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46179
+ Savepoint (0ms) SAVEPOINT active_record_1
46180
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description34', 'application34', '2014-01-17 17:17:59', 75)
46181
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46182
+ Savepoint (0ms) SAVEPOINT active_record_1
46183
+ 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-17 17:17:59', '0 * * * * ?', 24, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job24', '2014-01-17 17:17:59', 74)
46184
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46185
+ #<Rearview::ResultsHandler:0x5ba33ad7> run
46186
+ Rearview::JobData Load (1.0ms) SELECT `job_data`.* FROM `job_data` WHERE `job_data`.`job_id` = 24 LIMIT 1
46187
+ Savepoint (0ms) SAVEPOINT active_record_1
46188
+ Savepoint (0ms) ROLLBACK TO SAVEPOINT active_record_1
46189
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46190
+ SQL (0ms) INSERT INTO `job_data` (`created_at`, `data`, `job_id`, `updated_at`) VALUES ('2014-01-17 17:18:07', '{\"status\":\"error\",\"output\":null,\"graph_data\":null}', 24, '2014-01-17 17:18:07')
46191
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46192
+ #<Rearview::ResultsHandler:0x5ba33ad7> firing event :error for #<Rearview::Job id: 24, created_at: "2014-01-17 17:17:59", updated_at: "2014-01-17 17:17:59", name: "job24", active: true, last_run: "2014-01-17 17:18:07", cron_expr: "0 * * * * ?", status: nil, user_id: 74, alert_keys: ["mailto:foo@hungrymachine.com", "pagerduty:54232f6f4c4447efb6d15e20dbb7349c"], deleted_at: nil, error_timeout: 60, next_run: nil, description: nil, app_id: 33, metrics: ["stats_counts.cupcake.web_traffic.impression"], monitor_expr: "puts 'hello, world!'", minutes: 1, to_date: nil>
46193
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46194
+ SQL (1.0ms) UPDATE `jobs` SET `last_run` = '2014-01-17 17:18:07', `status` = 'error', `updated_at` = '2014-01-17 17:18:07', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 24
46195
+ #<Rearview::Job:0x7b5477d5>#create_associated_event for transition #<StateMachine::Transition attribute=:status event=:error from=nil from_name=nil to="error" to_name=:error>
46196
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `updated_at`) VALUES ('2014-01-17 17:18:07', 24, '2014-01-17 17:18:07')
46197
+ SQL (1.0ms) UPDATE `job_errors` SET `status` = 'error', `updated_at` = '2014-01-17 17:18:07' WHERE `job_errors`.`id` = 1
46198
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46199
+ Terminating 10 actors...
46200
+ Shutdown completed cleanly
46201
+ Terminating 5 actors...
46202
+ Shutdown completed cleanly
46203
+ Rearview::StatsService crashed!
46204
+ Rearview::StatsService::StatsServiceError: service already started
46205
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/stats_service.rb:17:in `startup'
46206
+ org/jruby/RubyKernel.java:1961:in `public_send'
46207
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:25:in `dispatch'
46208
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:67:in `dispatch'
46209
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/actor.rb:326:in `handle_message'
46210
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:42:in `initialize'
46211
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:35:in `initialize'
46212
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks/task_fiber.rb:11:in `create'
46213
+ (celluloid):0:in `remote procedure call'
46214
+ Terminating 4 actors...
46215
+ Shutdown completed cleanly
46216
+ Terminating 5 actors...
46217
+ Shutdown completed cleanly
46218
+ Terminating 5 actors...
46219
+ Shutdown completed cleanly
46220
+ Terminating 5 actors...
46221
+ Shutdown completed cleanly
46222
+ Rearview::StatsService crashed!
46223
+ Rearview::StatsService::StatsServiceError: service not started
46224
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/stats_service.rb:22:in `shutdown'
46225
+ org/jruby/RubyKernel.java:1961:in `public_send'
46226
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:25:in `dispatch'
46227
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:67:in `dispatch'
46228
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/actor.rb:326:in `handle_message'
46229
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:42:in `initialize'
46230
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:35:in `initialize'
46231
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks/task_fiber.rb:11:in `create'
46232
+ (celluloid):0:in `remote procedure call'
46233
+ Terminating 4 actors...
46234
+ Shutdown completed cleanly
46235
+ Terminating 5 actors...
46236
+ Shutdown completed cleanly
46237
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46238
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user77@hungrymachine.com' LIMIT 1
46239
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user77@hungrymachine.com', 'first_name77', 'last_name77', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46240
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46241
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46242
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user78@hungrymachine.com' LIMIT 1
46243
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user78@hungrymachine.com', 'first_name78', 'last_name78', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46244
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
46245
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46246
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description35', 'application35', '2014-01-17 17:17:59', 77)
46247
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46248
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46249
+ 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-17 17:17:59', '0 * * * * ?', 25, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job25', '2014-01-17 17:17:59', 76)
46250
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46251
+ #<Rearview::Alerts::EmailAlert:0x5a7a53c9> send alert for #<Rearview::Job id: 25, created_at: "2014-01-17 17:17:59", updated_at: "2014-01-17 17:17:59", name: "job25", active: true, last_run: nil, cron_expr: "0 * * * * ?", status: nil, user_id: 76, alert_keys: ["mailto:foo@hungrymachine.com", "pagerduty:54232f6f4c4447efb6d15e20dbb7349c"], deleted_at: nil, error_timeout: 60, next_run: nil, description: nil, app_id: 34, 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"}
46252
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46253
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user79@hungrymachine.com' LIMIT 1
46254
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user79@hungrymachine.com', 'first_name79', 'last_name79', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46255
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46256
+ Savepoint (0ms) SAVEPOINT active_record_1
46257
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user80@hungrymachine.com' LIMIT 1
46258
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user80@hungrymachine.com', 'first_name80', 'last_name80', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46259
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46260
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46261
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description36', 'application36', '2014-01-17 17:17:59', 79)
46262
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46263
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46264
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 35, '2014-01-17 17:17:59', '0 * * * * ?', 26, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job26', '2014-01-17 17:17:59', 78)
46265
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46266
+ #<Rearview::Alerts::EmailAlert:0x3c94eacc> send alert for #<Rearview::Job id: 26, created_at: "2014-01-17 17:17:59", updated_at: "2014-01-17 17:17:59", name: "job26", active: true, last_run: nil, cron_expr: "0 * * * * ?", status: nil, user_id: 78, alert_keys: ["mailto:foo@hungrymachine.com", "pagerduty:54232f6f4c4447efb6d15e20dbb7349c"], deleted_at: nil, error_timeout: 60, next_run: nil, description: nil, app_id: 35, 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"}
46267
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46268
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user81@hungrymachine.com' LIMIT 1
46269
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user81@hungrymachine.com', 'first_name81', 'last_name81', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46270
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46271
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/user/_user.json.jbuilder (3.0ms)
46272
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46273
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user82@hungrymachine.com' LIMIT 1
46274
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user82@hungrymachine.com', 'first_name82', 'last_name82', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46275
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46276
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46277
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description37', 'application37', '2014-01-17 17:17:59', 81)
46278
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46279
+ Savepoint (0ms) SAVEPOINT active_record_1
46280
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user83@hungrymachine.com' LIMIT 1
46281
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user83@hungrymachine.com', 'first_name83', 'last_name83', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46282
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46283
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46284
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 36, '2014-01-17 17:17:59', '0 * * * * ?', 27, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job27', '2014-01-17 17:17:59', 82)
46285
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
46286
+ Savepoint (0ms) SAVEPOINT active_record_1
46287
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-16 17:18:07', 27, 'message1', 'failed', '2014-01-17 17:18:07')
46288
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46289
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46290
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-15 17:18:07', 27, 'message2', 'failed', '2014-01-17 17:18:07')
46291
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46292
+ Rearview::JobError Load (1.0ms) SELECT `job_errors`.* FROM `job_errors` WHERE (job_id = 27) ORDER BY created_at DESC LIMIT 1
46293
+ Savepoint (0ms) SAVEPOINT active_record_1
46294
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user84@hungrymachine.com' LIMIT 1
46295
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user84@hungrymachine.com', 'first_name84', 'last_name84', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46296
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46297
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46298
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user85@hungrymachine.com' LIMIT 1
46299
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user85@hungrymachine.com', 'first_name85', 'last_name85', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46300
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46301
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46302
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description38', 'application38', '2014-01-17 17:17:59', 84)
46303
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46304
+ Savepoint (0ms) SAVEPOINT active_record_1
46305
+ 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-17 17:17:59', '0 * * * * ?', 28, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job28', '2014-01-17 17:17:59', 83)
46306
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
46307
+ Savepoint (0ms) SAVEPOINT active_record_1
46308
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-17 17:17:59', 28, 'message3', 'failed', '2014-01-17 17:18:07')
46309
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46310
+ Savepoint (0ms) SAVEPOINT active_record_1
46311
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user86@hungrymachine.com' LIMIT 1
46312
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user86@hungrymachine.com', 'first_name86', 'last_name86', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46313
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46314
+ Savepoint (0ms) SAVEPOINT active_record_1
46315
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user87@hungrymachine.com' LIMIT 1
46316
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user87@hungrymachine.com', 'first_name87', 'last_name87', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46317
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46318
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46319
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description39', 'application39', '2014-01-17 17:17:59', 86)
46320
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46321
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46322
+ 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-17 17:17:59', '0 * * * * ?', 29, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job29', '2014-01-17 17:17:59', 85)
46323
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46324
+ Savepoint (0ms) SAVEPOINT active_record_1
46325
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-17 17:17:59', 29, 'message4', 'failed', '2014-01-17 17:18:07')
46326
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46327
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46328
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user88@hungrymachine.com' LIMIT 1
46329
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user88@hungrymachine.com', 'first_name88', 'last_name88', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46330
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46331
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46332
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description40', 'application40', '2014-01-17 17:17:59', 87)
46333
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46334
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46335
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user89@hungrymachine.com' LIMIT 1
46336
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user89@hungrymachine.com', 'first_name89', 'last_name89', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46337
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46338
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46339
+ 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-17 17:17:59', '0 * * * * ?', 30, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job30', '2014-01-17 17:17:59', 88)
46340
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46341
+ Savepoint (0ms) SAVEPOINT active_record_1
46342
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-16 17:18:07', 30, 'message5', 'success', '2014-01-17 17:18:07')
46343
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46344
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE (status != 'success') AND (job_id = 30) ORDER BY created_at DESC LIMIT 1
46345
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46346
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user90@hungrymachine.com' LIMIT 1
46347
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user90@hungrymachine.com', 'first_name90', 'last_name90', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46348
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46349
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46350
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description41', 'application41', '2014-01-17 17:17:59', 89)
46351
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46352
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46353
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user91@hungrymachine.com' LIMIT 1
46354
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user91@hungrymachine.com', 'first_name91', 'last_name91', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46355
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46356
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46357
+ 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\"]', 40, '2014-01-17 17:17:59', '0 * * * * ?', 31, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job31', '2014-01-17 17:17:59', 90)
46358
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46359
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46360
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-16 17:18:08', 31, 'message6', 'failed', '2014-01-17 17:18:08')
46361
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46362
+ Rearview::JobError Load (1.0ms) SELECT `job_errors`.* FROM `job_errors` WHERE (status != 'success') AND (job_id = 31) ORDER BY created_at DESC LIMIT 1
46363
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46364
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user92@hungrymachine.com' LIMIT 1
46365
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user92@hungrymachine.com', 'first_name92', 'last_name92', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46366
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46367
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46368
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description42', 'application42', '2014-01-17 17:17:59', 91)
46369
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46370
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46371
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user93@hungrymachine.com' LIMIT 1
46372
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user93@hungrymachine.com', 'first_name93', 'last_name93', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46373
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46374
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46375
+ 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\"]', 41, '2014-01-17 17:17:59', '0 * * * * ?', 32, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job32', '2014-01-17 17:17:59', 92)
46376
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46377
+ Savepoint (0ms) SAVEPOINT active_record_1
46378
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-17 17:17:59', 32, 'message7', 'failed', '2014-01-17 17:18:08')
46379
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46380
+ #<Rearview::JobError:0x62197b84>#create_alert for transition nil
46381
+ Savepoint (0ms) SAVEPOINT active_record_1
46382
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user94@hungrymachine.com' LIMIT 1
46383
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user94@hungrymachine.com', 'first_name94', 'last_name94', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46384
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46385
+ Savepoint (0ms) SAVEPOINT active_record_1
46386
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description43', 'application43', '2014-01-17 17:17:59', 93)
46387
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46388
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46389
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user95@hungrymachine.com' LIMIT 1
46390
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user95@hungrymachine.com', 'first_name95', 'last_name95', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46391
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46392
+ Savepoint (0ms) SAVEPOINT active_record_1
46393
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 42, '2014-01-17 17:17:59', '0 * * * * ?', 33, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job33', '2014-01-17 17:17:59', 94)
46394
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46395
+ Savepoint (0ms) SAVEPOINT active_record_1
46396
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-16 17:18:08', 33, 'message8', 'success', '2014-01-17 17:18:08')
46397
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46398
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46399
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-16 17:18:08', 33, 'message9', 'failed', '2014-01-17 17:18:08')
46400
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46401
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46402
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-16 17:18:08', 33, 'message10', 'error', '2014-01-17 17:18:08')
46403
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46404
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46405
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-16 17:18:08', 33, 'message11', 'graphite_error', '2014-01-17 17:18:08')
46406
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46407
+  (1.0ms) SELECT COUNT(*) FROM `job_errors` INNER JOIN jobs ON jobs.id = job_errors.job_id INNER JOIN applications ON applications.id = jobs.app_id WHERE (applications.id = 42)
46408
+ Savepoint (0ms) SAVEPOINT active_record_1
46409
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user96@hungrymachine.com' LIMIT 1
46410
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user96@hungrymachine.com', 'first_name96', 'last_name96', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46411
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46412
+ Savepoint (0ms) SAVEPOINT active_record_1
46413
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description44', 'application44', '2014-01-17 17:17:59', 95)
46414
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46415
+ Savepoint (0ms) SAVEPOINT active_record_1
46416
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user97@hungrymachine.com' LIMIT 1
46417
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user97@hungrymachine.com', 'first_name97', 'last_name97', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46418
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46419
+ Savepoint (0ms) SAVEPOINT active_record_1
46420
+ 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-17 17:17:59', '0 * * * * ?', 34, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job34', '2014-01-17 17:17:59', 96)
46421
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46422
+ Savepoint (0ms) SAVEPOINT active_record_1
46423
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-17 17:17:08', 34, 'message12', 'error', '2014-01-17 17:18:08')
46424
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46425
+ Savepoint (0ms) SAVEPOINT active_record_1
46426
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user98@hungrymachine.com' LIMIT 1
46427
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user98@hungrymachine.com', 'first_name98', 'last_name98', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46428
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46429
+ Savepoint (0ms) SAVEPOINT active_record_1
46430
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description45', 'application45', '2014-01-17 17:17:59', 97)
46431
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46432
+ Savepoint (0ms) SAVEPOINT active_record_1
46433
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user99@hungrymachine.com' LIMIT 1
46434
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user99@hungrymachine.com', 'first_name99', 'last_name99', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46435
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46436
+ Savepoint (0ms) SAVEPOINT active_record_1
46437
+ 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-17 17:17:59', '0 * * * * ?', 35, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job35', '2014-01-17 17:17:59', 98)
46438
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46439
+ Savepoint (0ms) SAVEPOINT active_record_1
46440
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-17 17:16:08', 35, 'message13', 'error', '2014-01-17 17:18:08')
46441
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46442
+ Savepoint (0ms) SAVEPOINT active_record_1
46443
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-17 17:17:08', 35, 'message14', 'success', '2014-01-17 17:18:08')
46444
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46445
+ Savepoint (0ms) SAVEPOINT active_record_1
46446
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user100@hungrymachine.com' LIMIT 1
46447
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user100@hungrymachine.com', 'first_name100', 'last_name100', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46448
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46449
+ Savepoint (0ms) SAVEPOINT active_record_1
46450
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description46', 'application46', '2014-01-17 17:17:59', 99)
46451
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46452
+ Savepoint (0ms) SAVEPOINT active_record_1
46453
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user101@hungrymachine.com' LIMIT 1
46454
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user101@hungrymachine.com', 'first_name101', 'last_name101', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46455
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46456
+ Savepoint (0ms) SAVEPOINT active_record_1
46457
+ 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-17 17:17:59', '0 * * * * ?', 36, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job36', '2014-01-17 17:17:59', 100)
46458
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46459
+ Savepoint (0ms) SAVEPOINT active_record_1
46460
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-17 17:16:08', 36, 'message15', 'success', '2014-01-17 17:18:08')
46461
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46462
+ Savepoint (0ms) SAVEPOINT active_record_1
46463
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-17 17:17:08', 36, 'message16', 'error', '2014-01-17 17:18:08')
46464
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46465
+ Savepoint (0ms) SAVEPOINT active_record_1
46466
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user102@hungrymachine.com' LIMIT 1
46467
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user102@hungrymachine.com', 'first_name102', 'last_name102', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46468
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46469
+ Savepoint (0ms) SAVEPOINT active_record_1
46470
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description47', 'application47', '2014-01-17 17:17:59', 101)
46471
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46472
+ Savepoint (0ms) SAVEPOINT active_record_1
46473
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user103@hungrymachine.com' LIMIT 1
46474
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user103@hungrymachine.com', 'first_name103', 'last_name103', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46475
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46476
+ Savepoint (0ms) SAVEPOINT active_record_1
46477
+ 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\"]', 46, '2014-01-17 17:17:59', '0 * * * * ?', 37, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job37', '2014-01-17 17:17:59', 102)
46478
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46479
+ Savepoint (0ms) SAVEPOINT active_record_1
46480
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-17 17:15:08', 37, 'message17', 'success', '2014-01-17 17:18:08')
46481
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46482
+ Savepoint (0ms) SAVEPOINT active_record_1
46483
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-17 17:16:08', 37, 'message18', 'error', '2014-01-17 17:18:08')
46484
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46485
+ Savepoint (0ms) SAVEPOINT active_record_1
46486
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-17 17:17:08', 37, 'message19', 'success', '2014-01-17 17:18:08')
46487
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46488
+ Savepoint (0ms) SAVEPOINT active_record_1
46489
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user104@hungrymachine.com' LIMIT 1
46490
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user104@hungrymachine.com', 'first_name104', 'last_name104', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46491
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46492
+ Savepoint (0ms) SAVEPOINT active_record_1
46493
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description48', 'application48', '2014-01-17 17:17:59', 103)
46494
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46495
+ Savepoint (0ms) SAVEPOINT active_record_1
46496
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user105@hungrymachine.com' LIMIT 1
46497
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user105@hungrymachine.com', 'first_name105', 'last_name105', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46498
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46499
+ Savepoint (0ms) SAVEPOINT active_record_1
46500
+ 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\"]', 47, '2014-01-17 17:17:59', '0 * * * * ?', 38, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job38', '2014-01-17 17:17:59', 104)
46501
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46502
+ Savepoint (0ms) SAVEPOINT active_record_1
46503
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-17 17:14:08', 38, 'message20', 'success', '2014-01-17 17:18:08')
46504
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46505
+ Savepoint (0ms) SAVEPOINT active_record_1
46506
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-17 17:15:08', 38, 'message21', 'error', '2014-01-17 17:18:08')
46507
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46508
+ Savepoint (0ms) SAVEPOINT active_record_1
46509
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-17 17:16:08', 38, 'message22', 'error', '2014-01-17 17:18:08')
46510
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46511
+ Savepoint (0ms) SAVEPOINT active_record_1
46512
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-17 17:17:08', 38, 'message23', 'success', '2014-01-17 17:18:08')
46513
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46514
+ Savepoint (0ms) SAVEPOINT active_record_1
46515
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user106@hungrymachine.com' LIMIT 1
46516
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user106@hungrymachine.com', 'first_name106', 'last_name106', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46517
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46518
+ Savepoint (0ms) SAVEPOINT active_record_1
46519
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description49', 'application49', '2014-01-17 17:17:59', 105)
46520
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46521
+ Savepoint (0ms) SAVEPOINT active_record_1
46522
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user107@hungrymachine.com' LIMIT 1
46523
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user107@hungrymachine.com', 'first_name107', 'last_name107', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46524
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46525
+ Savepoint (0ms) SAVEPOINT active_record_1
46526
+ 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-17 17:17:59', '0 * * * * ?', 39, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job39', '2014-01-17 17:17:59', 106)
46527
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46528
+ Savepoint (0ms) SAVEPOINT active_record_1
46529
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-17 17:17:08', 39, 'message24', 'success', '2014-01-17 17:18:08')
46530
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46531
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46532
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user108@hungrymachine.com' LIMIT 1
46533
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user108@hungrymachine.com', 'first_name108', 'last_name108', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46534
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46535
+ Savepoint (0ms) SAVEPOINT active_record_1
46536
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description50', 'application50', '2014-01-17 17:17:59', 107)
46537
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46538
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46539
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user109@hungrymachine.com' LIMIT 1
46540
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user109@hungrymachine.com', 'first_name109', 'last_name109', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46541
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46542
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46543
+ 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-17 17:17:59', '0 * * * * ?', 40, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job40', '2014-01-17 17:17:59', 108)
46544
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46545
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46546
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `last_alerted_at`, `message`, `status`, `updated_at`) VALUES ('2014-01-17 17:17:59', 40, '2014-01-16 17:18:08', 'message25', 'failed', '2014-01-17 17:18:08')
46547
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
46548
+ #<Rearview::JobError:0xb993fb7>#update_alert for transition nil
46549
+ Savepoint (0ms) SAVEPOINT active_record_1
46550
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user110@hungrymachine.com' LIMIT 1
46551
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user110@hungrymachine.com', 'first_name110', 'last_name110', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46552
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46553
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46554
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description51', 'application51', '2014-01-17 17:17:59', 109)
46555
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46556
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46557
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user111@hungrymachine.com' LIMIT 1
46558
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user111@hungrymachine.com', 'first_name111', 'last_name111', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46559
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46560
+ Savepoint (0ms) SAVEPOINT active_record_1
46561
+ 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\"]', 50, '2014-01-17 17:17:59', '0 * * * * ?', 41, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job41', '2014-01-17 17:17:59', 110)
46562
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46563
+ Savepoint (0ms) SAVEPOINT active_record_1
46564
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-17 17:17:59', 41, 'message26', 'failed', '2014-01-17 17:18:08')
46565
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46566
+ #<Rearview::JobError:0x6550ec9>#update_alert for transition nil
46567
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46568
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user112@hungrymachine.com' LIMIT 1
46569
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user112@hungrymachine.com', 'first_name112', 'last_name112', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46570
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46571
+ Savepoint (0ms) SAVEPOINT active_record_1
46572
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description52', 'application52', '2014-01-17 17:17:59', 111)
46573
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46574
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46575
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user113@hungrymachine.com' LIMIT 1
46576
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user113@hungrymachine.com', 'first_name113', 'last_name113', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46577
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46578
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46579
+ 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\"]', 51, '2014-01-17 17:17:59', '0 * * * * ?', 42, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job42', '2014-01-17 17:17:59', 112)
46580
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46581
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46582
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `last_alerted_at`, `message`, `status`, `updated_at`) VALUES ('2014-01-17 17:17:59', 42, '2014-01-17 17:17:08', 'message27', 'failed', '2014-01-17 17:18:08')
46583
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46584
+ #<Rearview::JobError:0x7bfcbd86>#update_alert for transition nil
46585
+ Savepoint (0ms) SAVEPOINT active_record_1
46586
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user114@hungrymachine.com' LIMIT 1
46587
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user114@hungrymachine.com', 'first_name114', 'last_name114', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46588
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46589
+ Savepoint (0ms) SAVEPOINT active_record_1
46590
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description53', 'application53', '2014-01-17 17:17:59', 113)
46591
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46592
+ Savepoint (0ms) SAVEPOINT active_record_1
46593
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user115@hungrymachine.com' LIMIT 1
46594
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user115@hungrymachine.com', 'first_name115', 'last_name115', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46595
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46596
+ Savepoint (0ms) SAVEPOINT active_record_1
46597
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 52, '2014-01-17 17:17:59', '0 * * * * ?', 43, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job43', '2014-01-17 17:17:59', 114)
46598
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46599
+ Savepoint (0ms) SAVEPOINT active_record_1
46600
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-16 17:18:08', 43, 'message28', 'failed', '2014-01-17 17:18:08')
46601
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46602
+ Savepoint (0ms) SAVEPOINT active_record_1
46603
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-15 17:18:08', 43, 'message29', 'failed', '2014-01-17 17:18:08')
46604
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46605
+ Savepoint (0ms) SAVEPOINT active_record_1
46606
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-14 17:18:08', 43, 'message30', 'failed', '2014-01-17 17:18:08')
46607
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46608
+ Savepoint (0ms) SAVEPOINT active_record_1
46609
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-13 17:18:08', 43, 'message31', 'failed', '2014-01-17 17:18:08')
46610
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46611
+ Savepoint (0ms) SAVEPOINT active_record_1
46612
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-12 17:18:08', 43, 'message32', 'failed', '2014-01-17 17:18:08')
46613
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46614
+ Savepoint (0ms) SAVEPOINT active_record_1
46615
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-11 17:18:08', 43, 'message33', 'failed', '2014-01-17 17:18:08')
46616
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46617
+ Savepoint (0ms) SAVEPOINT active_record_1
46618
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-10 17:18:08', 43, 'message34', 'failed', '2014-01-17 17:18:08')
46619
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46620
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 43 ORDER BY created_at DESC LIMIT 1
46621
+ Savepoint (0ms) SAVEPOINT active_record_1
46622
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user116@hungrymachine.com' LIMIT 1
46623
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user116@hungrymachine.com', 'first_name116', 'last_name116', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46624
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46625
+ Savepoint (0ms) SAVEPOINT active_record_1
46626
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description54', 'application54', '2014-01-17 17:17:59', 115)
46627
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46628
+ Savepoint (0ms) SAVEPOINT active_record_1
46629
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user117@hungrymachine.com' LIMIT 1
46630
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user117@hungrymachine.com', 'first_name117', 'last_name117', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46631
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46632
+ Savepoint (0ms) SAVEPOINT active_record_1
46633
+ 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-17 17:17:59', '0 * * * * ?', 44, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job44', '2014-01-17 17:17:59', 116)
46634
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46635
+ Savepoint (0ms) SAVEPOINT active_record_1
46636
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-16 17:18:08', 44, 'message35', 'failed', '2014-01-17 17:18:08')
46637
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46638
+ Savepoint (0ms) SAVEPOINT active_record_1
46639
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-15 17:18:08', 44, 'message36', 'failed', '2014-01-17 17:18:08')
46640
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46641
+ Savepoint (0ms) SAVEPOINT active_record_1
46642
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-14 17:18:08', 44, 'message37', 'failed', '2014-01-17 17:18:08')
46643
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46644
+ Savepoint (0ms) SAVEPOINT active_record_1
46645
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-13 17:18:08', 44, 'message38', 'failed', '2014-01-17 17:18:08')
46646
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46647
+ Savepoint (0ms) SAVEPOINT active_record_1
46648
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-12 17:18:08', 44, 'message39', 'failed', '2014-01-17 17:18:08')
46649
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46650
+ Savepoint (0ms) SAVEPOINT active_record_1
46651
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-11 17:18:08', 44, 'message40', 'failed', '2014-01-17 17:18:08')
46652
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46653
+ Savepoint (0ms) SAVEPOINT active_record_1
46654
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-10 17:18:08', 44, 'message41', 'failed', '2014-01-17 17:18:08')
46655
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46656
+  (0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM `job_errors` WHERE `job_errors`.`job_id` = 44 LIMIT 3 OFFSET 1) subquery_for_count
46657
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 44 ORDER BY created_at DESC LIMIT 1 OFFSET 1
46658
+ Savepoint (0ms) SAVEPOINT active_record_1
46659
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user118@hungrymachine.com' LIMIT 1
46660
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user118@hungrymachine.com', 'first_name118', 'last_name118', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46661
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46662
+ Savepoint (0ms) SAVEPOINT active_record_1
46663
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description55', 'application55', '2014-01-17 17:17:59', 117)
46664
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46665
+ Savepoint (0ms) SAVEPOINT active_record_1
46666
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user119@hungrymachine.com' LIMIT 1
46667
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user119@hungrymachine.com', 'first_name119', 'last_name119', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46668
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46669
+ Savepoint (0ms) SAVEPOINT active_record_1
46670
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 54, '2014-01-17 17:17:59', '0 * * * * ?', 45, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job45', '2014-01-17 17:17:59', 118)
46671
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46672
+ Savepoint (0ms) SAVEPOINT active_record_1
46673
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-16 17:18:08', 45, 'message42', 'failed', '2014-01-17 17:18:08')
46674
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46675
+ Savepoint (0ms) SAVEPOINT active_record_1
46676
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-15 17:18:08', 45, 'message43', 'failed', '2014-01-17 17:18:08')
46677
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46678
+ Savepoint (0ms) SAVEPOINT active_record_1
46679
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-14 17:18:08', 45, 'message44', 'failed', '2014-01-17 17:18:08')
46680
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46681
+ Savepoint (0ms) SAVEPOINT active_record_1
46682
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-13 17:18:08', 45, 'message45', 'failed', '2014-01-17 17:18:08')
46683
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46684
+ Savepoint (0ms) SAVEPOINT active_record_1
46685
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-12 17:18:08', 45, 'message46', 'failed', '2014-01-17 17:18:08')
46686
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46687
+ Savepoint (0ms) SAVEPOINT active_record_1
46688
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-11 17:18:08', 45, 'message47', 'failed', '2014-01-17 17:18:08')
46689
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46690
+ Savepoint (0ms) SAVEPOINT active_record_1
46691
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-10 17:18:08', 45, 'message48', 'failed', '2014-01-17 17:18:08')
46692
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46693
+  (0ms) SELECT COUNT(*) FROM `job_errors` WHERE `job_errors`.`job_id` = 45 AND (created_at >= '2014-01-15 17:18:08')
46694
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 45 AND (created_at >= '2014-01-15 17:18:08') ORDER BY created_at ASC LIMIT 1
46695
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 45 AND (created_at >= '2014-01-15 17:18:08') ORDER BY created_at DESC LIMIT 1
46696
+ Savepoint (0ms) SAVEPOINT active_record_1
46697
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user120@hungrymachine.com' LIMIT 1
46698
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user120@hungrymachine.com', 'first_name120', 'last_name120', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46699
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46700
+ Savepoint (0ms) SAVEPOINT active_record_1
46701
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description56', 'application56', '2014-01-17 17:17:59', 119)
46702
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46703
+ Savepoint (0ms) SAVEPOINT active_record_1
46704
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user121@hungrymachine.com' LIMIT 1
46705
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user121@hungrymachine.com', 'first_name121', 'last_name121', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46706
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46707
+ Savepoint (0ms) SAVEPOINT active_record_1
46708
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 55, '2014-01-17 17:17:59', '0 * * * * ?', 46, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job46', '2014-01-17 17:17:59', 120)
46709
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46710
+ Savepoint (0ms) SAVEPOINT active_record_1
46711
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-16 17:18:09', 46, 'message49', 'failed', '2014-01-17 17:18:09')
46712
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46713
+ Savepoint (0ms) SAVEPOINT active_record_1
46714
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-15 17:18:09', 46, 'message50', 'failed', '2014-01-17 17:18:09')
46715
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46716
+ Savepoint (0ms) SAVEPOINT active_record_1
46717
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-14 17:18:09', 46, 'message51', 'failed', '2014-01-17 17:18:09')
46718
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46719
+ Savepoint (0ms) SAVEPOINT active_record_1
46720
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-13 17:18:09', 46, 'message52', 'failed', '2014-01-17 17:18:09')
46721
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46722
+ Savepoint (0ms) SAVEPOINT active_record_1
46723
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-12 17:18:09', 46, 'message53', 'failed', '2014-01-17 17:18:09')
46724
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46725
+ Savepoint (0ms) SAVEPOINT active_record_1
46726
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-11 17:18:09', 46, 'message54', 'failed', '2014-01-17 17:18:09')
46727
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46728
+ Savepoint (0ms) SAVEPOINT active_record_1
46729
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-10 17:18:09', 46, 'message55', 'failed', '2014-01-17 17:18:09')
46730
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46731
+  (0ms) SELECT COUNT(*) FROM `job_errors` WHERE `job_errors`.`job_id` = 46 AND (created_at <= '2014-01-11 17:18:09')
46732
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 46 AND (created_at <= '2014-01-11 17:18:09') ORDER BY created_at ASC LIMIT 1
46733
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 46 AND (created_at <= '2014-01-11 17:18:09') ORDER BY created_at DESC LIMIT 1
46734
+ Savepoint (0ms) SAVEPOINT active_record_1
46735
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user122@hungrymachine.com' LIMIT 1
46736
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user122@hungrymachine.com', 'first_name122', 'last_name122', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46737
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46738
+ Savepoint (0ms) SAVEPOINT active_record_1
46739
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description57', 'application57', '2014-01-17 17:17:59', 121)
46740
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46741
+ Savepoint (0ms) SAVEPOINT active_record_1
46742
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user123@hungrymachine.com' LIMIT 1
46743
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user123@hungrymachine.com', 'first_name123', 'last_name123', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46744
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46745
+ Savepoint (0ms) SAVEPOINT active_record_1
46746
+ 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-17 17:17:59', '0 * * * * ?', 47, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job47', '2014-01-17 17:17:59', 122)
46747
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46748
+ Savepoint (0ms) SAVEPOINT active_record_1
46749
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-16 17:18:09', 47, 'message56', 'failed', '2014-01-17 17:18:09')
46750
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46751
+ Savepoint (0ms) SAVEPOINT active_record_1
46752
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-15 17:18:09', 47, 'message57', 'failed', '2014-01-17 17:18:09')
46753
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46754
+ Savepoint (0ms) SAVEPOINT active_record_1
46755
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-14 17:18:09', 47, 'message58', 'failed', '2014-01-17 17:18:09')
46756
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46757
+ Savepoint (0ms) SAVEPOINT active_record_1
46758
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-13 17:18:09', 47, 'message59', 'failed', '2014-01-17 17:18:09')
46759
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46760
+ Savepoint (0ms) SAVEPOINT active_record_1
46761
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-12 17:18:09', 47, 'message60', 'failed', '2014-01-17 17:18:09')
46762
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46763
+ Savepoint (0ms) SAVEPOINT active_record_1
46764
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-11 17:18:09', 47, 'message61', 'failed', '2014-01-17 17:18:09')
46765
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46766
+ Savepoint (0ms) SAVEPOINT active_record_1
46767
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-10 17:18:09', 47, 'message62', 'failed', '2014-01-17 17:18:09')
46768
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46769
+  (0ms) SELECT COUNT(*) FROM `job_errors` WHERE `job_errors`.`job_id` = 47 AND (created_at >= '2014-01-12 17:18:09') AND (created_at <= '2014-01-16 17:18:09')
46770
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 47 AND (created_at >= '2014-01-12 17:18:09') AND (created_at <= '2014-01-16 17:18:09') ORDER BY created_at ASC LIMIT 1
46771
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 47 AND (created_at >= '2014-01-12 17:18:09') AND (created_at <= '2014-01-16 17:18:09') ORDER BY created_at DESC LIMIT 1
46772
+ Savepoint (0ms) SAVEPOINT active_record_1
46773
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user124@hungrymachine.com' LIMIT 1
46774
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user124@hungrymachine.com', 'first_name124', 'last_name124', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46775
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46776
+ Savepoint (0ms) SAVEPOINT active_record_1
46777
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description58', 'application58', '2014-01-17 17:17:59', 123)
46778
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46779
+ Savepoint (0ms) SAVEPOINT active_record_1
46780
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user125@hungrymachine.com' LIMIT 1
46781
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user125@hungrymachine.com', 'first_name125', 'last_name125', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46782
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46783
+ Savepoint (0ms) SAVEPOINT active_record_1
46784
+ 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-17 17:17:59', '0 * * * * ?', 48, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job48', '2014-01-17 17:17:59', 124)
46785
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46786
+ Savepoint (0ms) SAVEPOINT active_record_1
46787
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-16 17:18:09', 48, 'message63', 'failed', '2014-01-17 17:18:09')
46788
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46789
+ Savepoint (0ms) SAVEPOINT active_record_1
46790
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-15 17:18:09', 48, 'message64', 'failed', '2014-01-17 17:18:09')
46791
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46792
+ Savepoint (0ms) SAVEPOINT active_record_1
46793
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-14 17:18:09', 48, 'message65', 'failed', '2014-01-17 17:18:09')
46794
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46795
+ Savepoint (0ms) SAVEPOINT active_record_1
46796
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-13 17:18:09', 48, 'message66', 'failed', '2014-01-17 17:18:09')
46797
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46798
+ Savepoint (0ms) SAVEPOINT active_record_1
46799
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-12 17:18:09', 48, 'message67', 'failed', '2014-01-17 17:18:09')
46800
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46801
+ Savepoint (0ms) SAVEPOINT active_record_1
46802
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-11 17:18:09', 48, 'message68', 'failed', '2014-01-17 17:18:09')
46803
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46804
+ Savepoint (0ms) SAVEPOINT active_record_1
46805
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-10 17:18:09', 48, 'message69', 'failed', '2014-01-17 17:18:09')
46806
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46807
+  (0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM `job_errors` WHERE `job_errors`.`job_id` = 48 LIMIT 3) subquery_for_count
46808
+ Savepoint (0ms) SAVEPOINT active_record_1
46809
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user126@hungrymachine.com' LIMIT 1
46810
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user126@hungrymachine.com', 'first_name126', 'last_name126', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46811
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46812
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46813
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user127@hungrymachine.com' LIMIT 1
46814
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user127@hungrymachine.com', 'first_name127', 'last_name127', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46815
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46816
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46817
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description59', 'application59', '2014-01-17 17:17:59', 126)
46818
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46819
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46820
+ 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-17 17:17:59', '0 * * * * ?', 49, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job49', '2014-01-17 17:17:59', 125)
46821
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
46822
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46823
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-17 17:17:59', 49, 'message70', 'failed', '2014-01-17 17:18:09')
46824
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46825
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46826
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user128@hungrymachine.com' LIMIT 1
46827
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user128@hungrymachine.com', 'first_name128', 'last_name128', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46828
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46829
+ Savepoint (0ms) SAVEPOINT active_record_1
46830
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user129@hungrymachine.com' LIMIT 1
46831
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user129@hungrymachine.com', 'first_name129', 'last_name129', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46832
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46833
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46834
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description60', 'application60', '2014-01-17 17:17:59', 128)
46835
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46836
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46837
+ 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\"]', 59, '2014-01-17 17:17:59', '0 * * * * ?', 50, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job50', '2014-01-17 17:17:59', 127)
46838
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46839
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46840
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-17 17:17:59', 50, 'message71', 'failed', '2014-01-17 17:18:09')
46841
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46842
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/job_errors/_job_error.json.jbuilder (4.0ms)
46843
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/job_errors/_job_error.json.jbuilder (0ms)
46844
+ Terminating 5 actors...
46845
+ Shutdown completed cleanly
46846
+ Rearview::MonitorService crashed!
46847
+ Rearview::MonitorService::MonitorServiceError: service already started
46848
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/monitor_service.rb:21:in `startup'
46849
+ org/jruby/RubyKernel.java:1961:in `public_send'
46850
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:25:in `dispatch'
46851
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:67:in `dispatch'
46852
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/actor.rb:326:in `handle_message'
46853
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:42:in `initialize'
46854
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:35:in `initialize'
46855
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks/task_fiber.rb:11:in `create'
46856
+ (celluloid):0:in `remote procedure call'
46857
+ Terminating 4 actors...
46858
+ Shutdown completed cleanly
46859
+ Terminating 5 actors...
46860
+ Shutdown completed cleanly
46861
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46862
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user130@hungrymachine.com' LIMIT 1
46863
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user130@hungrymachine.com', 'first_name130', 'last_name130', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46864
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46865
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46866
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user131@hungrymachine.com' LIMIT 1
46867
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user131@hungrymachine.com', 'first_name131', 'last_name131', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46868
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46869
+ Savepoint (0ms) SAVEPOINT active_record_1
46870
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description61', 'application61', '2014-01-17 17:17:59', 130)
46871
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
46872
+ Savepoint (0ms) SAVEPOINT active_record_1
46873
+ 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-17 17:17:59', '0 * * * * ?', 51, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job51', '2014-01-17 17:17:59', 129)
46874
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46875
+ #<Rearview::MonitorService:0x50f1847f> schedule job: 51
46876
+ Terminating 5 actors...
46877
+ Shutdown completed cleanly
46878
+ Savepoint (0ms) SAVEPOINT active_record_1
46879
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user132@hungrymachine.com' LIMIT 1
46880
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user132@hungrymachine.com', 'first_name132', 'last_name132', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46881
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46882
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46883
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user133@hungrymachine.com' LIMIT 1
46884
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user133@hungrymachine.com', 'first_name133', 'last_name133', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46885
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46886
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46887
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description62', 'application62', '2014-01-17 17:17:59', 132)
46888
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46889
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46890
+ 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-17 17:17:59', '0 * * * * ?', 52, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job52', '2014-01-17 17:17:59', 131)
46891
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46892
+ #<Rearview::MonitorService:0x287cc4fe> schedule job: 52
46893
+ Terminating 5 actors...
46894
+ Shutdown completed cleanly
46895
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46896
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user134@hungrymachine.com' LIMIT 1
46897
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user134@hungrymachine.com', 'first_name134', 'last_name134', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46898
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46899
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46900
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user135@hungrymachine.com' LIMIT 1
46901
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user135@hungrymachine.com', 'first_name135', 'last_name135', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46902
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46903
+ Savepoint (0ms) SAVEPOINT active_record_1
46904
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description63', 'application63', '2014-01-17 17:17:59', 134)
46905
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46906
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46907
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 62, '2014-01-17 17:17:59', '0 * * * * ?', 53, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job53', '2014-01-17 17:17:59', 133)
46908
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46909
+ #<Rearview::MonitorService:0x45132d64> schedule job: 53
46910
+ Rearview::MonitorService crashed!
46911
+ Rearview::MonitorService::MonitorServiceError: service not started
46912
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/monitor_service.rb:35:in `schedule'
46913
+ org/jruby/RubyKernel.java:1961:in `public_send'
46914
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:25:in `dispatch'
46915
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:67:in `dispatch'
46916
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/actor.rb:326:in `handle_message'
46917
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:42:in `initialize'
46918
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:35:in `initialize'
46919
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks/task_fiber.rb:11:in `create'
46920
+ (celluloid):0:in `remote procedure call'
46921
+ Terminating 4 actors...
46922
+ Shutdown completed cleanly
46923
+ Savepoint (0ms) SAVEPOINT active_record_1
46924
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user136@hungrymachine.com' LIMIT 1
46925
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user136@hungrymachine.com', 'first_name136', 'last_name136', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46926
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46927
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46928
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user137@hungrymachine.com' LIMIT 1
46929
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user137@hungrymachine.com', 'first_name137', 'last_name137', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46930
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46931
+ Savepoint (0ms) SAVEPOINT active_record_1
46932
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description64', 'application64', '2014-01-17 17:17:59', 136)
46933
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46934
+ Savepoint (0ms) SAVEPOINT active_record_1
46935
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 63, '2014-01-17 17:17:59', '0 * * * * ?', 54, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job54', '2014-01-17 17:17:59', 135)
46936
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46937
+ #<Rearview::MonitorService:0x3e78bef1> unschedule job: 54
46938
+ Terminating 5 actors...
46939
+ Shutdown completed cleanly
46940
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46941
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user138@hungrymachine.com' LIMIT 1
46942
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user138@hungrymachine.com', 'first_name138', 'last_name138', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46943
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46944
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46945
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user139@hungrymachine.com' LIMIT 1
46946
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user139@hungrymachine.com', 'first_name139', 'last_name139', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46947
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46948
+ Savepoint (0ms) SAVEPOINT active_record_1
46949
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description65', 'application65', '2014-01-17 17:17:59', 138)
46950
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46951
+ Savepoint (0ms) SAVEPOINT active_record_1
46952
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 64, '2014-01-17 17:17:59', '0 * * * * ?', 55, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job55', '2014-01-17 17:17:59', 137)
46953
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46954
+ #<Rearview::MonitorService:0x679e9b19> unschedule job: 55
46955
+ Terminating 5 actors...
46956
+ Shutdown completed cleanly
46957
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46958
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user140@hungrymachine.com' LIMIT 1
46959
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user140@hungrymachine.com', 'first_name140', 'last_name140', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46960
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46961
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46962
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user141@hungrymachine.com' LIMIT 1
46963
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user141@hungrymachine.com', 'first_name141', 'last_name141', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46964
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46965
+ Savepoint (0ms) SAVEPOINT active_record_1
46966
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description66', 'application66', '2014-01-17 17:17:59', 140)
46967
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46968
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46969
+ 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-17 17:17:59', '0 * * * * ?', 56, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job56', '2014-01-17 17:17:59', 139)
46970
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46971
+ #<Rearview::MonitorService:0x4e89e3d0> unschedule job: 56
46972
+ Rearview::MonitorService crashed!
46973
+ Rearview::MonitorService::MonitorServiceError: service not started
46974
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/monitor_service.rb:43:in `unschedule'
46975
+ org/jruby/RubyKernel.java:1961:in `public_send'
46976
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:25:in `dispatch'
46977
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:67:in `dispatch'
46978
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/actor.rb:326:in `handle_message'
46979
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:42:in `initialize'
46980
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:35:in `initialize'
46981
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks/task_fiber.rb:11:in `create'
46982
+ (celluloid):0:in `remote procedure call'
46983
+ Terminating 4 actors...
46984
+ Shutdown completed cleanly
46985
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46986
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user142@hungrymachine.com' LIMIT 1
46987
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user142@hungrymachine.com', 'first_name142', 'last_name142', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46988
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46989
+ Savepoint (1.0ms) SAVEPOINT active_record_1
46990
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user143@hungrymachine.com' LIMIT 1
46991
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user143@hungrymachine.com', 'first_name143', 'last_name143', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
46992
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46993
+ Savepoint (0ms) SAVEPOINT active_record_1
46994
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description67', 'application67', '2014-01-17 17:17:59', 142)
46995
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46996
+ Savepoint (0ms) SAVEPOINT active_record_1
46997
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 66, '2014-01-17 17:17:59', '0 * * * * ?', 57, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job57', '2014-01-17 17:17:59', 141)
46998
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
46999
+ #<Rearview::MonitorService:0x7dc31479>#add job:57 already added
47000
+ Terminating 5 actors...
47001
+ Shutdown completed cleanly
47002
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47003
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user144@hungrymachine.com' LIMIT 1
47004
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user144@hungrymachine.com', 'first_name144', 'last_name144', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47005
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47006
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47007
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user145@hungrymachine.com' LIMIT 1
47008
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user145@hungrymachine.com', 'first_name145', 'last_name145', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47009
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47010
+ Savepoint (0ms) SAVEPOINT active_record_1
47011
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description68', 'application68', '2014-01-17 17:17:59', 144)
47012
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
47013
+ Savepoint (0ms) SAVEPOINT active_record_1
47014
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 67, '2014-01-17 17:17:59', '0 * * * * ?', 58, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job58', '2014-01-17 17:17:59', 143)
47015
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47016
+ Terminating 5 actors...
47017
+ Shutdown completed cleanly
47018
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47019
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user146@hungrymachine.com' LIMIT 1
47020
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user146@hungrymachine.com', 'first_name146', 'last_name146', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47021
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47022
+ Savepoint (0ms) SAVEPOINT active_record_1
47023
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user147@hungrymachine.com' LIMIT 1
47024
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user147@hungrymachine.com', 'first_name147', 'last_name147', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47025
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47026
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47027
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description69', 'application69', '2014-01-17 17:17:59', 146)
47028
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47029
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47030
+ 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-17 17:17:59', '0 * * * * ?', 59, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job59', '2014-01-17 17:17:59', 145)
47031
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47032
+ Rearview::MonitorService crashed!
47033
+ Rearview::MonitorService::MonitorServiceError: service not started
47034
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/monitor_service.rb:49:in `add'
47035
+ org/jruby/RubyKernel.java:1961:in `public_send'
47036
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:25:in `dispatch'
47037
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:67:in `dispatch'
47038
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/actor.rb:326:in `handle_message'
47039
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:42:in `initialize'
47040
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:35:in `initialize'
47041
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks/task_fiber.rb:11:in `create'
47042
+ (celluloid):0:in `remote procedure call'
47043
+ Terminating 4 actors...
47044
+ Shutdown completed cleanly
47045
+ Savepoint (0ms) SAVEPOINT active_record_1
47046
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user148@hungrymachine.com' LIMIT 1
47047
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user148@hungrymachine.com', 'first_name148', 'last_name148', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47048
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47049
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47050
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user149@hungrymachine.com' LIMIT 1
47051
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user149@hungrymachine.com', 'first_name149', 'last_name149', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47052
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47053
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47054
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description70', 'application70', '2014-01-17 17:17:59', 148)
47055
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47056
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47057
+ 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-17 17:17:59', '0 * * * * ?', 60, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job60', '2014-01-17 17:17:59', 147)
47058
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47059
+ #<Rearview::MonitorService:0xc7255fe>#remove job:60 has already been removed
47060
+ Terminating 5 actors...
47061
+ Shutdown completed cleanly
47062
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47063
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user150@hungrymachine.com' LIMIT 1
47064
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user150@hungrymachine.com', 'first_name150', 'last_name150', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47065
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47066
+ Savepoint (0ms) SAVEPOINT active_record_1
47067
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user151@hungrymachine.com' LIMIT 1
47068
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user151@hungrymachine.com', 'first_name151', 'last_name151', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47069
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47070
+ Savepoint (0ms) SAVEPOINT active_record_1
47071
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description71', 'application71', '2014-01-17 17:17:59', 150)
47072
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47073
+ Savepoint (0ms) SAVEPOINT active_record_1
47074
+ 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-17 17:17:59', '0 * * * * ?', 61, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job61', '2014-01-17 17:17:59', 149)
47075
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47076
+ Terminating 5 actors...
47077
+ Shutdown completed cleanly
47078
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47079
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user152@hungrymachine.com' LIMIT 1
47080
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user152@hungrymachine.com', 'first_name152', 'last_name152', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47081
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
47082
+ Savepoint (0ms) SAVEPOINT active_record_1
47083
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user153@hungrymachine.com' LIMIT 1
47084
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user153@hungrymachine.com', 'first_name153', 'last_name153', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47085
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
47086
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47087
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description72', 'application72', '2014-01-17 17:17:59', 152)
47088
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47089
+ Savepoint (0ms) SAVEPOINT active_record_1
47090
+ 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-17 17:17:59', '0 * * * * ?', 62, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job62', '2014-01-17 17:17:59', 151)
47091
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47092
+ Rearview::MonitorService crashed!
47093
+ Rearview::MonitorService::MonitorServiceError: service not started
47094
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/monitor_service.rb:58:in `remove'
47095
+ org/jruby/RubyKernel.java:1961:in `public_send'
47096
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:25:in `dispatch'
47097
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:67:in `dispatch'
47098
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/actor.rb:326:in `handle_message'
47099
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:42:in `initialize'
47100
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:35:in `initialize'
47101
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks/task_fiber.rb:11:in `create'
47102
+ (celluloid):0:in `remote procedure call'
47103
+ Terminating 4 actors...
47104
+ Shutdown completed cleanly
47105
+ Rearview::MonitorService crashed!
47106
+ Rearview::MonitorService::MonitorServiceError: service not started
47107
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/monitor_service.rb:28:in `shutdown'
47108
+ org/jruby/RubyKernel.java:1961:in `public_send'
47109
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:25:in `dispatch'
47110
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:67:in `dispatch'
47111
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/actor.rb:326:in `handle_message'
47112
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:42:in `initialize'
47113
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:35:in `initialize'
47114
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks/task_fiber.rb:11:in `create'
47115
+ (celluloid):0:in `remote procedure call'
47116
+ Terminating 4 actors...
47117
+ Shutdown completed cleanly
47118
+ Rearview::MonitorRunner [threadId:1 threadName:main] eval
47119
+ Rearview::MonitorRunner [threadId:1 threadName:main] exec_process
47120
+ 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_script20140117-71760-ihi9xl"]
47121
+ Rearview::MonitorRunner [threadId:1 threadName:main] exec_process start
47122
+ Rearview::MonitorRunner [threadId:1 threadName:main] eval
47123
+ Rearview::MonitorRunner [threadId:1 threadName:main] exec_process
47124
+ 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_script20140117-71760-1lrozo4"]
47125
+ Rearview::MonitorRunner [threadId:1 threadName:main] exec_process start
47126
+ Rearview::MonitorRunner [threadId:1 threadName:main] eval
47127
+ Rearview::MonitorRunner [threadId:1 threadName:main] exec_process
47128
+ 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_script20140117-71760-1b42e7o"]
47129
+ Rearview::MonitorRunner [threadId:1 threadName:main] exec_process start
47130
+ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates minutes: to_date:
47131
+ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates from:16:17_20140117 to:17:17_20140117
47132
+ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates minutes:60 to_date:now
47133
+ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates from:16:17_20140117 to:17:17_20140117
47134
+ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates minutes: to_date:now
47135
+ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates from:16:17_20140117 to:17:17_20140117
47136
+ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates minutes: to_date:10/01/2013 12:01
47137
+ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates from:11:00_20131001 to:12:00_20131001
47138
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47139
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user154@hungrymachine.com' LIMIT 1
47140
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user154@hungrymachine.com', 'first_name154', 'last_name154', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47141
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47142
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47143
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description73', 'application73', '2014-01-17 17:17:59', 153)
47144
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
47145
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47146
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user155@hungrymachine.com' LIMIT 1
47147
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user155@hungrymachine.com', 'first_name155', 'last_name155', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47148
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47149
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47150
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description74', 'application74', '2014-01-17 17:17:59', 154)
47151
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47152
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`ancestry` = '72'
47153
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/dashboards/_dashboard.json.jbuilder (3.0ms)
47154
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`ancestry` = '73'
47155
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/dashboards/_dashboard.json.jbuilder (2.0ms)
47156
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47157
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user156@hungrymachine.com' LIMIT 1
47158
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user156@hungrymachine.com', 'first_name156', 'last_name156', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47159
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
47160
+ Savepoint (0ms) SAVEPOINT active_record_1
47161
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user157@hungrymachine.com' LIMIT 1
47162
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user157@hungrymachine.com', 'first_name157', 'last_name157', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47163
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47164
+ Savepoint (0ms) SAVEPOINT active_record_1
47165
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description75', 'application75', '2014-01-17 17:17:59', 156)
47166
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47167
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47168
+ 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-17 17:17:59', '0 * * * * ?', 63, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job63', '2014-01-17 17:17:59', 155)
47169
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47170
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/jobs/_job.json.jbuilder (2.0ms)
47171
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47172
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user158@hungrymachine.com' LIMIT 1
47173
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user158@hungrymachine.com', 'first_name158', 'last_name158', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47174
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47175
+ Processing by Rearview::UserController#update as JSON
47176
+ Parameters: {"preferences"=>{"pref1"=>"val1", "pref2"=>"val2"}}
47177
+ Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms)
47178
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47179
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user159@hungrymachine.com' LIMIT 1
47180
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user159@hungrymachine.com', 'first_name159', 'last_name159', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47181
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47182
+ Processing by Rearview::UserController#show as JSON
47183
+ Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
47184
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47185
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user160@hungrymachine.com' LIMIT 1
47186
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user160@hungrymachine.com', 'first_name160', 'last_name160', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47187
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47188
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47189
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user161@hungrymachine.com' LIMIT 1
47190
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user161@hungrymachine.com', 'first_name161', 'last_name161', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47191
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47192
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47193
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description76', 'application76', '2014-01-17 17:17:59', 160)
47194
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47195
+ Savepoint (0ms) SAVEPOINT active_record_1
47196
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"campfire://mycompany.com?token=abc&room=myroom\"]', 75, '2014-01-17 17:17:59', '0 * * * * ?', 64, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job64', '2014-01-17 17:17:59', 159)
47197
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
47198
+ #<Rearview::Alerts::CampfireAlert:0x6af5098a> send alert for #<Rearview::Job id: 64, created_at: "2014-01-17 17:17:59", updated_at: "2014-01-17 17:17:59", name: "job64", active: true, last_run: nil, cron_expr: "0 * * * * ?", status: nil, user_id: 159, alert_keys: ["campfire://mycompany.com?token=abc&room=myroom"], deleted_at: nil, error_timeout: 60, next_run: nil, description: nil, app_id: 75, metrics: ["stats_counts.cupcake.web_traffic.impression"], monitor_expr: "puts 'hello, world!'", minutes: 1, to_date: nil> and key campfire://mycompany.com?token=abc&room=myroom with params {"scheme"=>"campfire", "account"=>"mycompany.com", "token"=>"abc", "room"=>"myroom", "use_ssl"=>true}
47199
+ Savepoint (0ms) SAVEPOINT active_record_1
47200
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user162@hungrymachine.com' LIMIT 1
47201
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user162@hungrymachine.com', 'first_name162', 'last_name162', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47202
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47203
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47204
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user163@hungrymachine.com' LIMIT 1
47205
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user163@hungrymachine.com', 'first_name163', 'last_name163', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47206
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47207
+ Savepoint (0ms) SAVEPOINT active_record_1
47208
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description77', 'application77', '2014-01-17 17:17:59', 162)
47209
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47210
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47211
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"campfire://mycompany.com?token=abc&room=myroom\"]', 76, '2014-01-17 17:17:59', '0 * * * * ?', 65, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job65', '2014-01-17 17:17:59', 161)
47212
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47213
+ #<Rearview::Alerts::CampfireAlert:0x5fa4a45b> send alert for #<Rearview::Job id: 65, created_at: "2014-01-17 17:17:59", updated_at: "2014-01-17 17:17:59", name: "job65", active: true, last_run: nil, cron_expr: "0 * * * * ?", status: nil, user_id: 161, alert_keys: ["campfire://mycompany.com?token=abc&room=myroom"], deleted_at: nil, error_timeout: 60, next_run: nil, description: nil, app_id: 76, metrics: ["stats_counts.cupcake.web_traffic.impression"], monitor_expr: "puts 'hello, world!'", minutes: 1, to_date: nil> and key campfire://mycompany.com?token=abc&room=myroom with params {"scheme"=>"campfire", "account"=>"mycompany.com", "token"=>"abc", "room"=>"myroom", "use_ssl"=>true}
47214
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47215
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user164@hungrymachine.com' LIMIT 1
47216
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user164@hungrymachine.com', 'first_name164', 'last_name164', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47217
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47218
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47219
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user165@hungrymachine.com' LIMIT 1
47220
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user165@hungrymachine.com', 'first_name165', 'last_name165', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47221
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
47222
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47223
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description78', 'application78', '2014-01-17 17:17:59', 164)
47224
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47225
+ Savepoint (0ms) SAVEPOINT active_record_1
47226
+ 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\"]', 77, '2014-01-17 17:17:59', '0 * * * * ?', 66, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job66', '2014-01-17 17:17:59', 163)
47227
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47228
+ Savepoint (0ms) SAVEPOINT active_record_1
47229
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user166@hungrymachine.com' LIMIT 1
47230
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user166@hungrymachine.com', 'first_name166', 'last_name166', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47231
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47232
+ Savepoint (0ms) SAVEPOINT active_record_1
47233
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user167@hungrymachine.com' LIMIT 1
47234
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user167@hungrymachine.com', 'first_name167', 'last_name167', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47235
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47236
+ Savepoint (0ms) SAVEPOINT active_record_1
47237
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description79', 'application79', '2014-01-17 17:17:59', 166)
47238
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47239
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47240
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 78, '2014-01-17 17:17:59', '0 * * * * ?', 67, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job67', '2014-01-17 17:17:59', 165)
47241
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47242
+ Savepoint (0ms) SAVEPOINT active_record_1
47243
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user168@hungrymachine.com' LIMIT 1
47244
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user168@hungrymachine.com', 'first_name168', 'last_name168', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47245
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47246
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47247
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user169@hungrymachine.com' LIMIT 1
47248
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user169@hungrymachine.com', 'first_name169', 'last_name169', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47249
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47250
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47251
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description80', 'application80', '2014-01-17 17:17:59', 168)
47252
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47253
+ Savepoint (0ms) SAVEPOINT active_record_1
47254
+ 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\"]', 79, '2014-01-17 17:17:59', '0 * * * * ?', 68, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job68', '2014-01-17 17:17:59', 167)
47255
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47256
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47257
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user170@hungrymachine.com' LIMIT 1
47258
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user170@hungrymachine.com', 'first_name170', 'last_name170', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47259
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47260
+ Savepoint (0ms) SAVEPOINT active_record_1
47261
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user171@hungrymachine.com' LIMIT 1
47262
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user171@hungrymachine.com', 'first_name171', 'last_name171', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47263
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47264
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47265
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description81', 'application81', '2014-01-17 17:17:59', 170)
47266
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
47267
+ Savepoint (0ms) SAVEPOINT active_record_1
47268
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 80, '2014-01-17 17:17:59', '0 * * * * ?', 69, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job69', '2014-01-17 17:17:59', 169)
47269
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47270
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47271
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user172@hungrymachine.com' LIMIT 1
47272
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user172@hungrymachine.com', 'first_name172', 'last_name172', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47273
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
47274
+ Savepoint (0ms) SAVEPOINT active_record_1
47275
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user173@hungrymachine.com' LIMIT 1
47276
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user173@hungrymachine.com', 'first_name173', 'last_name173', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47277
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47278
+ Savepoint (0ms) SAVEPOINT active_record_1
47279
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description82', 'application82', '2014-01-17 17:17:59', 172)
47280
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47281
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47282
+ 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\"]', 81, '2014-01-17 17:17:59', '0 * * * * ?', 70, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job70', '2014-01-17 17:17:59', 171)
47283
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47284
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47285
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user174@hungrymachine.com' LIMIT 1
47286
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user174@hungrymachine.com', 'first_name174', 'last_name174', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47287
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47288
+ Savepoint (0ms) SAVEPOINT active_record_1
47289
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user175@hungrymachine.com' LIMIT 1
47290
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user175@hungrymachine.com', 'first_name175', 'last_name175', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47291
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47292
+ Savepoint (0ms) SAVEPOINT active_record_1
47293
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description83', 'application83', '2014-01-17 17:17:59', 174)
47294
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
47295
+ Savepoint (0ms) SAVEPOINT active_record_1
47296
+ 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\"]', 82, '2014-01-17 17:17:59', '0 * * * * ?', 71, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job71', '2014-01-17 17:17:59', 173)
47297
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47298
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47299
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user176@hungrymachine.com' LIMIT 1
47300
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user176@hungrymachine.com', 'first_name176', 'last_name176', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47301
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47302
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47303
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user177@hungrymachine.com' LIMIT 1
47304
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user177@hungrymachine.com', 'first_name177', 'last_name177', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47305
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47306
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47307
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description84', 'application84', '2014-01-17 17:17:59', 176)
47308
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47309
+ Savepoint (0ms) SAVEPOINT active_record_1
47310
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 83, '2014-01-17 17:17:59', '0 * * * * ?', 72, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job72', '2014-01-17 17:17:59', 175)
47311
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47312
+ Savepoint (0ms) SAVEPOINT active_record_1
47313
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user178@hungrymachine.com' LIMIT 1
47314
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user178@hungrymachine.com', 'first_name178', 'last_name178', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47315
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47316
+ Savepoint (0ms) SAVEPOINT active_record_1
47317
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user179@hungrymachine.com' LIMIT 1
47318
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user179@hungrymachine.com', 'first_name179', 'last_name179', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47319
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47320
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47321
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description85', 'application85', '2014-01-17 17:17:59', 178)
47322
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47323
+ Savepoint (0ms) SAVEPOINT active_record_1
47324
+ 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\"]', 84, '2014-01-17 17:17:59', '0 * * * * ?', 73, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job73', '2014-01-17 17:17:59', 177)
47325
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47326
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47327
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user180@hungrymachine.com' LIMIT 1
47328
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user180@hungrymachine.com', 'first_name180', 'last_name180', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47329
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47330
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47331
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description86', 'application86', '2014-01-17 17:17:59', 179)
47332
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47333
+ Savepoint (0ms) SAVEPOINT active_record_1
47334
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user181@hungrymachine.com' LIMIT 1
47335
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user181@hungrymachine.com', 'first_name181', 'last_name181', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47336
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47337
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47338
+ SQL (1.0ms) INSERT INTO `applications` (`ancestry`, `created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('85', '2014-01-17 17:17:59', 'description87', 'application87', '2014-01-17 17:17:59', 180)
47339
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47340
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47341
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user182@hungrymachine.com' LIMIT 1
47342
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user182@hungrymachine.com', 'first_name182', 'last_name182', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47343
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47344
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47345
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user183@hungrymachine.com' LIMIT 1
47346
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user183@hungrymachine.com', 'first_name183', 'last_name183', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47347
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47348
+ Savepoint (0ms) SAVEPOINT active_record_1
47349
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description88', 'application88', '2014-01-17 17:17:59', 182)
47350
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47351
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47352
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 86 ORDER BY `applications`.`id` ASC LIMIT 1
47353
+ 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\"]', 86, '2014-01-17 17:17:59', '0 * * * * ?', 74, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job74', '2014-01-17 17:17:59', 181)
47354
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47355
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 85 LIMIT 1
47356
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47357
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user184@hungrymachine.com' LIMIT 1
47358
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user184@hungrymachine.com', 'first_name184', 'last_name184', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47359
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47360
+ Savepoint (0ms) SAVEPOINT active_record_1
47361
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user185@hungrymachine.com' LIMIT 1
47362
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user185@hungrymachine.com', 'first_name185', 'last_name185', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47363
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47364
+ Savepoint (0ms) SAVEPOINT active_record_1
47365
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description89', 'application89', '2014-01-17 17:17:59', 184)
47366
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47367
+ Savepoint (0ms) SAVEPOINT active_record_1
47368
+ 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\"]', 88, '2014-01-17 17:17:59', '0 * * * * ?', 75, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job75', '2014-01-17 17:17:59', 183)
47369
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47370
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47371
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user186@hungrymachine.com' LIMIT 1
47372
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user186@hungrymachine.com', 'first_name186', 'last_name186', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47373
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47374
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47375
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user187@hungrymachine.com' LIMIT 1
47376
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user187@hungrymachine.com', 'first_name187', 'last_name187', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47377
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47378
+ Savepoint (0ms) SAVEPOINT active_record_1
47379
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description90', 'application90', '2014-01-17 17:17:59', 186)
47380
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47381
+ Savepoint (0ms) SAVEPOINT active_record_1
47382
+ 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\"]', 89, '2014-01-17 17:17:59', '0 * * * * ?', 76, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job76', '2014-01-17 17:17:59', 185)
47383
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47384
+ Savepoint (0ms) SAVEPOINT active_record_1
47385
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user188@hungrymachine.com' LIMIT 1
47386
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user188@hungrymachine.com', 'first_name188', 'last_name188', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47387
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47388
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47389
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user189@hungrymachine.com' LIMIT 1
47390
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user189@hungrymachine.com', 'first_name189', 'last_name189', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47391
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47392
+ Savepoint (0ms) SAVEPOINT active_record_1
47393
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description91', 'application91', '2014-01-17 17:17:59', 188)
47394
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47395
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47396
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 90, '2014-01-17 17:17:59', '0 * * * * ?', 77, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job77', '2014-01-17 17:17:59', 187)
47397
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47398
+ Savepoint (0ms) SAVEPOINT active_record_1
47399
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user190@hungrymachine.com' LIMIT 1
47400
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user190@hungrymachine.com', 'first_name190', 'last_name190', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47401
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47402
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47403
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user191@hungrymachine.com' LIMIT 1
47404
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user191@hungrymachine.com', 'first_name191', 'last_name191', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47405
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47406
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47407
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description92', 'application92', '2014-01-17 17:17:59', 190)
47408
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47409
+ Savepoint (0ms) SAVEPOINT active_record_1
47410
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 91, '2014-01-17 17:17:59', '0 * * * * ?', 78, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job78', '2014-01-17 17:17:59', 189)
47411
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47412
+ Savepoint (0ms) SAVEPOINT active_record_1
47413
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user192@hungrymachine.com' LIMIT 1
47414
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user192@hungrymachine.com', 'first_name192', 'last_name192', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47415
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47416
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47417
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user193@hungrymachine.com' LIMIT 1
47418
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user193@hungrymachine.com', 'first_name193', 'last_name193', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47419
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47420
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47421
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description93', 'application93', '2014-01-17 17:17:59', 192)
47422
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47423
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47424
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 92, '2014-01-17 17:17:59', '0 * * * * ?', 79, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job79', '2014-01-17 17:17:59', 191)
47425
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47426
+ Savepoint (0ms) SAVEPOINT active_record_1
47427
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user194@hungrymachine.com' LIMIT 1
47428
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user194@hungrymachine.com', 'first_name194', 'last_name194', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47429
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47430
+ Savepoint (0ms) SAVEPOINT active_record_1
47431
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user195@hungrymachine.com' LIMIT 1
47432
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user195@hungrymachine.com', 'first_name195', 'last_name195', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47433
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47434
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47435
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description94', 'application94', '2014-01-17 17:17:59', 194)
47436
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47437
+ Savepoint (0ms) SAVEPOINT active_record_1
47438
+ 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\"]', 93, '2014-01-17 17:17:59', '0 * * * * ?', 80, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job80', '2014-01-17 17:17:59', 193)
47439
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47440
+ Savepoint (0ms) SAVEPOINT active_record_1
47441
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user196@hungrymachine.com' LIMIT 1
47442
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user196@hungrymachine.com', 'first_name196', 'last_name196', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47443
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47444
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47445
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user197@hungrymachine.com' LIMIT 1
47446
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user197@hungrymachine.com', 'first_name197', 'last_name197', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47447
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
47448
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47449
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description95', 'application95', '2014-01-17 17:17:59', 196)
47450
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47451
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47452
+ 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-17 17:17:59', '0 * * * * ?', 81, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job81', '2014-01-17 17:17:59', 195)
47453
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47454
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47455
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user198@hungrymachine.com' LIMIT 1
47456
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user198@hungrymachine.com', 'first_name198', 'last_name198', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47457
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47458
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47459
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user199@hungrymachine.com' LIMIT 1
47460
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user199@hungrymachine.com', 'first_name199', 'last_name199', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47461
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47462
+ Savepoint (0ms) SAVEPOINT active_record_1
47463
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description96', 'application96', '2014-01-17 17:17:59', 198)
47464
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47465
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47466
+ 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\"]', 95, '2014-01-17 17:17:59', '0 * * * * ?', 82, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job82', 'success', '2014-01-17 17:17:59', 197)
47467
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47468
+ Savepoint (0ms) SAVEPOINT active_record_1
47469
+ SQL (1.0ms) INSERT INTO `job_data` (`created_at`, `data`, `job_id`, `updated_at`) VALUES ('2014-01-17 17:17:59', '{\"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]]}}', 82, '2014-01-17 17:17:59')
47470
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47471
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47472
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-17 17:17:59', 82, 'message72', 'failed', '2014-01-17 17:18:19')
47473
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47474
+ Savepoint (0ms) SAVEPOINT active_record_1
47475
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-17 17:17:59', 82, 'message73', 'success', '2014-01-17 17:18:19')
47476
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47477
+ Rearview::JobData Load (1.0ms) SELECT `job_data`.* FROM `job_data` WHERE `job_data`.`job_id` = 82 ORDER BY `job_data`.`id` ASC LIMIT 1
47478
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47479
+ SQL (1.0ms) DELETE FROM `job_data` WHERE `job_data`.`id` = 6
47480
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47481
+ 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.
47482
+ Rearview::JobError Load (2.0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 82
47483
+ Savepoint (0ms) SAVEPOINT active_record_1
47484
+ SQL (0ms) DELETE FROM `job_errors` WHERE `job_errors`.`id` = 73
47485
+ SQL (1.0ms) DELETE FROM `job_errors` WHERE `job_errors`.`id` = 74
47486
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47487
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47488
+ SQL (1.0ms) UPDATE `jobs` SET `status` = NULL, `updated_at` = '2014-01-17 17:18:19', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 82
47489
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47490
+ Rearview::Job Load (2.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`id` = 82 LIMIT 1
47491
+ Rearview::JobData Load (1.0ms) SELECT `job_data`.* FROM `job_data` WHERE `job_data`.`job_id` = 82 ORDER BY `job_data`.`id` ASC LIMIT 1
47492
+  (1.0ms) SELECT COUNT(*) FROM `job_errors` WHERE `job_errors`.`job_id` = 82
47493
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47494
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user200@hungrymachine.com' LIMIT 1
47495
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user200@hungrymachine.com', 'first_name200', 'last_name200', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47496
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47497
+ Savepoint (0ms) SAVEPOINT active_record_1
47498
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user201@hungrymachine.com' LIMIT 1
47499
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user201@hungrymachine.com', 'first_name201', 'last_name201', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47500
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47501
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47502
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description97', 'application97', '2014-01-17 17:17:59', 200)
47503
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47504
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47505
+ 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\"]', 96, '2014-01-17 17:17:59', '0 * * * * ?', 83, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job83', 'success', '2014-01-17 17:17:59', 199)
47506
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47507
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47508
+ SQL (1.0ms) INSERT INTO `job_data` (`created_at`, `data`, `job_id`, `updated_at`) VALUES ('2014-01-17 17:17:59', '{\"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]]}}', 83, '2014-01-17 17:17:59')
47509
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47510
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47511
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-17 17:17:59', 83, 'message74', 'failed', '2014-01-17 17:18:19')
47512
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47513
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47514
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-17 17:17:59', 83, 'message75', 'success', '2014-01-17 17:18:19')
47515
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47516
+ Rearview::JobData Load (1.0ms) SELECT `job_data`.* FROM `job_data` WHERE `job_data`.`job_id` = 83 ORDER BY `job_data`.`id` ASC LIMIT 1
47517
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47518
+ SQL (1.0ms) DELETE FROM `job_data` WHERE `job_data`.`id` = 7
47519
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47520
+ 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.
47521
+ Rearview::JobError Load (3.0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 83
47522
+ Savepoint (0ms) SAVEPOINT active_record_1
47523
+ SQL (1.0ms) DELETE FROM `job_errors` WHERE `job_errors`.`id` = 75
47524
+ SQL (0ms) DELETE FROM `job_errors` WHERE `job_errors`.`id` = 76
47525
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47526
+ Savepoint (0ms) SAVEPOINT active_record_1
47527
+ SQL (1.0ms) UPDATE `jobs` SET `status` = NULL, `updated_at` = '2014-01-17 17:18:19', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 83
47528
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47529
+ Rearview::Job Load (2.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`id` = 83 LIMIT 1
47530
+ Rearview::JobData Load (0ms) SELECT `job_data`.* FROM `job_data` WHERE `job_data`.`job_id` = 83 ORDER BY `job_data`.`id` ASC LIMIT 1
47531
+  (1.0ms) SELECT COUNT(*) FROM `job_errors` WHERE `job_errors`.`job_id` = 83
47532
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47533
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user202@hungrymachine.com' LIMIT 1
47534
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user202@hungrymachine.com', 'first_name202', 'last_name202', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47535
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47536
+ Savepoint (0ms) SAVEPOINT active_record_1
47537
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user203@hungrymachine.com' LIMIT 1
47538
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user203@hungrymachine.com', 'first_name203', 'last_name203', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47539
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
47540
+ Savepoint (0ms) SAVEPOINT active_record_1
47541
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description98', 'application98', '2014-01-17 17:17:59', 202)
47542
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47543
+ Savepoint (0ms) SAVEPOINT active_record_1
47544
+ 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-17 17:17:59', '0 * * * * ?', 84, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job84', '2014-01-17 17:17:59', 201)
47545
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47546
+ Savepoint (0ms) SAVEPOINT active_record_1
47547
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user204@hungrymachine.com' LIMIT 1
47548
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user204@hungrymachine.com', 'first_name204', 'last_name204', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47549
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47550
+ Savepoint (0ms) SAVEPOINT active_record_1
47551
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user205@hungrymachine.com' LIMIT 1
47552
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user205@hungrymachine.com', 'first_name205', 'last_name205', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47553
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47554
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47555
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description99', 'application99', '2014-01-17 17:17:59', 204)
47556
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47557
+ Savepoint (0ms) SAVEPOINT active_record_1
47558
+ 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-17 17:17:59', '0 * * * * ?', 85, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job85', '2014-01-17 17:17:59', 203)
47559
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47560
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47561
+ Rearview::JobData Load (0ms) SELECT `job_data`.* FROM `job_data` WHERE `job_data`.`job_id` = 85 ORDER BY `job_data`.`id` ASC LIMIT 1
47562
+ Rearview::JobError Load (1.0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 85
47563
+ SQL (1.0ms) DELETE FROM `jobs` WHERE `jobs`.`id` = 85
47564
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47565
+ Savepoint (0ms) SAVEPOINT active_record_1
47566
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user206@hungrymachine.com' LIMIT 1
47567
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user206@hungrymachine.com', 'first_name206', 'last_name206', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47568
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
47569
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47570
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user207@hungrymachine.com' LIMIT 1
47571
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user207@hungrymachine.com', 'first_name207', 'last_name207', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47572
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47573
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47574
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description100', 'application100', '2014-01-17 17:17:59', 206)
47575
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47576
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47577
+ 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\"]', 99, '2014-01-17 17:17:59', '0 * * * * ?', 86, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job86', '2014-01-17 17:17:59', 205)
47578
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47579
+ Savepoint (0ms) SAVEPOINT active_record_1
47580
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user208@hungrymachine.com' LIMIT 1
47581
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user208@hungrymachine.com', 'first_name208', 'last_name208', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47582
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47583
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47584
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user209@hungrymachine.com' LIMIT 1
47585
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user209@hungrymachine.com', 'first_name209', 'last_name209', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47586
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47587
+ Savepoint (0ms) SAVEPOINT active_record_1
47588
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description101', 'application101', '2014-01-17 17:17:59', 208)
47589
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47590
+ Savepoint (0ms) SAVEPOINT active_record_1
47591
+ 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\"]', 100, '2014-01-17 17:17:59', '0 * * * * ?', 87, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job87', '2014-01-17 17:17:59', 207)
47592
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47593
+  (0ms) SELECT COUNT(*) FROM `jobs` WHERE `jobs`.`active` = 1
47594
+ Rearview::Job Load (1.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`active` = 1 ORDER BY `jobs`.`id` ASC LIMIT 1
47595
+ Savepoint (0ms) SAVEPOINT active_record_1
47596
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user210@hungrymachine.com' LIMIT 1
47597
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user210@hungrymachine.com', 'first_name210', 'last_name210', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47598
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
47599
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47600
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user211@hungrymachine.com' LIMIT 1
47601
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user211@hungrymachine.com', 'first_name211', 'last_name211', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47602
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47603
+ Savepoint (0ms) SAVEPOINT active_record_1
47604
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description102', 'application102', '2014-01-17 17:17:59', 210)
47605
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47606
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47607
+ 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\"]', 101, '2014-01-17 17:17:59', '0 * * * * ?', 88, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job88', 'error', '2014-01-17 17:17:59', 209)
47608
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47609
+ Savepoint (0ms) SAVEPOINT active_record_1
47610
+ SQL (1.0ms) UPDATE `jobs` SET `status` = 'success', `updated_at` = '2014-01-17 17:18:19', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 88
47611
+ #<Rearview::Job:0x5005e58>#create_associated_event for transition #<StateMachine::Transition attribute=:status event=:success from="error" from_name=:error to="success" to_name=:success>
47612
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47613
+ Savepoint (0ms) SAVEPOINT active_record_1
47614
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user212@hungrymachine.com' LIMIT 1
47615
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user212@hungrymachine.com', 'first_name212', 'last_name212', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47616
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47617
+ Savepoint (0ms) SAVEPOINT active_record_1
47618
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user213@hungrymachine.com' LIMIT 1
47619
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user213@hungrymachine.com', 'first_name213', 'last_name213', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47620
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47621
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47622
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description103', 'application103', '2014-01-17 17:17:59', 212)
47623
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47624
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47625
+ 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-17 17:17:59', '0 * * * * ?', 89, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job89', '2014-01-17 17:17:59', 211)
47626
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47627
+ Savepoint (0ms) SAVEPOINT active_record_1
47628
+ SQL (0ms) UPDATE `jobs` SET `status` = 'success', `updated_at` = '2014-01-17 17:18:19', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 89
47629
+ #<Rearview::Job:0xbf48a6>#create_associated_event for transition #<StateMachine::Transition attribute=:status event=:success from=nil from_name=nil to="success" to_name=:success>
47630
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
47631
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47632
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user214@hungrymachine.com' LIMIT 1
47633
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user214@hungrymachine.com', 'first_name214', 'last_name214', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47634
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47635
+ Savepoint (0ms) SAVEPOINT active_record_1
47636
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user215@hungrymachine.com' LIMIT 1
47637
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user215@hungrymachine.com', 'first_name215', 'last_name215', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47638
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47639
+ Savepoint (0ms) SAVEPOINT active_record_1
47640
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description104', 'application104', '2014-01-17 17:17:59', 214)
47641
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47642
+ Savepoint (0ms) SAVEPOINT active_record_1
47643
+ 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\"]', 103, '2014-01-17 17:17:59', '0 * * * * ?', 90, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job90', 'success', '2014-01-17 17:17:59', 213)
47644
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47645
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47646
+ SQL (1.0ms) UPDATE `jobs` SET `updated_at` = '2014-01-17 17:18:19', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 90
47647
+ #<Rearview::Job:0x449d92e2>#update_associated_event for transition #<StateMachine::Transition attribute=:status event=:success from="success" from_name=:success to="success" to_name=:success>
47648
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47649
+ Savepoint (0ms) SAVEPOINT active_record_1
47650
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user216@hungrymachine.com' LIMIT 1
47651
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user216@hungrymachine.com', 'first_name216', 'last_name216', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47652
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47653
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47654
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user217@hungrymachine.com' LIMIT 1
47655
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user217@hungrymachine.com', 'first_name217', 'last_name217', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47656
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47657
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47658
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description105', 'application105', '2014-01-17 17:17:59', 216)
47659
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
47660
+ Savepoint (0ms) SAVEPOINT active_record_1
47661
+ 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\"]', 104, '2014-01-17 17:17:59', '0 * * * * ?', 91, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job91', 'success', '2014-01-17 17:17:59', 215)
47662
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47663
+ Savepoint (0ms) SAVEPOINT active_record_1
47664
+ SQL (1.0ms) UPDATE `jobs` SET `status` = 'error', `updated_at` = '2014-01-17 17:18:19', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 91
47665
+ #<Rearview::Job:0x981f1f2>#create_associated_event for transition #<StateMachine::Transition attribute=:status event=:error from="success" from_name=:success to="error" to_name=:error>
47666
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47667
+ Savepoint (0ms) SAVEPOINT active_record_1
47668
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user218@hungrymachine.com' LIMIT 1
47669
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user218@hungrymachine.com', 'first_name218', 'last_name218', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47670
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47671
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47672
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user219@hungrymachine.com' LIMIT 1
47673
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user219@hungrymachine.com', 'first_name219', 'last_name219', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47674
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47675
+ Savepoint (0ms) SAVEPOINT active_record_1
47676
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description106', 'application106', '2014-01-17 17:17:59', 218)
47677
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47678
+ Savepoint (0ms) SAVEPOINT active_record_1
47679
+ 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\"]', 105, '2014-01-17 17:17:59', '0 * * * * ?', 92, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job92', '2014-01-17 17:17:59', 217)
47680
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47681
+ Savepoint (0ms) SAVEPOINT active_record_1
47682
+ SQL (0ms) UPDATE `jobs` SET `status` = 'error', `updated_at` = '2014-01-17 17:18:19', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 92
47683
+ #<Rearview::Job:0x3fe058d8>#create_associated_event for transition #<StateMachine::Transition attribute=:status event=:error from=nil from_name=nil to="error" to_name=:error>
47684
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47685
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47686
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user220@hungrymachine.com' LIMIT 1
47687
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user220@hungrymachine.com', 'first_name220', 'last_name220', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47688
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47689
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47690
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user221@hungrymachine.com' LIMIT 1
47691
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user221@hungrymachine.com', 'first_name221', 'last_name221', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47692
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47693
+ Savepoint (0ms) SAVEPOINT active_record_1
47694
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description107', 'application107', '2014-01-17 17:17:59', 220)
47695
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47696
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47697
+ 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\"]', 106, '2014-01-17 17:17:59', '0 * * * * ?', 93, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job93', 'error', '2014-01-17 17:17:59', 219)
47698
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47699
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47700
+ SQL (1.0ms) UPDATE `jobs` SET `updated_at` = '2014-01-17 17:18:19', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 93
47701
+ #<Rearview::Job:0x7d41f09c>#update_associated_event for transition #<StateMachine::Transition attribute=:status event=:error from="error" from_name=:error to="error" to_name=:error>
47702
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
47703
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47704
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user222@hungrymachine.com' LIMIT 1
47705
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user222@hungrymachine.com', 'first_name222', 'last_name222', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47706
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47707
+ Savepoint (0ms) SAVEPOINT active_record_1
47708
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user223@hungrymachine.com' LIMIT 1
47709
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user223@hungrymachine.com', 'first_name223', 'last_name223', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47710
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47711
+ Savepoint (0ms) SAVEPOINT active_record_1
47712
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description108', 'application108', '2014-01-17 17:17:59', 222)
47713
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47714
+ Savepoint (0ms) SAVEPOINT active_record_1
47715
+ 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-17 17:17:59', '0 * * * * ?', 94, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job94', '2014-01-17 17:17:59', 221)
47716
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47717
+ Savepoint (0ms) SAVEPOINT active_record_1
47718
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user224@hungrymachine.com' LIMIT 1
47719
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user224@hungrymachine.com', 'first_name224', 'last_name224', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47720
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47721
+ Savepoint (0ms) SAVEPOINT active_record_1
47722
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user225@hungrymachine.com' LIMIT 1
47723
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user225@hungrymachine.com', 'first_name225', 'last_name225', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47724
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47725
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47726
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description109', 'application109', '2014-01-17 17:17:59', 224)
47727
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47728
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47729
+ 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-17 17:17:59', '0 * * * * ?', 95, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job95', '2014-01-17 17:17:59', 223)
47730
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
47731
+ Savepoint (0ms) SAVEPOINT active_record_1
47732
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user226@hungrymachine.com' LIMIT 1
47733
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user226@hungrymachine.com', 'first_name226', 'last_name226', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47734
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47735
+ Savepoint (0ms) SAVEPOINT active_record_1
47736
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user227@hungrymachine.com' LIMIT 1
47737
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user227@hungrymachine.com', 'first_name227', 'last_name227', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47738
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47739
+ Savepoint (0ms) SAVEPOINT active_record_1
47740
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description110', 'application110', '2014-01-17 17:17:59', 226)
47741
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47742
+ Savepoint (0ms) SAVEPOINT active_record_1
47743
+ 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\"]', 109, '2014-01-17 17:17:59', '0 * * * * ?', 96, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job96', '2014-01-17 17:17:59', 225)
47744
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47745
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47746
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user228@hungrymachine.com' LIMIT 1
47747
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user228@hungrymachine.com', 'first_name228', 'last_name228', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47748
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47749
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47750
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user229@hungrymachine.com' LIMIT 1
47751
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user229@hungrymachine.com', 'first_name229', 'last_name229', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47752
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47753
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47754
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description111', 'application111', '2014-01-17 17:17:59', 228)
47755
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47756
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47757
+ 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\"]', 110, '2014-01-17 17:17:59', '0 * * * * ?', 97, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job97', '2014-01-17 17:17:59', 227)
47758
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47759
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47760
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user230@hungrymachine.com' LIMIT 1
47761
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user230@hungrymachine.com', 'first_name230', 'last_name230', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47762
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47763
+ Processing by Rearview::DashboardsController#index as JSON
47764
+ Completed 200 OK in 19ms (Views: 17.0ms | ActiveRecord: 0.0ms)
47765
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47766
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user231@hungrymachine.com' LIMIT 1
47767
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user231@hungrymachine.com', 'first_name231', 'last_name231', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47768
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47769
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47770
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user232@hungrymachine.com' LIMIT 1
47771
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user232@hungrymachine.com', 'first_name232', 'last_name232', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47772
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47773
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47774
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description112', 'application112', '2014-01-17 17:17:59', 231)
47775
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47776
+ Processing by Rearview::DashboardsController#errors as JSON
47777
+ Parameters: {"id"=>"111"}
47778
+ 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 = '111') ORDER BY created_at DESC
47779
+ Completed 200 OK in 9ms (Views: 6.0ms | ActiveRecord: 1.0ms)
47780
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47781
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user233@hungrymachine.com' LIMIT 1
47782
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user233@hungrymachine.com', 'first_name233', 'last_name233', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47783
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47784
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47785
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user234@hungrymachine.com' LIMIT 1
47786
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user234@hungrymachine.com', 'first_name234', 'last_name234', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47787
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47788
+ Processing by Rearview::DashboardsController#create as JSON
47789
+ Parameters: {"userId"=>"233", "name"=>"application113"}
47790
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` IS NULL LIMIT 1
47791
+ WARNING: Can't mass-assign protected attributes for Rearview::Dashboard: id
47792
+ protected_attributes (1.0.5) lib/active_model/mass_assignment_security/sanitizer.rb:46:in `process_removed_attributes'
47793
+ /Users/trentalbrigh/.rvm/rubies/jruby-1.7.5/lib/ruby/1.9/logger.rb:371:in `add'
47794
+ /Users/trentalbrigh/.rvm/rubies/jruby-1.7.5/lib/ruby/1.9/logger.rb:443:in `warn'
47795
+ protected_attributes (1.0.5) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes'
47796
+ protected_attributes (1.0.5) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize'
47797
+ protected_attributes (1.0.5) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment'
47798
+ protected_attributes (1.0.5) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes'
47799
+ protected_attributes (1.0.5) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes'
47800
+ activerecord (4.0.2) lib/active_record/core.rb:185:in `initialize'
47801
+ activerecord (4.0.2) lib/active_record/inheritance.rb:27:in `new'
47802
+ activerecord (4.0.2) lib/active_record/relation.rb:98:in `new'
47803
+ activerecord (4.0.2) lib/active_record/relation.rb:270:in `scoping'
47804
+ activerecord (4.0.2) lib/active_record/relation.rb:98:in `new'
47805
+ activerecord (4.0.2) lib/active_record/relation.rb:202:in `find_or_initialize_by'
47806
+ activerecord (4.0.2) lib/active_record/querying.rb:5:in `find_or_initialize_by'
47807
+ /Users/trentalbrigh/workspaces/rearview-engine/app/controllers/rearview/dashboards_controller.rb:38:in `upsert'
47808
+ /Users/trentalbrigh/workspaces/rearview-engine/app/controllers/rearview/dashboards_controller.rb:16:in `create'
47809
+ actionpack (4.0.2) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
47810
+ actionpack (4.0.2) lib/abstract_controller/base.rb:189:in `process_action'
47811
+ actionpack (4.0.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
47812
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:18:in `process_action'
47813
+ activesupport (4.0.2) lib/active_support/callbacks.rb:386:in `_run__1859418056__process_action__callbacks'
47814
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
47815
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
47816
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
47817
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `process_action'
47818
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
47819
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
47820
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:19:in `instrument'
47821
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
47822
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
47823
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
47824
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
47825
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
47826
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
47827
+ actionpack (4.0.2) lib/action_controller/test_case.rb:569:in `process'
47828
+ actionpack (4.0.2) lib/action_controller/test_case.rb:64:in `process'
47829
+ actionpack (4.0.2) lib/action_controller/test_case.rb:475:in `post'
47830
+ /Users/trentalbrigh/workspaces/rearview-engine/spec/controllers/dashboards_controller_spec.rb:36:in `(root)'
47831
+ rspec-core (2.14.7) lib/rspec/core/example.rb:114:in `instance_eval'
47832
+ rspec-core (2.14.7) lib/rspec/core/example.rb:114:in `run'
47833
+ rspec-core (2.14.7) lib/rspec/core/example.rb:112:in `run'
47834
+ rspec-rails (2.14.0) lib/rspec/rails/example/controller_example_group.rb:158:in `call'
47835
+ rspec-rails (2.14.0) lib/rspec/rails/example/controller_example_group.rb:158:in `ControllerExampleGroup'
47836
+ rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
47837
+ rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
47838
+ rspec-core (2.14.7) lib/rspec/core/example.rb:247:in `instance_eval_with_args'
47839
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:106:in `run'
47840
+ rspec-core (2.14.7) lib/rspec/core/example.rb:179:in `call'
47841
+ rspec-core (2.14.7) lib/rspec/core/example.rb:179:in `extended'
47842
+ rspec-rails (2.14.0) lib/rspec/rails/adapters.rb:51:in `MiniTestLifecycleAdapter'
47843
+ rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
47844
+ rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
47845
+ rspec-core (2.14.7) lib/rspec/core/example.rb:247:in `instance_eval_with_args'
47846
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:106:in `run'
47847
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:104:in `call'
47848
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:104:in `run'
47849
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:446:in `run_hook'
47850
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
47851
+ rspec-core (2.14.7) lib/rspec/core/example.rb:256:in `with_around_each_hooks'
47852
+ rspec-core (2.14.7) lib/rspec/core/example.rb:111:in `run'
47853
+ rspec-core (2.14.7) lib/rspec/core/example.rb:109:in `run'
47854
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:390:in `run_examples'
47855
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:386:in `map'
47856
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:386:in `run_examples'
47857
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:371:in `run'
47858
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:369:in `run'
47859
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:372:in `run'
47860
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:372:in `map'
47861
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:372:in `run'
47862
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:369:in `run'
47863
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:28:in `run'
47864
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:28:in `map'
47865
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:28:in `run'
47866
+ rspec-core (2.14.7) lib/rspec/core/reporter.rb:58:in `report'
47867
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:25:in `run'
47868
+ rspec-core (2.14.7) lib/rspec/core/runner.rb:80:in `run'
47869
+ rspec-core (2.14.7) lib/rspec/core/runner.rb:17:in `autorun'
47870
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47871
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:18:20', 'application113', '2014-01-17 17:18:20', 232)
47872
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47873
+ Completed 200 OK in 16ms (Views: 3.0ms | ActiveRecord: 3.0ms)
47874
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47875
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user235@hungrymachine.com' LIMIT 1
47876
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user235@hungrymachine.com', 'first_name235', 'last_name235', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47877
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47878
+ Savepoint (0ms) SAVEPOINT active_record_1
47879
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user236@hungrymachine.com' LIMIT 1
47880
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user236@hungrymachine.com', 'first_name236', 'last_name236', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47881
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47882
+ Savepoint (0ms) SAVEPOINT active_record_1
47883
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description114', 'application114', '2014-01-17 17:17:59', 235)
47884
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47885
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47886
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user237@hungrymachine.com' LIMIT 1
47887
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user237@hungrymachine.com', 'first_name237', 'last_name237', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47888
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47889
+ Processing by Rearview::DashboardsController#update as JSON
47890
+ Parameters: {"userId"=>"235", "name"=>"application115", "id"=>"113"}
47891
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 113 LIMIT 1
47892
+ Savepoint (0ms) SAVEPOINT active_record_1
47893
+ SQL (1.0ms) UPDATE `applications` SET `name` = 'application115', `user_id` = 234, `description` = NULL, `updated_at` = '2014-01-17 17:18:20' WHERE `applications`.`id` = 113
47894
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47895
+ Completed 200 OK in 11ms (Views: 3.0ms | ActiveRecord: 2.0ms)
47896
+ Savepoint (0ms) SAVEPOINT active_record_1
47897
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user238@hungrymachine.com' LIMIT 1
47898
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user238@hungrymachine.com', 'first_name238', 'last_name238', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47899
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47900
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47901
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user239@hungrymachine.com' LIMIT 1
47902
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user239@hungrymachine.com', 'first_name239', 'last_name239', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47903
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47904
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47905
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description116', 'application116', '2014-01-17 17:17:59', 238)
47906
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
47907
+ Processing by Rearview::DashboardsController#destroy as JSON
47908
+ Parameters: {"id"=>"114"}
47909
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 114 LIMIT 1
47910
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47911
+ Rearview::Job Load (1.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`app_id` = 114
47912
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE (applications.ancestry like '114/%' or applications.ancestry = '114')
47913
+ SQL (0ms) DELETE FROM `applications` WHERE `applications`.`id` = 114
47914
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47915
+ Completed 200 OK in 75ms (Views: 12.0ms | ActiveRecord: 4.0ms)
47916
+ Savepoint (0ms) SAVEPOINT active_record_1
47917
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user240@hungrymachine.com' LIMIT 1
47918
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user240@hungrymachine.com', 'first_name240', 'last_name240', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47919
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47920
+ Savepoint (1.0ms) SAVEPOINT active_record_1
47921
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user241@hungrymachine.com' LIMIT 1
47922
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-17 17:17:59', 'user241@hungrymachine.com', 'first_name241', 'last_name241', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-17 17:17:59')
47923
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
47924
+ Savepoint (0ms) SAVEPOINT active_record_1
47925
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-17 17:17:59', 'description117', 'application117', '2014-01-17 17:17:59', 240)
47926
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
47927
+ Processing by Rearview::DashboardsController#show as JSON
47928
+ Parameters: {"id"=>"115"}
47929
+ Rearview::Dashboard Load (2.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 115 LIMIT 1
47930
+ Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 2.0ms)
47931
+ Terminating 5 actors...
47932
+ Shutdown completed cleanly
47933
+ [Rearview] booting...
47934
+ [Rearview] using configuration:
47935
+ authentication={:strategy=>:database}
47936
+ default_from=rearview@localhost
47937
+ default_url_options={:host=>"localhost", :port=>"3000"}
47938
+ enable_alerts=true
47939
+ enable_monitor=false
47940
+ enable_stats=false
47941
+ graphite_url=nil
47942
+ logger=#<ActiveSupport::Logger:0x401a5c05>
47943
+ pagerduty_url=https://events.pagerduty.com/generic/2010-04-15/create_event.json
47944
+ preload_jobs=false
47945
+ sandbox_dir=/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox
47946
+ sandbox_exec=["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby"]
47947
+ sandbox_timeout=10
47948
+ statsd_connection={:host=>"127.0.0.1", :port=>8125, :namespace=>"rearview"}
47949
+ verify=false
47950
+ [Rearview] starting up monitor service for (0) job(s)
47951
+ [Rearview] monitor disabled
47952
+ Terminating 1 actors...
47953
+ Shutdown completed cleanly
47954
+ [Rearview] booting...
47955
+ [Rearview] using configuration:
47956
+ authentication={:strategy=>:database}
47957
+ default_from=rearview@localhost
47958
+ default_url_options={:host=>"localhost", :port=>"3000"}
47959
+ enable_alerts=true
47960
+ enable_monitor=false
47961
+ enable_stats=false
47962
+ graphite_url=nil
47963
+ logger=#<ActiveSupport::Logger:0x72961b60>
47964
+ pagerduty_url=https://events.pagerduty.com/generic/2010-04-15/create_event.json
47965
+ preload_jobs=false
47966
+ sandbox_dir=/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox
47967
+ sandbox_exec=["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby"]
47968
+ sandbox_timeout=10
47969
+ statsd_connection={:host=>"127.0.0.1", :port=>8125, :namespace=>"rearview"}
47970
+ verify=false
47971
+ [Rearview] starting up monitor service for (0) job(s)
47972
+ [Rearview] monitor disabled
47973
+ Terminating 1 actors...
47974
+ Shutdown completed cleanly
47975
+ [Rearview] booting...
47976
+ [Rearview] using configuration:
47977
+ authentication={:strategy=>:database}
47978
+ default_from=rearview@localhost
47979
+ default_url_options={:host=>"localhost", :port=>"3000"}
47980
+ enable_alerts=true
47981
+ enable_monitor=false
47982
+ enable_stats=false
47983
+ graphite_url=nil
47984
+ logger=#<ActiveSupport::Logger:0x72961b60>
47985
+ pagerduty_url=https://events.pagerduty.com/generic/2010-04-15/create_event.json
47986
+ preload_jobs=false
47987
+ sandbox_dir=/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox
47988
+ sandbox_exec=["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby"]
47989
+ sandbox_timeout=10
47990
+ statsd_connection={:host=>"127.0.0.1", :port=>8125, :namespace=>"rearview"}
47991
+ verify=false
47992
+ [Rearview] starting up monitor service for (0) job(s)
47993
+ [Rearview] monitor disabled
47994
+ Terminating 1 actors...
47995
+ Shutdown completed cleanly
47996
+ [Rearview] booting...
47997
+ [Rearview] using configuration:
47998
+ authentication={:strategy=>:database}
47999
+ default_from=rearview@localhost
48000
+ default_url_options={:host=>"localhost", :port=>"3000"}
48001
+ enable_alerts=true
48002
+ enable_monitor=false
48003
+ enable_stats=false
48004
+ graphite_url=nil
48005
+ logger=#<ActiveSupport::Logger:0x1117cb50>
48006
+ pagerduty_url=https://events.pagerduty.com/generic/2010-04-15/create_event.json
48007
+ preload_jobs=false
48008
+ sandbox_dir=/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox
48009
+ sandbox_exec=["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby"]
48010
+ sandbox_timeout=10
48011
+ statsd_connection={:host=>"127.0.0.1", :port=>8125, :namespace=>"rearview"}
48012
+ verify=false
48013
+ [Rearview] starting up monitor service for (0) job(s)
48014
+ [Rearview] monitor disabled
48015
+ Terminating 1 actors...
48016
+ Shutdown completed cleanly
48017
+ [Rearview] booting...
48018
+ [Rearview] using configuration:
48019
+ authentication={:strategy=>:database}
48020
+ default_from=rearview@localhost
48021
+ default_url_options={:host=>"localhost", :port=>"3000"}
48022
+ enable_alerts=true
48023
+ enable_monitor=false
48024
+ enable_stats=false
48025
+ graphite_url=nil
48026
+ logger=#<ActiveSupport::Logger:0x632ef20f>
48027
+ pagerduty_url=https://events.pagerduty.com/generic/2010-04-15/create_event.json
48028
+ preload_jobs=false
48029
+ sandbox_dir=/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox
48030
+ sandbox_exec=["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby"]
48031
+ sandbox_timeout=10
48032
+ statsd_connection={:host=>"127.0.0.1", :port=>8125, :namespace=>"rearview"}
48033
+ verify=false
48034
+ [Rearview] starting up monitor service for (0) job(s)
48035
+ [Rearview] monitor disabled
48036
+ Terminating 1 actors...
48037
+ Shutdown completed cleanly
48038
+ [Rearview] booting...
48039
+ [Rearview] using configuration:
48040
+ authentication={:strategy=>:database}
48041
+ default_from=rearview@localhost
48042
+ default_url_options={:host=>"localhost", :port=>"3000"}
48043
+ enable_alerts=true
48044
+ enable_monitor=false
48045
+ enable_stats=false
48046
+ graphite_url=nil
48047
+ logger=#<ActiveSupport::Logger:0x1117cb50>
48048
+ pagerduty_url=https://events.pagerduty.com/generic/2010-04-15/create_event.json
48049
+ preload_jobs=false
48050
+ sandbox_dir=/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox
48051
+ sandbox_exec=["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby"]
48052
+ sandbox_timeout=10
48053
+ statsd_connection={:host=>"127.0.0.1", :port=>8125, :namespace=>"rearview"}
48054
+ verify=false
48055
+ [Rearview] starting up monitor service for (0) job(s)
48056
+ [Rearview] monitor disabled
48057
+ Terminating 1 actors...
48058
+ Shutdown completed cleanly
48059
+ booting...
48060
+ using configuration:
48061
+ authentication={:strategy=>:database}
48062
+ default_from=rearview@localhost
48063
+ default_url_options={:host=>"localhost", :port=>"3000"}
48064
+ enable_alerts=true
48065
+ enable_monitor=false
48066
+ enable_stats=false
48067
+ graphite_url=nil
48068
+ logger=#<ActiveSupport::Logger:0x71dd9846>
48069
+ pagerduty_url=https://events.pagerduty.com/generic/2010-04-15/create_event.json
48070
+ preload_jobs=false
48071
+ sandbox_dir=/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox
48072
+ sandbox_exec=["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby"]
48073
+ sandbox_timeout=10
48074
+ statsd_connection={:host=>"127.0.0.1", :port=>8125, :namespace=>"rearview"}
48075
+ verify=false
48076
+ starting up monitor service for (0) job(s)
48077
+ monitor disabled!
48078
+ Terminating 1 actors...
48079
+ Shutdown completed cleanly
48080
+ booting...
48081
+ using configuration:
48082
+ authentication={:strategy=>:database}
48083
+ default_from=rearview@localhost
48084
+ default_url_options={:host=>"localhost", :port=>"3000"}
48085
+ enable_alerts=true
48086
+ enable_monitor=false
48087
+ enable_stats=false
48088
+ graphite_url=nil
48089
+ logger=#<ActiveSupport::Logger:0x25e9d37>
48090
+ pagerduty_url=https://events.pagerduty.com/generic/2010-04-15/create_event.json
48091
+ preload_jobs=false
48092
+ sandbox_dir=/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox
48093
+ sandbox_exec=["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby"]
48094
+ sandbox_timeout=10
48095
+ statsd_connection={:host=>"127.0.0.1", :port=>8125, :namespace=>"rearview"}
48096
+ verify=false
48097
+ starting up monitor service for (0) job(s)
48098
+ monitor disabled!
48099
+ Terminating 1 actors...
48100
+ Shutdown completed cleanly
48101
+ booting...
48102
+ using configuration:
48103
+ authentication={:strategy=>:database}
48104
+ default_from=rearview@localhost
48105
+ default_url_options={:host=>"localhost", :port=>"3000"}
48106
+ enable_alerts=true
48107
+ enable_monitor=false
48108
+ enable_stats=false
48109
+ graphite_url=nil
48110
+ logger=#<ActiveSupport::Logger:0x55aae7af>
48111
+ pagerduty_url=https://events.pagerduty.com/generic/2010-04-15/create_event.json
48112
+ preload_jobs=false
48113
+ sandbox_dir=/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox
48114
+ sandbox_exec=["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby"]
48115
+ sandbox_timeout=10
48116
+ statsd_connection={:host=>"127.0.0.1", :port=>8125, :namespace=>"rearview"}
48117
+ verify=false
48118
+ starting up monitor service for (0) job(s)
48119
+ monitor disabled!
48120
+ Terminating 1 actors...
48121
+ Shutdown completed cleanly