rearview 1.0.2.rc.2-jruby → 1.0.2.rc.3-jruby

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4b5f9151a1268441aad50238db3e6d8f0d681ed8
4
- data.tar.gz: 95480df026b573a32205a32f988b41f5a2d9382f
3
+ metadata.gz: 729f08ecdf3270acff24063ef804954ff29f7c11
4
+ data.tar.gz: f3d1e67613a97599de91a0a9116828cac4fcd90e
5
5
  SHA512:
6
- metadata.gz: 6b0daac01c3c4abdda1ed60fe3ade87e2f0e0bf1c394e5e32906c523355c582e4c39e2d8cdbe95c7d10564d2916eaa2cf7bc1623a98ed67f44e2f11dc54b8e93
7
- data.tar.gz: 416e779200ca23d790a9169ad1988b0ea7b2dbe83f92fea51c10e8c6c1573078153ac4891673281c12aa29e1f9942544a0181b514b6696401d5837886fc5b912
6
+ metadata.gz: a992d862e7afe136e044d6657ced2e3f2cda987644f9157ce6d45bc332930d1a7f00c8b98b7d4819191d5ff6c4760b6fe924833cc9879ffce1d15fbedcc811a6
7
+ data.tar.gz: f95690fc87b833ddd09da8098202533f3b0d6a85aedef69ef3ef2176007eeb56fef1c9ed3b71b3258c82c12d6e6f3199c3c989220c9ae07160a0c7faefb46c40
@@ -37,7 +37,7 @@ module Rearview
37
37
  end
38
38
 
39
39
  def data
40
- @job_data = Rearview::Job.find(params[:id]).try(:job_data)
40
+ @job_data = Rearview::JobData.find_by(:job_id,params[:id])
41
41
  unless @job_data.present?
42
42
  head :status => 404
43
43
  end
@@ -1,3 +1,3 @@
1
1
  module Rearview
2
- VERSION = "1.0.2.rc.2"
2
+ VERSION = "1.0.2.rc.3"
3
3
  end
@@ -131,3 +131,21 @@
131
131
   (2.0ms) SELECT version FROM `schema_migrations`
132
132
   (2.0ms) INSERT INTO `schema_migrations` (version) VALUES ('20131106162900')
133
133
  ActiveRecord::SchemaMigration Load (2.0ms) SELECT `schema_migrations`.* FROM `schema_migrations`
134
+  (41.0ms) DROP DATABASE IF EXISTS `rearview_dummy_test`
135
+  (2.0ms) CREATE DATABASE `rearview_dummy_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
136
+  (29.0ms) CREATE TABLE `applications` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11), `name` varchar(255) NOT NULL, `created_at` datetime, `updated_at` datetime, `deleted_at` datetime, `ancestry` varchar(255), `description` varchar(255)) ENGINE=InnoDB DEFAULT CHARSET=utf8
137
+  (9.0ms) CREATE INDEX `index_applications_on_ancestry` ON `applications` (`ancestry`)
138
+  (11.0ms) CREATE INDEX `user_id` ON `applications` (`user_id`)
139
+  (16.0ms) CREATE TABLE `job_data` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `job_id` int(11) DEFAULT 0 NOT NULL, `created_at` datetime, `updated_at` datetime, `data` longtext NOT NULL) ENGINE=InnoDB DEFAULT CHARSET=utf8
140
+  (8.0ms) CREATE TABLE `job_errors` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `job_id` int(11), `created_at` datetime, `message` longtext, `status` varchar(255), `last_alerted_at` datetime, `updated_at` datetime) ENGINE=InnoDB DEFAULT CHARSET=utf8
141
+  (9.0ms) CREATE INDEX `job_id` ON `job_errors` (`job_id`)
142
+  (12.0ms) CREATE TABLE `jobs` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime, `updated_at` datetime, `name` varchar(255) NOT NULL, `active` tinyint(1) DEFAULT 1 NOT NULL, `last_run` datetime, `cron_expr` varchar(1024) NOT NULL, `status` varchar(255), `user_id` int(11), `alert_keys` text, `deleted_at` datetime, `error_timeout` int(11) DEFAULT 60 NOT NULL, `next_run` datetime, `description` text, `app_id` int(11) NOT NULL, `metrics` text NOT NULL, `monitor_expr` text, `minutes` int(11), `to_date` text) ENGINE=InnoDB DEFAULT CHARSET=utf8
143
+  (10.0ms) CREATE INDEX `app_id` ON `jobs` (`app_id`)
144
+  (8.0ms) CREATE UNIQUE INDEX `id_name_version_key` ON `jobs` (`id`, `name`)
145
+  (10.0ms) CREATE INDEX `jobs_ibfk_1` ON `jobs` (`user_id`)
146
+  (14.0ms) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime, `updated_at` datetime, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `email` varchar(255) NOT NULL, `first_name` varchar(255), `last_name` varchar(255), `last_login` datetime, `preferences` text) ENGINE=InnoDB DEFAULT CHARSET=utf8
147
+  (8.0ms) CREATE UNIQUE INDEX `email` ON `users` (`email`)
148
+  (15.0ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB DEFAULT CHARSET=utf8
149
+  (12.0ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
150
+  (2.0ms) SELECT version FROM `schema_migrations`
151
+  (2.0ms) INSERT INTO `schema_migrations` (version) VALUES ('20131106162900')
@@ -17898,3 +17898,2465 @@ verify=false
17898
17898
  [Rearview] monitor disabled
17899
17899
  Terminating 1 actors...
17900
17900
  Shutdown completed cleanly
17901
+ [Rearview] booting...
17902
+ [Rearview] using configuration:
17903
+ authentication={:strategy=>:database}
17904
+ default_from=rearview@localhost
17905
+ default_url_options={:host=>"localhost", :port=>"3000"}
17906
+ enable_alerts=true
17907
+ enable_monitor=false
17908
+ graphite_url=nil
17909
+ logger=#<ActiveSupport::Logger:0x2f666c6b>
17910
+ pagerduty_url=https://events.pagerduty.com/generic/2010-04-15/create_event.json
17911
+ preload_jobs=false
17912
+ sandbox_dir=/Users/trentalbrigh/workspaces/rearview-engine/spec/dummy/sandbox
17913
+ sandbox_exec=["rvm-exec", "ruby-1.9.3-p448@rearview-sandbox", "ruby"]
17914
+ sandbox_timeout=10
17915
+ verify=false
17916
+ [Rearview] starting up monitor service for (0) job(s)
17917
+ [Rearview] monitor disabled
17918
+ Savepoint (4.0ms) SAVEPOINT active_record_1
17919
+ Rearview::User Exists (21.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user1@hungrymachine.com' LIMIT 1
17920
+ SQL (2.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user1@hungrymachine.com', 'first_name1', 'last_name1', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
17921
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17922
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17923
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user2@hungrymachine.com' LIMIT 1
17924
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user2@hungrymachine.com', 'first_name2', 'last_name2', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
17925
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17926
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17927
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description1', 'application1', '2014-01-06 16:54:11', 2)
17928
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17929
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17930
+ 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-06 16:54:12', '0 * * * * ?', 1, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job1', '2014-01-06 16:54:12', 1)
17931
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17932
+ Savepoint (0ms) SAVEPOINT active_record_1
17933
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-06 16:54:11', 1, 'message1', 'failed', '2014-01-06 16:54:15')
17934
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17935
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17936
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user3@hungrymachine.com' LIMIT 1
17937
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user3@hungrymachine.com', 'first_name3', 'last_name3', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
17938
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
17939
+ Savepoint (0ms) SAVEPOINT active_record_1
17940
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user4@hungrymachine.com' LIMIT 1
17941
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user4@hungrymachine.com', 'first_name4', 'last_name4', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
17942
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17943
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17944
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description2', 'application2', '2014-01-06 16:54:11', 4)
17945
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17946
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17947
+ 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-06 16:54:12', '0 * * * * ?', 2, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job2', '2014-01-06 16:54:12', 3)
17948
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17949
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17950
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-06 16:54:11', 2, 'message2', 'failed', '2014-01-06 16:54:15')
17951
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17952
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/job_errors/_job_error.json.jbuilder (5.0ms)
17953
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/job_errors/_job_error.json.jbuilder (1.0ms)
17954
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/jobs/errors.json.jbuilder (31.0ms)
17955
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17956
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user5@hungrymachine.com' LIMIT 1
17957
+ SQL (2.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user5@hungrymachine.com', 'first_name5', 'last_name5', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
17958
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17959
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17960
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description3', 'application3', '2014-01-06 16:54:11', 5)
17961
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17962
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17963
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user6@hungrymachine.com' LIMIT 1
17964
+ SQL (2.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user6@hungrymachine.com', 'first_name6', 'last_name6', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
17965
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
17966
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17967
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description4', 'application4', '2014-01-06 16:54:11', 6)
17968
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17969
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`ancestry` = '3'
17970
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/dashboards/_dashboard.json.jbuilder (9.0ms)
17971
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`ancestry` = '4'
17972
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/dashboards/_dashboard.json.jbuilder (4.0ms)
17973
+ Savepoint (0ms) SAVEPOINT active_record_1
17974
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user7@hungrymachine.com' LIMIT 1
17975
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user7@hungrymachine.com', 'first_name7', 'last_name7', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
17976
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
17977
+ Savepoint (0ms) SAVEPOINT active_record_1
17978
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user8@hungrymachine.com' LIMIT 1
17979
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user8@hungrymachine.com', 'first_name8', 'last_name8', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
17980
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17981
+ Savepoint (0ms) SAVEPOINT active_record_1
17982
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description5', 'application5', '2014-01-06 16:54:11', 8)
17983
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17984
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17985
+ 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\"]', 5, '2014-01-06 16:54:12', '0 * * * * ?', 3, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job3', '2014-01-06 16:54:12', 7)
17986
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17987
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17988
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user9@hungrymachine.com' LIMIT 1
17989
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user9@hungrymachine.com', 'first_name9', 'last_name9', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
17990
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17991
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17992
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user10@hungrymachine.com' LIMIT 1
17993
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user10@hungrymachine.com', 'first_name10', 'last_name10', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
17994
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17995
+ Savepoint (0ms) SAVEPOINT active_record_1
17996
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description6', 'application6', '2014-01-06 16:54:11', 10)
17997
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
17998
+ Savepoint (1.0ms) SAVEPOINT active_record_1
17999
+ 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-06 16:54:12', '0 * * * * ?', 4, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job4', '2014-01-06 16:54:12', 9)
18000
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18001
+ Savepoint (0ms) SAVEPOINT active_record_1
18002
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user11@hungrymachine.com' LIMIT 1
18003
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user11@hungrymachine.com', 'first_name11', 'last_name11', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18004
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18005
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18006
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user12@hungrymachine.com' LIMIT 1
18007
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user12@hungrymachine.com', 'first_name12', 'last_name12', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18008
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18009
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18010
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description7', 'application7', '2014-01-06 16:54:11', 12)
18011
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18012
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18013
+ 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\"]', 7, '2014-01-06 16:54:12', '0 * * * * ?', 5, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job5', '2014-01-06 16:54:12', 11)
18014
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18015
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18016
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user13@hungrymachine.com' LIMIT 1
18017
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user13@hungrymachine.com', 'first_name13', 'last_name13', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18018
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18019
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18020
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user14@hungrymachine.com' LIMIT 1
18021
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user14@hungrymachine.com', 'first_name14', 'last_name14', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18022
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18023
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18024
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description8', 'application8', '2014-01-06 16:54:11', 14)
18025
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18026
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18027
+ 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-06 16:54:12', '0 * * * * ?', 6, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job6', '2014-01-06 16:54:12', 13)
18028
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
18029
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18030
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user15@hungrymachine.com' LIMIT 1
18031
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user15@hungrymachine.com', 'first_name15', 'last_name15', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18032
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18033
+ Savepoint (0ms) SAVEPOINT active_record_1
18034
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user16@hungrymachine.com' LIMIT 1
18035
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user16@hungrymachine.com', 'first_name16', 'last_name16', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18036
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18037
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18038
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description9', 'application9', '2014-01-06 16:54:11', 16)
18039
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18040
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18041
+ 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\"]', 9, '2014-01-06 16:54:12', '0 * * * * ?', 7, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job7', '2014-01-06 16:54:12', 15)
18042
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18043
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18044
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user17@hungrymachine.com' LIMIT 1
18045
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user17@hungrymachine.com', 'first_name17', 'last_name17', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18046
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18047
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18048
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user18@hungrymachine.com' LIMIT 1
18049
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user18@hungrymachine.com', 'first_name18', 'last_name18', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18050
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18051
+ Savepoint (0ms) SAVEPOINT active_record_1
18052
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description10', 'application10', '2014-01-06 16:54:11', 18)
18053
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18054
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18055
+ 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\"]', 10, '2014-01-06 16:54:12', '0 * * * * ?', 8, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job8', '2014-01-06 16:54:12', 17)
18056
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18057
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18058
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user19@hungrymachine.com' LIMIT 1
18059
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user19@hungrymachine.com', 'first_name19', 'last_name19', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18060
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18061
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18062
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user20@hungrymachine.com' LIMIT 1
18063
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user20@hungrymachine.com', 'first_name20', 'last_name20', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18064
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18065
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18066
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description11', 'application11', '2014-01-06 16:54:11', 20)
18067
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18068
+ Savepoint (0ms) SAVEPOINT active_record_1
18069
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 11, '2014-01-06 16:54:12', '0 * * * * ?', 9, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job9', '2014-01-06 16:54:12', 19)
18070
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18071
+ Savepoint (0ms) SAVEPOINT active_record_1
18072
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user21@hungrymachine.com' LIMIT 1
18073
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user21@hungrymachine.com', 'first_name21', 'last_name21', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18074
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18075
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18076
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user22@hungrymachine.com' LIMIT 1
18077
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user22@hungrymachine.com', 'first_name22', 'last_name22', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18078
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18079
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18080
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description12', 'application12', '2014-01-06 16:54:11', 22)
18081
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18082
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18083
+ SQL (1.0ms) INSERT INTO `jobs` (`active`, `alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES (0, '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 12, '2014-01-06 16:54:12', '0 * * * * ?', 10, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job10', '2014-01-06 16:54:12', 21)
18084
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18085
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18086
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user23@hungrymachine.com' LIMIT 1
18087
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user23@hungrymachine.com', 'first_name23', 'last_name23', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18088
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18089
+ Savepoint (0ms) SAVEPOINT active_record_1
18090
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user24@hungrymachine.com' LIMIT 1
18091
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user24@hungrymachine.com', 'first_name24', 'last_name24', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18092
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18093
+ Savepoint (0ms) SAVEPOINT active_record_1
18094
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description13', 'application13', '2014-01-06 16:54:11', 24)
18095
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18096
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18097
+ 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\"]', 13, '2014-01-06 16:54:12', '0 * * * * ?', 11, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job11', '2014-01-06 16:54:12', 23)
18098
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18099
+  (0ms) SELECT COUNT(*) FROM `jobs` WHERE `jobs`.`active` = 1
18100
+ Rearview::Job Load (9.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`active` = 1 ORDER BY `jobs`.`id` ASC LIMIT 1
18101
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18102
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user25@hungrymachine.com' LIMIT 1
18103
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user25@hungrymachine.com', 'first_name25', 'last_name25', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18104
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18105
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18106
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user26@hungrymachine.com' LIMIT 1
18107
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user26@hungrymachine.com', 'first_name26', 'last_name26', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18108
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18109
+ Savepoint (0ms) SAVEPOINT active_record_1
18110
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description14', 'application14', '2014-01-06 16:54:11', 26)
18111
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18112
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18113
+ 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\"]', 14, '2014-01-06 16:54:12', '0 * * * * ?', 12, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job12', 'success', '2014-01-06 16:54:12', 25)
18114
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18115
+ Savepoint (0ms) SAVEPOINT active_record_1
18116
+ SQL (0ms) INSERT INTO `job_data` (`created_at`, `data`, `job_id`, `updated_at`) VALUES ('2014-01-06 16:54:11', '{\"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]]}}', 12, '2014-01-06 16:54:11')
18117
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
18118
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18119
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-06 16:54:11', 12, 'message3', 'failed', '2014-01-06 16:54:16')
18120
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18121
+ Savepoint (0ms) SAVEPOINT active_record_1
18122
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-06 16:54:11', 12, 'message4', 'success', '2014-01-06 16:54:16')
18123
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18124
+ 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
18125
+ Savepoint (0ms) SAVEPOINT active_record_1
18126
+ SQL (13.0ms) DELETE FROM `job_data` WHERE `job_data`.`id` = 1
18127
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
18128
+ 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.
18129
+ Rearview::JobError Load (2.0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 12
18130
+ Savepoint (0ms) SAVEPOINT active_record_1
18131
+ SQL (0ms) DELETE FROM `job_errors` WHERE `job_errors`.`id` = 3
18132
+ SQL (0ms) DELETE FROM `job_errors` WHERE `job_errors`.`id` = 4
18133
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18134
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18135
+ SQL (1.0ms) UPDATE `jobs` SET `status` = NULL, `updated_at` = '2014-01-06 16:54:17', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 12
18136
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18137
+ Rearview::Job Load (1.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`id` = 12 LIMIT 1
18138
+ 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
18139
+  (1.0ms) SELECT COUNT(*) FROM `job_errors` WHERE `job_errors`.`job_id` = 12
18140
+ Savepoint (0ms) SAVEPOINT active_record_1
18141
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user27@hungrymachine.com' LIMIT 1
18142
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user27@hungrymachine.com', 'first_name27', 'last_name27', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18143
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18144
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18145
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user28@hungrymachine.com' LIMIT 1
18146
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user28@hungrymachine.com', 'first_name28', 'last_name28', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18147
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18148
+ Savepoint (0ms) SAVEPOINT active_record_1
18149
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description15', 'application15', '2014-01-06 16:54:11', 28)
18150
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18151
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18152
+ 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\"]', 15, '2014-01-06 16:54:12', '0 * * * * ?', 13, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job13', 'success', '2014-01-06 16:54:12', 27)
18153
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18154
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18155
+ SQL (0ms) INSERT INTO `job_data` (`created_at`, `data`, `job_id`, `updated_at`) VALUES ('2014-01-06 16:54:11', '{\"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]]}}', 13, '2014-01-06 16:54:11')
18156
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18157
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18158
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-06 16:54:11', 13, 'message5', 'failed', '2014-01-06 16:54:17')
18159
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18160
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18161
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-06 16:54:11', 13, 'message6', 'success', '2014-01-06 16:54:17')
18162
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18163
+ Rearview::JobData Load (1.0ms) SELECT `job_data`.* FROM `job_data` WHERE `job_data`.`job_id` = 13 ORDER BY `job_data`.`id` ASC LIMIT 1
18164
+ Savepoint (2.0ms) SAVEPOINT active_record_1
18165
+ SQL (0ms) DELETE FROM `job_data` WHERE `job_data`.`id` = 2
18166
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18167
+ 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.
18168
+ Rearview::JobError Load (2.0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 13
18169
+ Savepoint (0ms) SAVEPOINT active_record_1
18170
+ SQL (0ms) DELETE FROM `job_errors` WHERE `job_errors`.`id` = 5
18171
+ SQL (0ms) DELETE FROM `job_errors` WHERE `job_errors`.`id` = 6
18172
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18173
+ Savepoint (0ms) SAVEPOINT active_record_1
18174
+ SQL (1.0ms) UPDATE `jobs` SET `status` = NULL, `updated_at` = '2014-01-06 16:54:17', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 13
18175
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18176
+ Rearview::Job Load (2.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`id` = 13 LIMIT 1
18177
+ Rearview::JobData Load (0ms) SELECT `job_data`.* FROM `job_data` WHERE `job_data`.`job_id` = 13 ORDER BY `job_data`.`id` ASC LIMIT 1
18178
+  (1.0ms) SELECT COUNT(*) FROM `job_errors` WHERE `job_errors`.`job_id` = 13
18179
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18180
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user29@hungrymachine.com' LIMIT 1
18181
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user29@hungrymachine.com', 'first_name29', 'last_name29', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18182
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18183
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18184
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user30@hungrymachine.com' LIMIT 1
18185
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user30@hungrymachine.com', 'first_name30', 'last_name30', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18186
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
18187
+ Savepoint (0ms) SAVEPOINT active_record_1
18188
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description16', 'application16', '2014-01-06 16:54:11', 30)
18189
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18190
+ Savepoint (0ms) SAVEPOINT active_record_1
18191
+ 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\"]', 16, '2014-01-06 16:54:12', '0 * * * * ?', 14, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job14', '2014-01-06 16:54:12', 29)
18192
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18193
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18194
+ SQL (1.0ms) UPDATE `jobs` SET `status` = 'success', `updated_at` = '2014-01-06 16:54:17', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 14
18195
+ #<Rearview::Job:0x5e4680df>#create_associated_event for transition #<StateMachine::Transition attribute=:status event=:success from=nil from_name=nil to="success" to_name=:success>
18196
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18197
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18198
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user31@hungrymachine.com' LIMIT 1
18199
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user31@hungrymachine.com', 'first_name31', 'last_name31', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18200
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18201
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18202
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user32@hungrymachine.com' LIMIT 1
18203
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user32@hungrymachine.com', 'first_name32', 'last_name32', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18204
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18205
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18206
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description17', 'application17', '2014-01-06 16:54:11', 32)
18207
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18208
+ Savepoint (0ms) SAVEPOINT active_record_1
18209
+ 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\"]', 17, '2014-01-06 16:54:12', '0 * * * * ?', 15, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job15', 'success', '2014-01-06 16:54:12', 31)
18210
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
18211
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18212
+ SQL (1.0ms) UPDATE `jobs` SET `updated_at` = '2014-01-06 16:54:17', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 15
18213
+ #<Rearview::Job:0x7f14671e>#update_associated_event for transition #<StateMachine::Transition attribute=:status event=:success from="success" from_name=:success to="success" to_name=:success>
18214
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
18215
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18216
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user33@hungrymachine.com' LIMIT 1
18217
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user33@hungrymachine.com', 'first_name33', 'last_name33', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18218
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18219
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18220
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user34@hungrymachine.com' LIMIT 1
18221
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user34@hungrymachine.com', 'first_name34', 'last_name34', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18222
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
18223
+ Savepoint (0ms) SAVEPOINT active_record_1
18224
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description18', 'application18', '2014-01-06 16:54:11', 34)
18225
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18226
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18227
+ 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\"]', 18, '2014-01-06 16:54:12', '0 * * * * ?', 16, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job16', 'error', '2014-01-06 16:54:12', 33)
18228
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
18229
+ Savepoint (0ms) SAVEPOINT active_record_1
18230
+ SQL (1.0ms) UPDATE `jobs` SET `status` = 'success', `updated_at` = '2014-01-06 16:54:17', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 16
18231
+ #<Rearview::Job:0x1d597a76>#create_associated_event for transition #<StateMachine::Transition attribute=:status event=:success from="error" from_name=:error to="success" to_name=:success>
18232
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18233
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18234
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user35@hungrymachine.com' LIMIT 1
18235
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user35@hungrymachine.com', 'first_name35', 'last_name35', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18236
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18237
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18238
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user36@hungrymachine.com' LIMIT 1
18239
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user36@hungrymachine.com', 'first_name36', 'last_name36', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18240
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
18241
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18242
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description19', 'application19', '2014-01-06 16:54:11', 36)
18243
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18244
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18245
+ 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-06 16:54:12', '0 * * * * ?', 17, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job17', '2014-01-06 16:54:12', 35)
18246
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18247
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18248
+ SQL (1.0ms) UPDATE `jobs` SET `status` = 'error', `updated_at` = '2014-01-06 16:54:17', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 17
18249
+ #<Rearview::Job:0x40ac7e94>#create_associated_event for transition #<StateMachine::Transition attribute=:status event=:error from=nil from_name=nil to="error" to_name=:error>
18250
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18251
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18252
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user37@hungrymachine.com' LIMIT 1
18253
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user37@hungrymachine.com', 'first_name37', 'last_name37', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18254
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18255
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18256
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user38@hungrymachine.com' LIMIT 1
18257
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user38@hungrymachine.com', 'first_name38', 'last_name38', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18258
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18259
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18260
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description20', 'application20', '2014-01-06 16:54:11', 38)
18261
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18262
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18263
+ 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\"]', 20, '2014-01-06 16:54:12', '0 * * * * ?', 18, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job18', 'error', '2014-01-06 16:54:12', 37)
18264
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
18265
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18266
+ SQL (1.0ms) UPDATE `jobs` SET `updated_at` = '2014-01-06 16:54:17', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 18
18267
+ #<Rearview::Job:0x52f796fa>#update_associated_event for transition #<StateMachine::Transition attribute=:status event=:error from="error" from_name=:error to="error" to_name=:error>
18268
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18269
+ Savepoint (0ms) SAVEPOINT active_record_1
18270
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user39@hungrymachine.com' LIMIT 1
18271
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user39@hungrymachine.com', 'first_name39', 'last_name39', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18272
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18273
+ Savepoint (0ms) SAVEPOINT active_record_1
18274
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user40@hungrymachine.com' LIMIT 1
18275
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user40@hungrymachine.com', 'first_name40', 'last_name40', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18276
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18277
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18278
+ SQL (2.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description21', 'application21', '2014-01-06 16:54:11', 40)
18279
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18280
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18281
+ 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\"]', 21, '2014-01-06 16:54:12', '0 * * * * ?', 19, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job19', 'success', '2014-01-06 16:54:12', 39)
18282
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18283
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18284
+ SQL (1.0ms) UPDATE `jobs` SET `status` = 'error', `updated_at` = '2014-01-06 16:54:17', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 19
18285
+ #<Rearview::Job:0x31a70984>#create_associated_event for transition #<StateMachine::Transition attribute=:status event=:error from="success" from_name=:success to="error" to_name=:error>
18286
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
18287
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18288
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user41@hungrymachine.com' LIMIT 1
18289
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user41@hungrymachine.com', 'first_name41', 'last_name41', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18290
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18291
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18292
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user42@hungrymachine.com' LIMIT 1
18293
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user42@hungrymachine.com', 'first_name42', 'last_name42', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18294
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18295
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18296
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description22', 'application22', '2014-01-06 16:54:11', 42)
18297
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18298
+ Savepoint (0ms) SAVEPOINT active_record_1
18299
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 22, '2014-01-06 16:54:12', '0 * * * * ?', 20, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job20', '2014-01-06 16:54:12', 41)
18300
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18301
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18302
+ Rearview::JobData Load (1.0ms) SELECT `job_data`.* FROM `job_data` WHERE `job_data`.`job_id` = 20 ORDER BY `job_data`.`id` ASC LIMIT 1
18303
+ Rearview::JobError Load (1.0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 20
18304
+ SQL (0ms) DELETE FROM `jobs` WHERE `jobs`.`id` = 20
18305
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18306
+ Savepoint (0ms) SAVEPOINT active_record_1
18307
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user43@hungrymachine.com' LIMIT 1
18308
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user43@hungrymachine.com', 'first_name43', 'last_name43', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18309
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18310
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18311
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user44@hungrymachine.com' LIMIT 1
18312
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user44@hungrymachine.com', 'first_name44', 'last_name44', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18313
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18314
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18315
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description23', 'application23', '2014-01-06 16:54:11', 44)
18316
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18317
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18318
+ SQL (1.0ms) INSERT INTO `jobs` (`active`, `alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES (0, '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 23, '2014-01-06 16:54:12', '0 * * * * ?', 21, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job21', '2014-01-06 16:54:12', 43)
18319
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
18320
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18321
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user45@hungrymachine.com' LIMIT 1
18322
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user45@hungrymachine.com', 'first_name45', 'last_name45', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18323
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18324
+ Savepoint (0ms) SAVEPOINT active_record_1
18325
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user46@hungrymachine.com' LIMIT 1
18326
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user46@hungrymachine.com', 'first_name46', 'last_name46', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18327
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18328
+ Savepoint (0ms) SAVEPOINT active_record_1
18329
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description24', 'application24', '2014-01-06 16:54:11', 46)
18330
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18331
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18332
+ 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\"]', 24, '2014-01-06 16:54:12', '0 * * * * ?', 22, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job22', '2014-01-06 16:54:12', 45)
18333
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18334
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18335
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user47@hungrymachine.com' LIMIT 1
18336
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user47@hungrymachine.com', 'first_name47', 'last_name47', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18337
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18338
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18339
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user48@hungrymachine.com' LIMIT 1
18340
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user48@hungrymachine.com', 'first_name48', 'last_name48', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18341
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18342
+ Savepoint (0ms) SAVEPOINT active_record_1
18343
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description25', 'application25', '2014-01-06 16:54:11', 48)
18344
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18345
+ Savepoint (0ms) SAVEPOINT active_record_1
18346
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 25, '2014-01-06 16:54:12', '0 * * * * ?', 23, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job23', '2014-01-06 16:54:12', 47)
18347
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18348
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18349
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user49@hungrymachine.com' LIMIT 1
18350
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user49@hungrymachine.com', 'first_name49', 'last_name49', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18351
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18352
+ Savepoint (0ms) SAVEPOINT active_record_1
18353
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user50@hungrymachine.com' LIMIT 1
18354
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user50@hungrymachine.com', 'first_name50', 'last_name50', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18355
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18356
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18357
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description26', 'application26', '2014-01-06 16:54:11', 50)
18358
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
18359
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18360
+ 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\"]', 26, '2014-01-06 16:54:12', '0 * * * * ?', 24, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job24', '2014-01-06 16:54:12', 49)
18361
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18362
+ Savepoint (0ms) SAVEPOINT active_record_1
18363
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user51@hungrymachine.com' LIMIT 1
18364
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user51@hungrymachine.com', 'first_name51', 'last_name51', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18365
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18366
+ Savepoint (0ms) SAVEPOINT active_record_1
18367
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user52@hungrymachine.com' LIMIT 1
18368
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user52@hungrymachine.com', 'first_name52', 'last_name52', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18369
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18370
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18371
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description27', 'application27', '2014-01-06 16:54:11', 52)
18372
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18373
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18374
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 27, '2014-01-06 16:54:12', '0 * * * * ?', 25, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job25', '2014-01-06 16:54:12', 51)
18375
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18376
+ Savepoint (0ms) SAVEPOINT active_record_1
18377
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user53@hungrymachine.com' LIMIT 1
18378
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user53@hungrymachine.com', 'first_name53', 'last_name53', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18379
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18380
+ Savepoint (0ms) SAVEPOINT active_record_1
18381
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user54@hungrymachine.com' LIMIT 1
18382
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user54@hungrymachine.com', 'first_name54', 'last_name54', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18383
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18384
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18385
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user55@hungrymachine.com' LIMIT 1
18386
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user55@hungrymachine.com', 'first_name55', 'last_name55', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18387
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18388
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18389
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user56@hungrymachine.com' LIMIT 1
18390
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user56@hungrymachine.com', 'first_name56', 'last_name56', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18391
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18392
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18393
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description30', 'application30', '2014-01-06 16:54:11', 56)
18394
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18395
+ Processing by Rearview::DashboardChildrenController#create as JSON
18396
+ Parameters: {"userId"=>"55", "name"=>"application29", "dashboard_id"=>"28"}
18397
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 28 LIMIT 1
18398
+ Savepoint (0ms) SAVEPOINT active_record_1
18399
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'application29', '2014-01-06 16:54:11', 53)
18400
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18401
+ Completed 200 OK in 24ms (Views: 11.0ms | ActiveRecord: 2.0ms)
18402
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18403
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user57@hungrymachine.com' LIMIT 1
18404
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user57@hungrymachine.com', 'first_name57', 'last_name57', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18405
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18406
+ Savepoint (0ms) SAVEPOINT active_record_1
18407
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user58@hungrymachine.com' LIMIT 1
18408
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user58@hungrymachine.com', 'first_name58', 'last_name58', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18409
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18410
+ Savepoint (0ms) SAVEPOINT active_record_1
18411
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user59@hungrymachine.com' LIMIT 1
18412
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user59@hungrymachine.com', 'first_name59', 'last_name59', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18413
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
18414
+ Savepoint (0ms) SAVEPOINT active_record_1
18415
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description32', 'application32', '2014-01-06 16:54:11', 59)
18416
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18417
+ Processing by Rearview::DashboardChildrenController#create as JSON
18418
+ Parameters: {"userId"=>"58", "name"=>"application31", "dashboard_id"=>"30"}
18419
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 30 LIMIT 1
18420
+ Savepoint (0ms) SAVEPOINT active_record_1
18421
+ SQL (1.0ms) INSERT INTO `applications` (`ancestry`, `created_at`, `name`, `updated_at`, `user_id`) VALUES ('30', '2014-01-06 16:54:18', 'application31', '2014-01-06 16:54:18', 57)
18422
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18423
+ Completed 200 OK in 12ms (Views: 3.0ms | ActiveRecord: 2.0ms)
18424
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18425
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user60@hungrymachine.com' LIMIT 1
18426
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user60@hungrymachine.com', 'first_name60', 'last_name60', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18427
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18428
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18429
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user61@hungrymachine.com' LIMIT 1
18430
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user61@hungrymachine.com', 'first_name61', 'last_name61', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18431
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18432
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18433
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description33', 'application33', '2014-01-06 16:54:11', 61)
18434
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
18435
+ Processing by Rearview::DashboardChildrenController#index as JSON
18436
+ Parameters: {"dashboard_id"=>"32"}
18437
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 32 LIMIT 1
18438
+ Completed 200 OK in 10ms (Views: 4.0ms | ActiveRecord: 1.0ms)
18439
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18440
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user62@hungrymachine.com' LIMIT 1
18441
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user62@hungrymachine.com', 'first_name62', 'last_name62', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18442
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18443
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18444
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user63@hungrymachine.com' LIMIT 1
18445
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user63@hungrymachine.com', 'first_name63', 'last_name63', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18446
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18447
+ Savepoint (0ms) SAVEPOINT active_record_1
18448
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description34', 'application34', '2014-01-06 16:54:11', 63)
18449
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18450
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18451
+ 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-06 16:54:12', '0 * * * * ?', 26, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job26', '2014-01-06 16:54:12', 62)
18452
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18453
+ #<Rearview::ResultsHandler:0x37c69411> run
18454
+ Rearview::JobData Load (0ms) SELECT `job_data`.* FROM `job_data` WHERE `job_data`.`job_id` = 26 LIMIT 1
18455
+ Savepoint (0ms) SAVEPOINT active_record_1
18456
+ Savepoint (0ms) ROLLBACK TO SAVEPOINT active_record_1
18457
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18458
+ SQL (0ms) INSERT INTO `job_data` (`created_at`, `data`, `job_id`, `updated_at`) VALUES ('2014-01-06 16:54:18', '{\"status\":\"error\",\"output\":null,\"graph_data\":null}', 26, '2014-01-06 16:54:18')
18459
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
18460
+ #<Rearview::ResultsHandler:0x37c69411> firing event :error for #<Rearview::Job id: 26, created_at: "2014-01-06 16:54:12", updated_at: "2014-01-06 16:54:12", name: "job26", active: true, last_run: "2014-01-06 16:54:18", cron_expr: "0 * * * * ?", status: nil, user_id: 62, 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>
18461
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18462
+ SQL (0ms) UPDATE `jobs` SET `last_run` = '2014-01-06 16:54:18', `status` = 'error', `updated_at` = '2014-01-06 16:54:18', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 26
18463
+ #<Rearview::Job:0x5b41161>#create_associated_event for transition #<StateMachine::Transition attribute=:status event=:error from=nil from_name=nil to="error" to_name=:error>
18464
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `updated_at`) VALUES ('2014-01-06 16:54:18', 26, '2014-01-06 16:54:18')
18465
+ SQL (0ms) UPDATE `job_errors` SET `status` = 'error', `updated_at` = '2014-01-06 16:54:18' WHERE `job_errors`.`id` = 7
18466
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
18467
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18468
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user64@hungrymachine.com' LIMIT 1
18469
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user64@hungrymachine.com', 'first_name64', 'last_name64', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18470
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18471
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18472
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user65@hungrymachine.com' LIMIT 1
18473
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user65@hungrymachine.com', 'first_name65', 'last_name65', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18474
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
18475
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18476
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description35', 'application35', '2014-01-06 16:54:11', 65)
18477
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18478
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18479
+ 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\"]', 34, '2014-01-06 16:54:12', '0 * * * * ?', 27, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job27', '2014-01-06 16:54:12', 64)
18480
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
18481
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18482
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user66@hungrymachine.com' LIMIT 1
18483
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user66@hungrymachine.com', 'first_name66', 'last_name66', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18484
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18485
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18486
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user67@hungrymachine.com' LIMIT 1
18487
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user67@hungrymachine.com', 'first_name67', 'last_name67', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18488
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18489
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18490
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description36', 'application36', '2014-01-06 16:54:11', 67)
18491
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18492
+ Savepoint (0ms) SAVEPOINT active_record_1
18493
+ 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-06 16:54:12', '0 * * * * ?', 28, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job28', '2014-01-06 16:54:12', 66)
18494
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18495
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/jobs/_job.json.jbuilder (3.0ms)
18496
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/jobs/_job.json.jbuilder (1.0ms)
18497
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18498
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user68@hungrymachine.com' LIMIT 1
18499
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user68@hungrymachine.com', 'first_name68', 'last_name68', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18500
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18501
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18502
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user69@hungrymachine.com' LIMIT 1
18503
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user69@hungrymachine.com', 'first_name69', 'last_name69', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18504
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18505
+ Savepoint (0ms) SAVEPOINT active_record_1
18506
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description37', 'application37', '2014-01-06 16:54:11', 69)
18507
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18508
+ Savepoint (0ms) SAVEPOINT active_record_1
18509
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 36, '2014-01-06 16:54:12', '0 * * * * ?', 29, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job29', '2014-01-06 16:54:12', 68)
18510
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18511
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18512
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user70@hungrymachine.com' LIMIT 1
18513
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user70@hungrymachine.com', 'first_name70', 'last_name70', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18514
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18515
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18516
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user71@hungrymachine.com' LIMIT 1
18517
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user71@hungrymachine.com', 'first_name71', 'last_name71', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18518
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18519
+ Savepoint (0ms) SAVEPOINT active_record_1
18520
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description38', 'application38', '2014-01-06 16:54:11', 71)
18521
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18522
+ Savepoint (0ms) SAVEPOINT active_record_1
18523
+ 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-06 16:54:12', '0 * * * * ?', 30, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job30', '2014-01-06 16:54:12', 70)
18524
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18525
+ Savepoint (0ms) SAVEPOINT active_record_1
18526
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user72@hungrymachine.com' LIMIT 1
18527
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user72@hungrymachine.com', 'first_name72', 'last_name72', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18528
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18529
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18530
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user73@hungrymachine.com' LIMIT 1
18531
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user73@hungrymachine.com', 'first_name73', 'last_name73', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18532
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18533
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18534
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description39', 'application39', '2014-01-06 16:54:11', 73)
18535
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18536
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18537
+ 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-06 16:54:12', '0 * * * * ?', 31, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job31', '2014-01-06 16:54:12', 72)
18538
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18539
+ Savepoint (0ms) SAVEPOINT active_record_1
18540
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user74@hungrymachine.com' LIMIT 1
18541
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user74@hungrymachine.com', 'first_name74', 'last_name74', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18542
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18543
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18544
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user75@hungrymachine.com' LIMIT 1
18545
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user75@hungrymachine.com', 'first_name75', 'last_name75', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18546
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18547
+ Savepoint (0ms) SAVEPOINT active_record_1
18548
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description40', 'application40', '2014-01-06 16:54:11', 75)
18549
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18550
+ Savepoint (0ms) SAVEPOINT active_record_1
18551
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 39, '2014-01-06 16:54:12', '0 * * * * ?', 32, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job32', '2014-01-06 16:54:12', 74)
18552
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18553
+ Savepoint (0ms) SAVEPOINT active_record_1
18554
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user76@hungrymachine.com' LIMIT 1
18555
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user76@hungrymachine.com', 'first_name76', 'last_name76', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18556
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18557
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18558
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user77@hungrymachine.com' LIMIT 1
18559
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user77@hungrymachine.com', 'first_name77', 'last_name77', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18560
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18561
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18562
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description41', 'application41', '2014-01-06 16:54:11', 77)
18563
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18564
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18565
+ 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-06 16:54:12', '0 * * * * ?', 33, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job33', '2014-01-06 16:54:12', 76)
18566
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18567
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18568
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user78@hungrymachine.com' LIMIT 1
18569
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user78@hungrymachine.com', 'first_name78', 'last_name78', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18570
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18571
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18572
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user79@hungrymachine.com' LIMIT 1
18573
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user79@hungrymachine.com', 'first_name79', 'last_name79', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18574
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
18575
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18576
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description42', 'application42', '2014-01-06 16:54:11', 79)
18577
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18578
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18579
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 41, '2014-01-06 16:54:12', '0 * * * * ?', 34, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job34', '2014-01-06 16:54:12', 78)
18580
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
18581
+ Savepoint (0ms) SAVEPOINT active_record_1
18582
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user80@hungrymachine.com' LIMIT 1
18583
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user80@hungrymachine.com', 'first_name80', 'last_name80', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18584
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18585
+ Savepoint (0ms) SAVEPOINT active_record_1
18586
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user81@hungrymachine.com' LIMIT 1
18587
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user81@hungrymachine.com', 'first_name81', 'last_name81', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18588
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18589
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18590
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description43', 'application43', '2014-01-06 16:54:11', 81)
18591
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18592
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18593
+ 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\"]', 42, '2014-01-06 16:54:12', '0 * * * * ?', 35, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job35', '2014-01-06 16:54:12', 80)
18594
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18595
+ Savepoint (0ms) SAVEPOINT active_record_1
18596
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user82@hungrymachine.com' LIMIT 1
18597
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user82@hungrymachine.com', 'first_name82', 'last_name82', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18598
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18599
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/user/_user.json.jbuilder (4.0ms)
18600
+ Terminating 1 actors...
18601
+ Shutdown completed cleanly
18602
+ Rearview::MonitorService crashed!
18603
+ Rearview::MonitorService::MonitorServiceError: service already started
18604
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/monitor_service.rb:21:in `startup'
18605
+ org/jruby/RubyKernel.java:1961:in `public_send'
18606
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:25:in `dispatch'
18607
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:67:in `dispatch'
18608
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/actor.rb:326:in `handle_message'
18609
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:42:in `initialize'
18610
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks/task_fiber.rb:11:in `create'
18611
+ Terminating 4 actors...
18612
+ Shutdown completed cleanly
18613
+ Terminating 5 actors...
18614
+ Shutdown completed cleanly
18615
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18616
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user83@hungrymachine.com' LIMIT 1
18617
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user83@hungrymachine.com', 'first_name83', 'last_name83', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18618
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18619
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18620
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user84@hungrymachine.com' LIMIT 1
18621
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user84@hungrymachine.com', 'first_name84', 'last_name84', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18622
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18623
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18624
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description44', 'application44', '2014-01-06 16:54:11', 84)
18625
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18626
+ Savepoint (0ms) SAVEPOINT active_record_1
18627
+ 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\"]', 43, '2014-01-06 16:54:12', '0 * * * * ?', 36, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job36', '2014-01-06 16:54:12', 83)
18628
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18629
+ Terminating 5 actors...
18630
+ Shutdown completed cleanly
18631
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18632
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user85@hungrymachine.com' LIMIT 1
18633
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user85@hungrymachine.com', 'first_name85', 'last_name85', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18634
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18635
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18636
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user86@hungrymachine.com' LIMIT 1
18637
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user86@hungrymachine.com', 'first_name86', 'last_name86', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18638
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18639
+ Savepoint (0ms) SAVEPOINT active_record_1
18640
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description45', 'application45', '2014-01-06 16:54:11', 86)
18641
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18642
+ Savepoint (0ms) SAVEPOINT active_record_1
18643
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 44, '2014-01-06 16:54:12', '0 * * * * ?', 37, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job37', '2014-01-06 16:54:12', 85)
18644
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18645
+ Rearview::MonitorService crashed!
18646
+ Rearview::MonitorService::MonitorServiceError: service not started
18647
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/monitor_service.rb:58:in `remove'
18648
+ org/jruby/RubyKernel.java:1961:in `public_send'
18649
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:25:in `dispatch'
18650
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:67:in `dispatch'
18651
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/actor.rb:326:in `handle_message'
18652
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:42:in `initialize'
18653
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks/task_fiber.rb:11:in `create'
18654
+ (celluloid):0:in `remote procedure call'
18655
+ Terminating 4 actors...
18656
+ Shutdown completed cleanly
18657
+ Savepoint (0ms) SAVEPOINT active_record_1
18658
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user87@hungrymachine.com' LIMIT 1
18659
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user87@hungrymachine.com', 'first_name87', 'last_name87', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18660
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18661
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18662
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user88@hungrymachine.com' LIMIT 1
18663
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user88@hungrymachine.com', 'first_name88', 'last_name88', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18664
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18665
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18666
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description46', 'application46', '2014-01-06 16:54:11', 88)
18667
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18668
+ Savepoint (0ms) SAVEPOINT active_record_1
18669
+ 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-06 16:54:12', '0 * * * * ?', 38, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job38', '2014-01-06 16:54:12', 87)
18670
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18671
+ #<Rearview::MonitorService:0x211311fe>#remove job:38 has already been removed
18672
+ Terminating 5 actors...
18673
+ Shutdown completed cleanly
18674
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18675
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user89@hungrymachine.com' LIMIT 1
18676
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user89@hungrymachine.com', 'first_name89', 'last_name89', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18677
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18678
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18679
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user90@hungrymachine.com' LIMIT 1
18680
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user90@hungrymachine.com', 'first_name90', 'last_name90', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18681
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
18682
+ Savepoint (0ms) SAVEPOINT active_record_1
18683
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description47', 'application47', '2014-01-06 16:54:11', 90)
18684
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18685
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18686
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 46, '2014-01-06 16:54:12', '0 * * * * ?', 39, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job39', '2014-01-06 16:54:12', 89)
18687
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18688
+ Terminating 5 actors...
18689
+ Shutdown completed cleanly
18690
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18691
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user91@hungrymachine.com' LIMIT 1
18692
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user91@hungrymachine.com', 'first_name91', 'last_name91', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18693
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18694
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18695
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user92@hungrymachine.com' LIMIT 1
18696
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user92@hungrymachine.com', 'first_name92', 'last_name92', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18697
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18698
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18699
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description48', 'application48', '2014-01-06 16:54:11', 92)
18700
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18701
+ Savepoint (0ms) SAVEPOINT active_record_1
18702
+ 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-06 16:54:12', '0 * * * * ?', 40, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job40', '2014-01-06 16:54:12', 91)
18703
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18704
+ Rearview::MonitorService crashed!
18705
+ Rearview::MonitorService::MonitorServiceError: service not started
18706
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/monitor_service.rb:49:in `add'
18707
+ org/jruby/RubyKernel.java:1961:in `public_send'
18708
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:25:in `dispatch'
18709
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:67:in `dispatch'
18710
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/actor.rb:326:in `handle_message'
18711
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:42:in `initialize'
18712
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:35:in `initialize'
18713
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks/task_fiber.rb:11:in `create'
18714
+ (celluloid):0:in `remote procedure call'
18715
+ Terminating 4 actors...
18716
+ Shutdown completed cleanly
18717
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18718
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user93@hungrymachine.com' LIMIT 1
18719
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user93@hungrymachine.com', 'first_name93', 'last_name93', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18720
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18721
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18722
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user94@hungrymachine.com' LIMIT 1
18723
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user94@hungrymachine.com', 'first_name94', 'last_name94', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18724
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18725
+ Savepoint (0ms) SAVEPOINT active_record_1
18726
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description49', 'application49', '2014-01-06 16:54:11', 94)
18727
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18728
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18729
+ 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\"]', 48, '2014-01-06 16:54:12', '0 * * * * ?', 41, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job41', '2014-01-06 16:54:12', 93)
18730
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18731
+ #<Rearview::MonitorService:0x75930ef4>#add job:41 already added
18732
+ Terminating 5 actors...
18733
+ Shutdown completed cleanly
18734
+ Savepoint (0ms) SAVEPOINT active_record_1
18735
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user95@hungrymachine.com' LIMIT 1
18736
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user95@hungrymachine.com', 'first_name95', 'last_name95', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18737
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18738
+ Savepoint (0ms) SAVEPOINT active_record_1
18739
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user96@hungrymachine.com' LIMIT 1
18740
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user96@hungrymachine.com', 'first_name96', 'last_name96', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18741
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
18742
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18743
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description50', 'application50', '2014-01-06 16:54:11', 96)
18744
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18745
+ Savepoint (0ms) SAVEPOINT active_record_1
18746
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 49, '2014-01-06 16:54:12', '0 * * * * ?', 42, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job42', '2014-01-06 16:54:12', 95)
18747
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18748
+ #<Rearview::MonitorService:0x32119303> schedule job: 42
18749
+ Terminating 5 actors...
18750
+ Shutdown completed cleanly
18751
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18752
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user97@hungrymachine.com' LIMIT 1
18753
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user97@hungrymachine.com', 'first_name97', 'last_name97', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18754
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18755
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18756
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user98@hungrymachine.com' LIMIT 1
18757
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user98@hungrymachine.com', 'first_name98', 'last_name98', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18758
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18759
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18760
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description51', 'application51', '2014-01-06 16:54:11', 98)
18761
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18762
+ Savepoint (0ms) SAVEPOINT active_record_1
18763
+ 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-06 16:54:12', '0 * * * * ?', 43, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job43', '2014-01-06 16:54:12', 97)
18764
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18765
+ #<Rearview::MonitorService:0x2581e373> schedule job: 43
18766
+ Rearview::MonitorService crashed!
18767
+ Rearview::MonitorService::MonitorServiceError: service not started
18768
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/monitor_service.rb:35:in `schedule'
18769
+ org/jruby/RubyKernel.java:1961:in `public_send'
18770
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:25:in `dispatch'
18771
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:67:in `dispatch'
18772
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/actor.rb:326:in `handle_message'
18773
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:42:in `initialize'
18774
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:35:in `initialize'
18775
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks/task_fiber.rb:11:in `create'
18776
+ (celluloid):0:in `remote procedure call'
18777
+ Terminating 4 actors...
18778
+ Shutdown completed cleanly
18779
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18780
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user99@hungrymachine.com' LIMIT 1
18781
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user99@hungrymachine.com', 'first_name99', 'last_name99', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18782
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18783
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18784
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user100@hungrymachine.com' LIMIT 1
18785
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user100@hungrymachine.com', 'first_name100', 'last_name100', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18786
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18787
+ Savepoint (0ms) SAVEPOINT active_record_1
18788
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description52', 'application52', '2014-01-06 16:54:11', 100)
18789
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18790
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18791
+ 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-06 16:54:12', '0 * * * * ?', 44, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job44', '2014-01-06 16:54:12', 99)
18792
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18793
+ #<Rearview::MonitorService:0x7ef9274d> schedule job: 44
18794
+ Terminating 5 actors...
18795
+ Shutdown completed cleanly
18796
+ Savepoint (0ms) SAVEPOINT active_record_1
18797
+ Rearview::User Exists (2.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user101@hungrymachine.com' LIMIT 1
18798
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user101@hungrymachine.com', 'first_name101', 'last_name101', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18799
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18800
+ Savepoint (0ms) SAVEPOINT active_record_1
18801
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user102@hungrymachine.com' LIMIT 1
18802
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user102@hungrymachine.com', 'first_name102', 'last_name102', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18803
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18804
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18805
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description53', 'application53', '2014-01-06 16:54:11', 102)
18806
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18807
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18808
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 52, '2014-01-06 16:54:12', '0 * * * * ?', 45, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job45', '2014-01-06 16:54:12', 101)
18809
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18810
+ #<Rearview::MonitorService:0x6f4d6e0e> unschedule job: 45
18811
+ Terminating 5 actors...
18812
+ Shutdown completed cleanly
18813
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18814
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user103@hungrymachine.com' LIMIT 1
18815
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user103@hungrymachine.com', 'first_name103', 'last_name103', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18816
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18817
+ Savepoint (0ms) SAVEPOINT active_record_1
18818
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user104@hungrymachine.com' LIMIT 1
18819
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user104@hungrymachine.com', 'first_name104', 'last_name104', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18820
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
18821
+ Savepoint (0ms) SAVEPOINT active_record_1
18822
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description54', 'application54', '2014-01-06 16:54:11', 104)
18823
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18824
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18825
+ 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-06 16:54:12', '0 * * * * ?', 46, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job46', '2014-01-06 16:54:12', 103)
18826
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18827
+ #<Rearview::MonitorService:0x104b24da> unschedule job: 46
18828
+ Rearview::MonitorService crashed!
18829
+ Rearview::MonitorService::MonitorServiceError: service not started
18830
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/monitor_service.rb:43:in `unschedule'
18831
+ org/jruby/RubyKernel.java:1961:in `public_send'
18832
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:25:in `dispatch'
18833
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:67:in `dispatch'
18834
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/actor.rb:326:in `handle_message'
18835
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:42:in `initialize'
18836
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:35:in `initialize'
18837
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks/task_fiber.rb:11:in `create'
18838
+ (celluloid):0:in `remote procedure call'
18839
+ Terminating 4 actors...
18840
+ Shutdown completed cleanly
18841
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18842
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user105@hungrymachine.com' LIMIT 1
18843
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user105@hungrymachine.com', 'first_name105', 'last_name105', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18844
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18845
+ Savepoint (0ms) SAVEPOINT active_record_1
18846
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user106@hungrymachine.com' LIMIT 1
18847
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user106@hungrymachine.com', 'first_name106', 'last_name106', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18848
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
18849
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18850
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description55', 'application55', '2014-01-06 16:54:11', 106)
18851
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18852
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18853
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 54, '2014-01-06 16:54:12', '0 * * * * ?', 47, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job47', '2014-01-06 16:54:12', 105)
18854
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18855
+ #<Rearview::MonitorService:0x2b9e3f29> unschedule job: 47
18856
+ Terminating 5 actors...
18857
+ Shutdown completed cleanly
18858
+ Rearview::MonitorService crashed!
18859
+ Rearview::MonitorService::MonitorServiceError: service not started
18860
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/monitor_service.rb:28:in `shutdown'
18861
+ org/jruby/RubyKernel.java:1961:in `public_send'
18862
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:25:in `dispatch'
18863
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/calls.rb:67:in `dispatch'
18864
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/actor.rb:326:in `handle_message'
18865
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:42:in `initialize'
18866
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:35:in `initialize'
18867
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/celluloid-0.14.1/lib/celluloid/tasks/task_fiber.rb:11:in `create'
18868
+ (celluloid):0:in `remote procedure call'
18869
+ Terminating 4 actors...
18870
+ Shutdown completed cleanly
18871
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18872
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user107@hungrymachine.com' LIMIT 1
18873
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user107@hungrymachine.com', 'first_name107', 'last_name107', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18874
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18875
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18876
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user108@hungrymachine.com' LIMIT 1
18877
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user108@hungrymachine.com', 'first_name108', 'last_name108', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18878
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
18879
+ Savepoint (0ms) SAVEPOINT active_record_1
18880
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user109@hungrymachine.com' LIMIT 1
18881
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user109@hungrymachine.com', 'first_name109', 'last_name109', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18882
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
18883
+ Savepoint (0ms) SAVEPOINT active_record_1
18884
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description56', 'application56', '2014-01-06 16:54:11', 109)
18885
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18886
+ Savepoint (0ms) SAVEPOINT active_record_1
18887
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 55, '2014-01-06 16:54:12', '0 * * * * ?', 48, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job48', '2014-01-06 16:54:12', 108)
18888
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18889
+ Processing by Rearview::JobsController#show as JSON
18890
+ Parameters: {"id"=>"48"}
18891
+ Rearview::Job Load (1.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`id` = 48 LIMIT 1
18892
+ Completed 200 OK in 14ms (Views: 10.0ms | ActiveRecord: 1.0ms)
18893
+ Savepoint (0ms) SAVEPOINT active_record_1
18894
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user110@hungrymachine.com' LIMIT 1
18895
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user110@hungrymachine.com', 'first_name110', 'last_name110', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18896
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18897
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18898
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user111@hungrymachine.com' LIMIT 1
18899
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user111@hungrymachine.com', 'first_name111', 'last_name111', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18900
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18901
+ Savepoint (0ms) SAVEPOINT active_record_1
18902
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user112@hungrymachine.com' LIMIT 1
18903
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user112@hungrymachine.com', 'first_name112', 'last_name112', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18904
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18905
+ Savepoint (0ms) SAVEPOINT active_record_1
18906
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description57', 'application57', '2014-01-06 16:54:11', 112)
18907
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18908
+ Savepoint (0ms) SAVEPOINT active_record_1
18909
+ 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-06 16:54:12', '0 * * * * ?', 49, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job49', '2014-01-06 16:54:12', 111)
18910
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18911
+ Processing by Rearview::JobsController#reset as JSON
18912
+ Parameters: {"userId"=>"111", "name"=>"job49", "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"=>"56", "id"=>"49"}
18913
+ Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.0ms)
18914
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18915
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user113@hungrymachine.com' LIMIT 1
18916
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user113@hungrymachine.com', 'first_name113', 'last_name113', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18917
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18918
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18919
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user114@hungrymachine.com' LIMIT 1
18920
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user114@hungrymachine.com', 'first_name114', 'last_name114', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18921
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18922
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18923
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user115@hungrymachine.com' LIMIT 1
18924
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user115@hungrymachine.com', 'first_name115', 'last_name115', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18925
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18926
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18927
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description58', 'application58', '2014-01-06 16:54:11', 115)
18928
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18929
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18930
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 57, '2014-01-06 16:54:12', '0 * * * * ?', 50, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job50', '2014-01-06 16:54:12', 114)
18931
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18932
+ Processing by Rearview::JobsController#destroy as JSON
18933
+ Parameters: {"id"=>"50"}
18934
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18935
+ Rearview::JobData Load (1.0ms) SELECT `job_data`.* FROM `job_data` WHERE `job_data`.`job_id` = 50 ORDER BY `job_data`.`id` ASC LIMIT 1
18936
+ Rearview::JobError Load (1.0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 50
18937
+ SQL (0ms) DELETE FROM `jobs` WHERE `jobs`.`id` = 50
18938
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18939
+ Completed 200 OK in 14ms (Views: 3.0ms | ActiveRecord: 3.0ms)
18940
+ Savepoint (0ms) SAVEPOINT active_record_1
18941
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user116@hungrymachine.com' LIMIT 1
18942
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user116@hungrymachine.com', 'first_name116', 'last_name116', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18943
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18944
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18945
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user117@hungrymachine.com' LIMIT 1
18946
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user117@hungrymachine.com', 'first_name117', 'last_name117', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18947
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18948
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18949
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user118@hungrymachine.com' LIMIT 1
18950
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user118@hungrymachine.com', 'first_name118', 'last_name118', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18951
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18952
+ Savepoint (0ms) SAVEPOINT active_record_1
18953
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description59', 'application59', '2014-01-06 16:54:11', 118)
18954
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18955
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18956
+ 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\"]', 58, '2014-01-06 16:54:12', '0 * * * * ?', 51, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job51', '2014-01-06 16:54:12', 117)
18957
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18958
+ Processing by Rearview::JobsController#data as JSON
18959
+ Parameters: {"id"=>"51"}
18960
+ Rearview::JobData Load (1.0ms) SELECT `job_data`.* FROM `job_data` WHERE ('job_id') LIMIT 1
18961
+ Completed 404 Not Found in 3ms (ActiveRecord: 1.0ms)
18962
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18963
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user119@hungrymachine.com' LIMIT 1
18964
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user119@hungrymachine.com', 'first_name119', 'last_name119', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18965
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18966
+ Savepoint (0ms) SAVEPOINT active_record_1
18967
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user120@hungrymachine.com' LIMIT 1
18968
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user120@hungrymachine.com', 'first_name120', 'last_name120', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18969
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18970
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18971
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user121@hungrymachine.com' LIMIT 1
18972
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user121@hungrymachine.com', 'first_name121', 'last_name121', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18973
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18974
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18975
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description60', 'application60', '2014-01-06 16:54:11', 121)
18976
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18977
+ Savepoint (0ms) SAVEPOINT active_record_1
18978
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 59, '2014-01-06 16:54:12', '0 * * * * ?', 52, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job52', '2014-01-06 16:54:12', 120)
18979
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18980
+ Savepoint (0ms) SAVEPOINT active_record_1
18981
+ SQL (0ms) INSERT INTO `job_data` (`created_at`, `data`, `job_id`, `updated_at`) VALUES ('2014-01-06 16:54:11', '{\"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]]}}', 52, '2014-01-06 16:54:11')
18982
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18983
+ Processing by Rearview::JobsController#data as JSON
18984
+ Parameters: {"id"=>"52"}
18985
+ Rearview::JobData Load (1.0ms) SELECT `job_data`.* FROM `job_data` WHERE ('job_id') LIMIT 1
18986
+ Completed 404 Not Found in 3ms (ActiveRecord: 1.0ms)
18987
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18988
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user122@hungrymachine.com' LIMIT 1
18989
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user122@hungrymachine.com', 'first_name122', 'last_name122', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18990
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
18991
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18992
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user123@hungrymachine.com' LIMIT 1
18993
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user123@hungrymachine.com', 'first_name123', 'last_name123', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
18994
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
18995
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18996
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description61', 'application61', '2014-01-06 16:54:11', 123)
18997
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
18998
+ Savepoint (1.0ms) SAVEPOINT active_record_1
18999
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user124@hungrymachine.com' LIMIT 1
19000
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user124@hungrymachine.com', 'first_name124', 'last_name124', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19001
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19002
+ Savepoint (0ms) SAVEPOINT active_record_1
19003
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user125@hungrymachine.com' LIMIT 1
19004
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user125@hungrymachine.com', 'first_name125', 'last_name125', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19005
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19006
+ Savepoint (0ms) SAVEPOINT active_record_1
19007
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description62', 'application62', '2014-01-06 16:54:11', 125)
19008
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19009
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19010
+ 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-06 16:54:12', '0 * * * * ?', 53, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job53', '2014-01-06 16:54:12', 124)
19011
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19012
+ Processing by Rearview::JobsController#update as JSON
19013
+ Parameters: {"userId"=>"124", "name"=>"job53", "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"=>"60", "id"=>"53"}
19014
+ Rearview::Job Load (2.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`id` = 53 LIMIT 1
19015
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19016
+ SQL (1.0ms) UPDATE `jobs` SET `app_id` = 60, `updated_at` = '2014-01-06 16:54:21', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 53
19017
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19018
+ Completed 200 OK in 40ms (Views: 3.0ms | ActiveRecord: 4.0ms)
19019
+ Savepoint (0ms) SAVEPOINT active_record_1
19020
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user126@hungrymachine.com' LIMIT 1
19021
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user126@hungrymachine.com', 'first_name126', 'last_name126', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19022
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19023
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19024
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user127@hungrymachine.com' LIMIT 1
19025
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user127@hungrymachine.com', 'first_name127', 'last_name127', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19026
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
19027
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19028
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user128@hungrymachine.com' LIMIT 1
19029
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user128@hungrymachine.com', 'first_name128', 'last_name128', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19030
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19031
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19032
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description63', 'application63', '2014-01-06 16:54:11', 128)
19033
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19034
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19035
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 62, '2014-01-06 16:54:12', '0 * * * * ?', 54, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job54', '2014-01-06 16:54:12', 127)
19036
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19037
+ Processing by Rearview::JobsController#update as JSON
19038
+ Parameters: {"userId"=>"127", "name"=>"job54", "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"=>"62", "id"=>"54"}
19039
+ Rearview::Job Load (2.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`id` = 54 LIMIT 1
19040
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19041
+ SQL (0ms) UPDATE `jobs` SET `updated_at` = '2014-01-06 16:54:21', `alert_keys` = '[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', `metrics` = '[\"stats_counts.cupcake.web_traffic.impression\"]' WHERE `jobs`.`id` = 54
19042
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19043
+ Completed 200 OK in 19ms (Views: 3.0ms | ActiveRecord: 3.0ms)
19044
+ Savepoint (0ms) SAVEPOINT active_record_1
19045
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user129@hungrymachine.com' LIMIT 1
19046
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user129@hungrymachine.com', 'first_name129', 'last_name129', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19047
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19048
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19049
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user130@hungrymachine.com' LIMIT 1
19050
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user130@hungrymachine.com', 'first_name130', 'last_name130', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19051
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
19052
+ Savepoint (0ms) SAVEPOINT active_record_1
19053
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user131@hungrymachine.com' LIMIT 1
19054
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user131@hungrymachine.com', 'first_name131', 'last_name131', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19055
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19056
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19057
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description64', 'application64', '2014-01-06 16:54:11', 131)
19058
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19059
+ Savepoint (0ms) SAVEPOINT active_record_1
19060
+ 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-06 16:54:12', '0 * * * * ?', 55, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job55', '2014-01-06 16:54:12', 130)
19061
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19062
+ Processing by Rearview::JobsController#errors as JSON
19063
+ Parameters: {"id"=>"55"}
19064
+ Rearview::JobError Load (1.0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 55 ORDER BY created_at DESC
19065
+ Completed 200 OK in 8ms (Views: 4.0ms | ActiveRecord: 1.0ms)
19066
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19067
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user132@hungrymachine.com' LIMIT 1
19068
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user132@hungrymachine.com', 'first_name132', 'last_name132', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19069
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19070
+ Processing by Rearview::JobsController#index as JSON
19071
+ Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)
19072
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19073
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user133@hungrymachine.com' LIMIT 1
19074
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user133@hungrymachine.com', 'first_name133', 'last_name133', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19075
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19076
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19077
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user134@hungrymachine.com' LIMIT 1
19078
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user134@hungrymachine.com', 'first_name134', 'last_name134', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19079
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19080
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19081
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user135@hungrymachine.com' LIMIT 1
19082
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user135@hungrymachine.com', 'first_name135', 'last_name135', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19083
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19084
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19085
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description65', 'application65', '2014-01-06 16:54:11', 135)
19086
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19087
+ Processing by Rearview::JobsController#create as JSON
19088
+ Parameters: {"userId"=>"134", "name"=>"job56", "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"=>"64"}
19089
+ Rearview::Job Load (1.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`id` IS NULL LIMIT 1
19090
+ WARNING: Can't mass-assign protected attributes for Rearview::Job: id
19091
+ protected_attributes (1.0.5) lib/active_model/mass_assignment_security/sanitizer.rb:46:in `process_removed_attributes'
19092
+ /Users/trentalbrigh/.rvm/rubies/jruby-1.7.5/lib/ruby/1.9/logger.rb:371:in `add'
19093
+ /Users/trentalbrigh/.rvm/rubies/jruby-1.7.5/lib/ruby/1.9/logger.rb:443:in `warn'
19094
+ protected_attributes (1.0.5) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes'
19095
+ protected_attributes (1.0.5) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize'
19096
+ protected_attributes (1.0.5) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment'
19097
+ protected_attributes (1.0.5) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes'
19098
+ protected_attributes (1.0.5) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes'
19099
+ activerecord (4.0.2) lib/active_record/core.rb:185:in `initialize'
19100
+ state_machine (1.2.0) lib/state_machine/integrations/active_record.rb:477:in `initialize'
19101
+ activerecord (4.0.2) lib/active_record/inheritance.rb:27:in `new'
19102
+ activerecord (4.0.2) lib/active_record/relation.rb:98:in `new'
19103
+ activerecord (4.0.2) lib/active_record/relation.rb:270:in `scoping'
19104
+ activerecord (4.0.2) lib/active_record/relation.rb:98:in `new'
19105
+ activerecord (4.0.2) lib/active_record/relation.rb:202:in `find_or_initialize_by'
19106
+ activerecord (4.0.2) lib/active_record/querying.rb:5:in `find_or_initialize_by'
19107
+ /Users/trentalbrigh/workspaces/rearview-engine/app/controllers/rearview/jobs_controller.rb:53:in `upsert'
19108
+ /Users/trentalbrigh/workspaces/rearview-engine/app/controllers/rearview/jobs_controller.rb:14:in `create'
19109
+ actionpack (4.0.2) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
19110
+ actionpack (4.0.2) lib/abstract_controller/base.rb:189:in `process_action'
19111
+ actionpack (4.0.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
19112
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:18:in `process_action'
19113
+ activesupport (4.0.2) lib/active_support/callbacks.rb:386:in `_run__1723651821__process_action__callbacks'
19114
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
19115
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
19116
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
19117
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `process_action'
19118
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
19119
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
19120
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:19:in `instrument'
19121
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
19122
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
19123
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
19124
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
19125
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
19126
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
19127
+ actionpack (4.0.2) lib/action_controller/test_case.rb:569:in `process'
19128
+ actionpack (4.0.2) lib/action_controller/test_case.rb:64:in `process'
19129
+ actionpack (4.0.2) lib/action_controller/test_case.rb:475:in `post'
19130
+ /Users/trentalbrigh/workspaces/rearview-engine/spec/controllers/jobs_controller_spec.rb:51:in `(root)'
19131
+ rspec-core (2.14.7) lib/rspec/core/example.rb:114:in `instance_eval'
19132
+ rspec-core (2.14.7) lib/rspec/core/example.rb:114:in `run'
19133
+ rspec-core (2.14.7) lib/rspec/core/example.rb:112:in `run'
19134
+ rspec-rails (2.14.0) lib/rspec/rails/example/controller_example_group.rb:158:in `call'
19135
+ rspec-rails (2.14.0) lib/rspec/rails/example/controller_example_group.rb:158:in `ControllerExampleGroup'
19136
+ rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
19137
+ rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
19138
+ rspec-core (2.14.7) lib/rspec/core/example.rb:247:in `instance_eval_with_args'
19139
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:106:in `run'
19140
+ rspec-core (2.14.7) lib/rspec/core/example.rb:179:in `call'
19141
+ rspec-core (2.14.7) lib/rspec/core/example.rb:179:in `extended'
19142
+ rspec-rails (2.14.0) lib/rspec/rails/adapters.rb:51:in `MiniTestLifecycleAdapter'
19143
+ rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
19144
+ rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
19145
+ rspec-core (2.14.7) lib/rspec/core/example.rb:247:in `instance_eval_with_args'
19146
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:106:in `run'
19147
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:104:in `call'
19148
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:104:in `run'
19149
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:446:in `run_hook'
19150
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
19151
+ rspec-core (2.14.7) lib/rspec/core/example.rb:256:in `with_around_each_hooks'
19152
+ rspec-core (2.14.7) lib/rspec/core/example.rb:111:in `run'
19153
+ rspec-core (2.14.7) lib/rspec/core/example.rb:109:in `run'
19154
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:390:in `run_examples'
19155
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:386:in `map'
19156
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:386:in `run_examples'
19157
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:371:in `run'
19158
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:372:in `run'
19159
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:372:in `map'
19160
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:372:in `run'
19161
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:28:in `run'
19162
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:28:in `map'
19163
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:28:in `run'
19164
+ rspec-core (2.14.7) lib/rspec/core/reporter.rb:58:in `report'
19165
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:25:in `run'
19166
+ rspec-core (2.14.7) lib/rspec/core/runner.rb:80:in `run'
19167
+ rspec-core (2.14.7) lib/rspec/core/runner.rb:17:in `autorun'
19168
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 64 LIMIT 1
19169
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19170
+ 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\"]', 64, '2014-01-06 16:54:21', '0 * * * * ?', '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job56', '2014-01-06 16:54:21', 134)
19171
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19172
+ Completed 200 OK in 25ms (Views: 4.0ms | ActiveRecord: 4.0ms)
19173
+ Rearview::CronHelper expr:"0 * * * * ?" now:"2014-01-06 00:00:00 -0500" java_now:"Mon Jan 06 00:00:00 EST 2014" next_valid_time:"Mon Jan 06 00:01:00 EST 2014" get_time:"1388984460" next_time:"2014-01-06 00:01:00 -0500" delay:60.0
19174
+ Rearview::CronHelper expr:"0 0 13 * * ?" now:"2014-01-06 00:00:00 -0500" java_now:"Mon Jan 06 00:00:00 EST 2014" next_valid_time:"Mon Jan 06 13:00:00 EST 2014" get_time:"1389031200" next_time:"2014-01-06 13:00:00 -0500" delay:46800.0
19175
+ Rearview::CronHelper expr:"0 30 * * * ?" now:"2014-01-06 00:00:00 -0500" java_now:"Mon Jan 06 00:00:00 EST 2014" next_valid_time:"Mon Jan 06 00:30:00 EST 2014" get_time:"1388986200" next_time:"2014-01-06 00:30:00 -0500" delay:1800.0
19176
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19177
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user136@hungrymachine.com' LIMIT 1
19178
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user136@hungrymachine.com', 'first_name136', 'last_name136', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19179
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19180
+ Savepoint (0ms) SAVEPOINT active_record_1
19181
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user137@hungrymachine.com' LIMIT 1
19182
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user137@hungrymachine.com', 'first_name137', 'last_name137', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19183
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19184
+ Savepoint (0ms) SAVEPOINT active_record_1
19185
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description66', 'application66', '2014-01-06 16:54:11', 137)
19186
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19187
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19188
+ 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\"]', 65, '2014-01-06 16:54:12', '0 * * * * ?', 57, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job57', '2014-01-06 16:54:12', 136)
19189
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19190
+ #<Rearview::AlertsHandler:0x25f6fc04> [jobId:57 threadId:1 threadName:main] run
19191
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19192
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user138@hungrymachine.com' LIMIT 1
19193
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user138@hungrymachine.com', 'first_name138', 'last_name138', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19194
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19195
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19196
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user139@hungrymachine.com' LIMIT 1
19197
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user139@hungrymachine.com', 'first_name139', 'last_name139', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19198
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19199
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19200
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description67', 'application67', '2014-01-06 16:54:11', 139)
19201
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19202
+ Savepoint (0ms) SAVEPOINT active_record_1
19203
+ 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\"]', 66, '2014-01-06 16:54:12', '0 * * * * ?', 58, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job58', '2014-01-06 16:54:12', 138)
19204
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19205
+ #<Rearview::AlertsHandler:0x22fd7697> [jobId:58 threadId:1 threadName:main] run
19206
+ #<Rearview::AlertsHandler:0x22fd7697> [jobId:58 threadId:1 threadName:main] #<Mocha::Mock:0x2e74c573> failed: unexpected
19207
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/exception_raiser.rb:11:in `evaluate'
19208
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/return_values.rb:20:in `next'
19209
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/expectation.rb:569:in `invoke'
19210
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/mock.rb:232:in `method_missing'
19211
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/alerts_handler.rb:16:in `run'
19212
+ org/jruby/RubyArray.java:1613:in `each'
19213
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/alerts_handler.rb:13:in `run'
19214
+ /Users/trentalbrigh/workspaces/rearview-engine/spec/lib/rearview/alerts_handler_spec.rb:37:in `(root)'
19215
+ org/jruby/RubyBasicObject.java:1536:in `instance_eval'
19216
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `run'
19217
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:112:in `run'
19218
+ org/jruby/RubyProc.java:271:in `call'
19219
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `extended'
19220
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-rails-2.14.0/lib/rspec/rails/adapters.rb:51:in `MiniTestLifecycleAdapter'
19221
+ org/jruby/RubyBasicObject.java:1565:in `instance_exec'
19222
+ /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'
19223
+ /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'
19224
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `run'
19225
+ org/jruby/RubyProc.java:271:in `call'
19226
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
19227
+ /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'
19228
+ /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'
19229
+ /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'
19230
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
19231
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:109:in `run'
19232
+ /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'
19233
+ org/jruby/RubyArray.java:2413:in `map'
19234
+ /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'
19235
+ /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'
19236
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:369:in `run'
19237
+ /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'
19238
+ org/jruby/RubyArray.java:2413:in `map'
19239
+ /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'
19240
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:369:in `run'
19241
+ /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'
19242
+ org/jruby/RubyArray.java:2413:in `map'
19243
+ /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'
19244
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
19245
+ /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'
19246
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
19247
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `autorun'
19248
+ Savepoint (0ms) SAVEPOINT active_record_1
19249
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user140@hungrymachine.com' LIMIT 1
19250
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user140@hungrymachine.com', 'first_name140', 'last_name140', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19251
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19252
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19253
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user141@hungrymachine.com' LIMIT 1
19254
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user141@hungrymachine.com', 'first_name141', 'last_name141', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19255
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19256
+ Savepoint (0ms) SAVEPOINT active_record_1
19257
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description68', 'application68', '2014-01-06 16:54:11', 141)
19258
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19259
+ Savepoint (0ms) SAVEPOINT active_record_1
19260
+ 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\"]', 67, '2014-01-06 16:54:12', '0 * * * * ?', 59, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job59', '2014-01-06 16:54:12', 140)
19261
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19262
+ #<Rearview::AlertsHandler:0x4ad28057> [jobId:59 threadId:1 threadName:main] run
19263
+ #<Rearview::AlertsHandler:0x4ad28057> [jobId:59 threadId:1 threadName:main] #<Mocha::Mock:0x41e7f621> failed: oops
19264
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/exception_raiser.rb:11:in `evaluate'
19265
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/return_values.rb:20:in `next'
19266
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/expectation.rb:569:in `invoke'
19267
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/mock.rb:232:in `method_missing'
19268
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/alerts_handler.rb:16:in `run'
19269
+ org/jruby/RubyArray.java:1613:in `each'
19270
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/alerts_handler.rb:13:in `run'
19271
+ /Users/trentalbrigh/workspaces/rearview-engine/spec/lib/rearview/alerts_handler_spec.rb:31:in `(root)'
19272
+ org/jruby/RubyProc.java:271:in `call'
19273
+ /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?'
19274
+ /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?'
19275
+ /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'
19276
+ /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'
19277
+ /Users/trentalbrigh/workspaces/rearview-engine/spec/lib/rearview/alerts_handler_spec.rb:31:in `(root)'
19278
+ org/jruby/RubyBasicObject.java:1536:in `instance_eval'
19279
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `run'
19280
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:112:in `run'
19281
+ org/jruby/RubyProc.java:271:in `call'
19282
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `extended'
19283
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-rails-2.14.0/lib/rspec/rails/adapters.rb:51:in `MiniTestLifecycleAdapter'
19284
+ org/jruby/RubyBasicObject.java:1565:in `instance_exec'
19285
+ /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'
19286
+ /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'
19287
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `run'
19288
+ org/jruby/RubyProc.java:271:in `call'
19289
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
19290
+ /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'
19291
+ /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'
19292
+ /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'
19293
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
19294
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:109:in `run'
19295
+ /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'
19296
+ org/jruby/RubyArray.java:2413:in `map'
19297
+ /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'
19298
+ /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'
19299
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:369:in `run'
19300
+ /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'
19301
+ org/jruby/RubyArray.java:2413:in `map'
19302
+ /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'
19303
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:369:in `run'
19304
+ /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'
19305
+ org/jruby/RubyArray.java:2413:in `map'
19306
+ /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'
19307
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
19308
+ /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'
19309
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
19310
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `autorun'
19311
+ #<Rearview::AlertsHandler:0x4ad28057> [jobId:59 threadId:1 threadName:main] #<Mocha::Mock:0x63d01254> failed: oops
19312
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/exception_raiser.rb:11:in `evaluate'
19313
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/return_values.rb:20:in `next'
19314
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/expectation.rb:569:in `invoke'
19315
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/mocha-0.14.0/lib/mocha/mock.rb:232:in `method_missing'
19316
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/alerts_handler.rb:16:in `run'
19317
+ org/jruby/RubyArray.java:1613:in `each'
19318
+ /Users/trentalbrigh/workspaces/rearview-engine/lib/rearview/alerts_handler.rb:13:in `run'
19319
+ /Users/trentalbrigh/workspaces/rearview-engine/spec/lib/rearview/alerts_handler_spec.rb:31:in `(root)'
19320
+ org/jruby/RubyProc.java:271:in `call'
19321
+ /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?'
19322
+ /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?'
19323
+ /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'
19324
+ /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'
19325
+ /Users/trentalbrigh/workspaces/rearview-engine/spec/lib/rearview/alerts_handler_spec.rb:31:in `(root)'
19326
+ org/jruby/RubyBasicObject.java:1536:in `instance_eval'
19327
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:114:in `run'
19328
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:112:in `run'
19329
+ org/jruby/RubyProc.java:271:in `call'
19330
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:179:in `extended'
19331
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-rails-2.14.0/lib/rspec/rails/adapters.rb:51:in `MiniTestLifecycleAdapter'
19332
+ org/jruby/RubyBasicObject.java:1565:in `instance_exec'
19333
+ /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'
19334
+ /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'
19335
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:106:in `run'
19336
+ org/jruby/RubyProc.java:271:in `call'
19337
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/hooks.rb:104:in `run'
19338
+ /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'
19339
+ /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'
19340
+ /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'
19341
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:111:in `run'
19342
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example.rb:109:in `run'
19343
+ /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'
19344
+ org/jruby/RubyArray.java:2413:in `map'
19345
+ /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'
19346
+ /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'
19347
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:369:in `run'
19348
+ /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'
19349
+ org/jruby/RubyArray.java:2413:in `map'
19350
+ /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'
19351
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/example_group.rb:369:in `run'
19352
+ /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'
19353
+ org/jruby/RubyArray.java:2413:in `map'
19354
+ /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'
19355
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/reporter.rb:58:in `report'
19356
+ /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'
19357
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:80:in `run'
19358
+ /Users/trentalbrigh/.rvm/gems/jruby-1.7.5@rearview-engine/gems/rspec-core-2.14.7/lib/rspec/core/runner.rb:17:in `autorun'
19359
+ Savepoint (0ms) SAVEPOINT active_record_1
19360
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user142@hungrymachine.com' LIMIT 1
19361
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user142@hungrymachine.com', 'first_name142', 'last_name142', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19362
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19363
+ Processing by Rearview::UserController#update as JSON
19364
+ Parameters: {"preferences"=>{"pref1"=>"val1", "pref2"=>"val2"}}
19365
+ Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms)
19366
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19367
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user143@hungrymachine.com' LIMIT 1
19368
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user143@hungrymachine.com', 'first_name143', 'last_name143', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19369
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19370
+ Processing by Rearview::UserController#show as JSON
19371
+ Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
19372
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19373
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user144@hungrymachine.com' LIMIT 1
19374
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user144@hungrymachine.com', 'first_name144', 'last_name144', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19375
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19376
+ Processing by Rearview::MonitorController#create as JSON
19377
+ Parameters: {"metrics"=>"blah.blah.blah", "monitorExpr"=>"abc", "minutes"=>"1", "toDate"=>"now"}
19378
+ Completed 200 OK in 12ms (Views: 10.0ms | ActiveRecord: 0.0ms)
19379
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19380
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user145@hungrymachine.com' LIMIT 1
19381
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user145@hungrymachine.com', 'first_name145', 'last_name145', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19382
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19383
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19384
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user146@hungrymachine.com' LIMIT 1
19385
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user146@hungrymachine.com', 'first_name146', 'last_name146', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19386
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19387
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19388
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description69', 'application69', '2014-01-06 16:54:11', 146)
19389
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19390
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19391
+ 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-06 16:54:12', '0 * * * * ?', 60, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job60', '2014-01-06 16:54:12', 145)
19392
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19393
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19394
+ SQL (1.0ms) INSERT INTO `job_data` (`created_at`, `data`, `job_id`, `updated_at`) VALUES ('2014-01-06 16:54:11', '{\"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]]}}', 60, '2014-01-06 16:54:11')
19395
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19396
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19397
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user147@hungrymachine.com' LIMIT 1
19398
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user147@hungrymachine.com', 'first_name147', 'last_name147', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19399
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19400
+ Savepoint (0ms) SAVEPOINT active_record_1
19401
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user148@hungrymachine.com' LIMIT 1
19402
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user148@hungrymachine.com', 'first_name148', 'last_name148', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19403
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19404
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19405
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description70', 'application70', '2014-01-06 16:54:11', 148)
19406
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19407
+ Savepoint (0ms) SAVEPOINT active_record_1
19408
+ 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\"]', 69, '2014-01-06 16:54:12', '0 * * * * ?', 61, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job61', '2014-01-06 16:54:12', 147)
19409
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
19410
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19411
+ SQL (0ms) INSERT INTO `job_data` (`created_at`, `data`, `job_id`, `updated_at`) VALUES ('2014-01-06 16:54:11', '{\"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]]}}', 61, '2014-01-06 16:54:11')
19412
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19413
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19414
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user149@hungrymachine.com' LIMIT 1
19415
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user149@hungrymachine.com', 'first_name149', 'last_name149', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19416
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19417
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19418
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user150@hungrymachine.com' LIMIT 1
19419
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user150@hungrymachine.com', 'first_name150', 'last_name150', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19420
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19421
+ Savepoint (0ms) SAVEPOINT active_record_1
19422
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description71', 'application71', '2014-01-06 16:54:11', 150)
19423
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19424
+ Savepoint (0ms) SAVEPOINT active_record_1
19425
+ 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\"]', 70, '2014-01-06 16:54:12', '0 * * * * ?', 62, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job62', '2014-01-06 16:54:12', 149)
19426
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19427
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19428
+ SQL (1.0ms) INSERT INTO `job_data` (`created_at`, `data`, `job_id`, `updated_at`) VALUES ('2014-01-06 16:54:11', '{\"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]]}}', 62, '2014-01-06 16:54:11')
19429
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19430
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/job_data/_job_data.json.jbuilder (1.0ms)
19431
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19432
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user151@hungrymachine.com' LIMIT 1
19433
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user151@hungrymachine.com', 'first_name151', 'last_name151', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19434
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19435
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19436
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user152@hungrymachine.com' LIMIT 1
19437
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user152@hungrymachine.com', 'first_name152', 'last_name152', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19438
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19439
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19440
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description72', 'application72', '2014-01-06 16:54:11', 152)
19441
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19442
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19443
+ 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-06 16:54:12', '0 * * * * ?', 63, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job63', '2014-01-06 16:54:12', 151)
19444
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19445
+ #<Rearview::Alerts::EmailAlert:0x6f0eccbd> send alert for #<Rearview::Job id: 63, created_at: "2014-01-06 16:54:12", updated_at: "2014-01-06 16:54:12", name: "job63", active: true, last_run: nil, cron_expr: "0 * * * * ?", status: nil, user_id: 151, alert_keys: ["mailto:foo@hungrymachine.com", "pagerduty:54232f6f4c4447efb6d15e20dbb7349c"], deleted_at: nil, error_timeout: 60, next_run: nil, description: nil, app_id: 71, 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"}
19446
+ Savepoint (0ms) SAVEPOINT active_record_1
19447
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user153@hungrymachine.com' LIMIT 1
19448
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user153@hungrymachine.com', 'first_name153', 'last_name153', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19449
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19450
+ Savepoint (0ms) SAVEPOINT active_record_1
19451
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user154@hungrymachine.com' LIMIT 1
19452
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user154@hungrymachine.com', 'first_name154', 'last_name154', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19453
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19454
+ Savepoint (0ms) SAVEPOINT active_record_1
19455
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description73', 'application73', '2014-01-06 16:54:11', 154)
19456
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19457
+ Savepoint (0ms) SAVEPOINT active_record_1
19458
+ 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\"]', 72, '2014-01-06 16:54:12', '0 * * * * ?', 64, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job64', '2014-01-06 16:54:12', 153)
19459
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19460
+ #<Rearview::Alerts::EmailAlert:0x77ce179d> send alert for #<Rearview::Job id: 64, created_at: "2014-01-06 16:54:12", updated_at: "2014-01-06 16:54:12", name: "job64", active: true, last_run: nil, cron_expr: "0 * * * * ?", status: nil, user_id: 153, alert_keys: ["mailto:foo@hungrymachine.com", "pagerduty:54232f6f4c4447efb6d15e20dbb7349c"], deleted_at: nil, error_timeout: 60, next_run: nil, description: nil, app_id: 72, 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"}
19461
+ Terminating 5 actors...
19462
+ Shutdown completed cleanly
19463
+ Terminating 5 actors...
19464
+ Shutdown completed cleanly
19465
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19466
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user155@hungrymachine.com' LIMIT 1
19467
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user155@hungrymachine.com', 'first_name155', 'last_name155', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19468
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19469
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19470
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user156@hungrymachine.com' LIMIT 1
19471
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user156@hungrymachine.com', 'first_name156', 'last_name156', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19472
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19473
+ Savepoint (0ms) SAVEPOINT active_record_1
19474
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description74', 'application74', '2014-01-06 16:54:11', 156)
19475
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
19476
+ Savepoint (0ms) SAVEPOINT active_record_1
19477
+ 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\"]', 73, '2014-01-06 16:54:12', '0 * * * * ?', 65, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job65', '2014-01-06 16:54:12', 155)
19478
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19479
+ job: 00065 cron: 0 * * * * ? meta:{:delay=>60.0, :initial_delay=>0.0}
19480
+ #<Rearview::MonitorTask:0x3558b937> [jobId:nil threadId:338 threadName:FiberThread#16196] intialize initial_delay:0.0 start:true
19481
+ #<Rearview::MonitorTask:0x3558b937> [jobId:65 threadId:338 threadName:FiberThread#16196] schedule
19482
+ #<Rearview::MonitorTask:0x3558b937> [jobId:65 threadId:338 threadName:FiberThread#16196] next run in 60.0s
19483
+ Terminating 6 actors...
19484
+ Shutdown completed cleanly
19485
+ Savepoint (0ms) SAVEPOINT active_record_1
19486
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user157@hungrymachine.com' LIMIT 1
19487
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user157@hungrymachine.com', 'first_name157', 'last_name157', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19488
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19489
+ Savepoint (0ms) SAVEPOINT active_record_1
19490
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user158@hungrymachine.com' LIMIT 1
19491
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user158@hungrymachine.com', 'first_name158', 'last_name158', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19492
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19493
+ Savepoint (0ms) SAVEPOINT active_record_1
19494
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description75', 'application75', '2014-01-06 16:54:11', 158)
19495
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19496
+ Savepoint (0ms) SAVEPOINT active_record_1
19497
+ 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-06 16:54:12', '0 * * * * ?', 66, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job66', '2014-01-06 16:54:12', 157)
19498
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19499
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19500
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user159@hungrymachine.com' LIMIT 1
19501
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user159@hungrymachine.com', 'first_name159', 'last_name159', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19502
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19503
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19504
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user160@hungrymachine.com' LIMIT 1
19505
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user160@hungrymachine.com', 'first_name160', 'last_name160', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19506
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19507
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19508
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description76', 'application76', '2014-01-06 16:54:11', 160)
19509
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19510
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19511
+ 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\"]', 75, '2014-01-06 16:54:12', '0 * * * * ?', 67, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job67', '2014-01-06 16:54:12', 159)
19512
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19513
+ job: 00066 cron: 0 * * * * ? meta:{:delay=>60.0, :initial_delay=>0.0}
19514
+ job: 00067 cron: 0 * * * * ? meta:{:delay=>60.0, :initial_delay=>2.0}
19515
+ #<Rearview::MonitorTask:0x6374bab> [jobId:nil threadId:359 threadName:FiberThread#16376] intialize initial_delay:0.0 start:true
19516
+ #<Rearview::MonitorTask:0x6374bab> [jobId:66 threadId:359 threadName:FiberThread#16376] schedule
19517
+ #<Rearview::MonitorTask:0x6374bab> [jobId:66 threadId:359 threadName:FiberThread#16376] next run in 60.0s
19518
+ #<Rearview::MonitorTask:0x10e728dd> [jobId:nil threadId:361 threadName:FiberThread#16380] intialize initial_delay:2.0 start:true
19519
+ #<Rearview::MonitorTask:0x10e728dd> [jobId:67 threadId:361 threadName:FiberThread#16380] schedule
19520
+ #<Rearview::MonitorTask:0x10e728dd> [jobId:67 threadId:361 threadName:FiberThread#16380] next run in 62.0s
19521
+ Terminating 5 actors...
19522
+ Shutdown completed cleanly
19523
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19524
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user161@hungrymachine.com' LIMIT 1
19525
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user161@hungrymachine.com', 'first_name161', 'last_name161', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19526
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19527
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19528
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user162@hungrymachine.com' LIMIT 1
19529
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user162@hungrymachine.com', 'first_name162', 'last_name162', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19530
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19531
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19532
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description77', 'application77', '2014-01-06 16:54:11', 162)
19533
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19534
+ Savepoint (0ms) SAVEPOINT active_record_1
19535
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 76, '2014-01-06 16:54:12', '0 * * * * ?', 68, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job68', '2014-01-06 16:54:12', 161)
19536
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19537
+ job: 00068 cron: 0 * * * * ? meta:{:delay=>60.0, :initial_delay=>0.0}
19538
+ #<Rearview::MonitorTask:0x551a9433> [jobId:nil threadId:383 threadName:FiberThread#16488] intialize initial_delay:0.0 start:true
19539
+ #<Rearview::MonitorTask:0x551a9433> [jobId:68 threadId:383 threadName:FiberThread#16488] schedule
19540
+ #<Rearview::MonitorTask:0x551a9433> [jobId:68 threadId:383 threadName:FiberThread#16488] next run in 60.0s
19541
+ #<Rearview::MonitorSupervisor:0x6b8b821> [threadId:384 threadName:FiberThread#16492] removing job:68
19542
+ Terminating 5 actors...
19543
+ Shutdown completed cleanly
19544
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19545
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user163@hungrymachine.com' LIMIT 1
19546
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user163@hungrymachine.com', 'first_name163', 'last_name163', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19547
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19548
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19549
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user164@hungrymachine.com' LIMIT 1
19550
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user164@hungrymachine.com', 'first_name164', 'last_name164', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19551
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19552
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19553
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description78', 'application78', '2014-01-06 16:54:11', 164)
19554
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19555
+ Savepoint (0ms) SAVEPOINT active_record_1
19556
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 77, '2014-01-06 16:54:12', '0 * * * * ?', 69, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job69', '2014-01-06 16:54:12', 163)
19557
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19558
+ #<Rearview::MonitorSupervisor:0x435dfb5f> [threadId:402 threadName:FiberThread#16592] removing job:69
19559
+ Terminating 5 actors...
19560
+ Shutdown completed cleanly
19561
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19562
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user165@hungrymachine.com' LIMIT 1
19563
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user165@hungrymachine.com', 'first_name165', 'last_name165', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19564
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
19565
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19566
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description79', 'application79', '2014-01-06 16:54:11', 165)
19567
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19568
+ Savepoint (0ms) SAVEPOINT active_record_1
19569
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user166@hungrymachine.com' LIMIT 1
19570
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user166@hungrymachine.com', 'first_name166', 'last_name166', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19571
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19572
+ Savepoint (0ms) SAVEPOINT active_record_1
19573
+ 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\"]', 78, '2014-01-06 16:54:12', '0 * * * * ?', 70, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job70', '2014-01-06 16:54:12', 166)
19574
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19575
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19576
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-05 16:54:22', 70, 'message7', 'failed', '2014-01-06 16:54:22')
19577
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19578
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19579
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-04 16:54:22', 70, 'message8', 'failed', '2014-01-06 16:54:22')
19580
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19581
+ Rearview::JobError Load (1.0ms) SELECT `job_errors`.* FROM `job_errors` WHERE (job_id = 70) ORDER BY created_at DESC LIMIT 1
19582
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19583
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user167@hungrymachine.com' LIMIT 1
19584
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user167@hungrymachine.com', 'first_name167', 'last_name167', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19585
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19586
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19587
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description80', 'application80', '2014-01-06 16:54:11', 167)
19588
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19589
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19590
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user168@hungrymachine.com' LIMIT 1
19591
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user168@hungrymachine.com', 'first_name168', 'last_name168', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19592
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19593
+ Savepoint (0ms) SAVEPOINT active_record_1
19594
+ 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-06 16:54:12', '0 * * * * ?', 71, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job71', '2014-01-06 16:54:12', 168)
19595
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19596
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19597
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-05 16:54:22', 71, 'message9', 'success', '2014-01-06 16:54:22')
19598
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19599
+ Rearview::JobError Load (1.0ms) SELECT `job_errors`.* FROM `job_errors` WHERE (status != 'success') AND (job_id = 71) ORDER BY created_at DESC LIMIT 1
19600
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19601
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user169@hungrymachine.com' LIMIT 1
19602
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user169@hungrymachine.com', 'first_name169', 'last_name169', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19603
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19604
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19605
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description81', 'application81', '2014-01-06 16:54:11', 169)
19606
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19607
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19608
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user170@hungrymachine.com' LIMIT 1
19609
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user170@hungrymachine.com', 'first_name170', 'last_name170', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19610
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19611
+ Savepoint (0ms) SAVEPOINT active_record_1
19612
+ 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-06 16:54:12', '0 * * * * ?', 72, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job72', '2014-01-06 16:54:12', 170)
19613
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19614
+ Savepoint (0ms) SAVEPOINT active_record_1
19615
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-05 16:54:22', 72, 'message10', 'failed', '2014-01-06 16:54:22')
19616
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
19617
+ Rearview::JobError Load (1.0ms) SELECT `job_errors`.* FROM `job_errors` WHERE (status != 'success') AND (job_id = 72) ORDER BY created_at DESC LIMIT 1
19618
+ Savepoint (0ms) SAVEPOINT active_record_1
19619
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user171@hungrymachine.com' LIMIT 1
19620
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user171@hungrymachine.com', 'first_name171', 'last_name171', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19621
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19622
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19623
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description82', 'application82', '2014-01-06 16:54:11', 171)
19624
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19625
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19626
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user172@hungrymachine.com' LIMIT 1
19627
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user172@hungrymachine.com', 'first_name172', 'last_name172', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19628
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19629
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19630
+ 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\"]', 81, '2014-01-06 16:54:12', '0 * * * * ?', 73, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job73', '2014-01-06 16:54:12', 172)
19631
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19632
+ Savepoint (0ms) SAVEPOINT active_record_1
19633
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-06 16:54:11', 73, 'message11', 'failed', '2014-01-06 16:54:22')
19634
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
19635
+ #<Rearview::JobError:0x148e3dcf>#create_alert for transition nil
19636
+ Savepoint (0ms) SAVEPOINT active_record_1
19637
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user173@hungrymachine.com' LIMIT 1
19638
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user173@hungrymachine.com', 'first_name173', 'last_name173', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19639
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19640
+ Savepoint (0ms) SAVEPOINT active_record_1
19641
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description83', 'application83', '2014-01-06 16:54:11', 173)
19642
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19643
+ Savepoint (0ms) SAVEPOINT active_record_1
19644
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user174@hungrymachine.com' LIMIT 1
19645
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user174@hungrymachine.com', 'first_name174', 'last_name174', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19646
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19647
+ Savepoint (0ms) SAVEPOINT active_record_1
19648
+ 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\"]', 82, '2014-01-06 16:54:12', '0 * * * * ?', 74, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job74', '2014-01-06 16:54:12', 174)
19649
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19650
+ Savepoint (0ms) SAVEPOINT active_record_1
19651
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-06 16:51:22', 74, 'message12', 'success', '2014-01-06 16:54:22')
19652
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19653
+ Savepoint (0ms) SAVEPOINT active_record_1
19654
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-06 16:52:22', 74, 'message13', 'error', '2014-01-06 16:54:22')
19655
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19656
+ Savepoint (0ms) SAVEPOINT active_record_1
19657
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-06 16:53:22', 74, 'message14', 'success', '2014-01-06 16:54:22')
19658
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19659
+ Savepoint (0ms) SAVEPOINT active_record_1
19660
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user175@hungrymachine.com' LIMIT 1
19661
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user175@hungrymachine.com', 'first_name175', 'last_name175', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19662
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19663
+ Savepoint (0ms) SAVEPOINT active_record_1
19664
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description84', 'application84', '2014-01-06 16:54:11', 175)
19665
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19666
+ Savepoint (0ms) SAVEPOINT active_record_1
19667
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user176@hungrymachine.com' LIMIT 1
19668
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user176@hungrymachine.com', 'first_name176', 'last_name176', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19669
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19670
+ Savepoint (0ms) SAVEPOINT active_record_1
19671
+ 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-06 16:54:12', '0 * * * * ?', 75, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job75', '2014-01-06 16:54:12', 176)
19672
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19673
+ Savepoint (0ms) SAVEPOINT active_record_1
19674
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-06 16:52:22', 75, 'message15', 'success', '2014-01-06 16:54:22')
19675
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19676
+ Savepoint (0ms) SAVEPOINT active_record_1
19677
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-06 16:53:22', 75, 'message16', 'error', '2014-01-06 16:54:22')
19678
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19679
+ Savepoint (0ms) SAVEPOINT active_record_1
19680
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user177@hungrymachine.com' LIMIT 1
19681
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user177@hungrymachine.com', 'first_name177', 'last_name177', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19682
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19683
+ Savepoint (0ms) SAVEPOINT active_record_1
19684
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description85', 'application85', '2014-01-06 16:54:11', 177)
19685
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19686
+ Savepoint (0ms) SAVEPOINT active_record_1
19687
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user178@hungrymachine.com' LIMIT 1
19688
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user178@hungrymachine.com', 'first_name178', 'last_name178', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19689
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19690
+ Savepoint (0ms) SAVEPOINT active_record_1
19691
+ 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\"]', 84, '2014-01-06 16:54:12', '0 * * * * ?', 76, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job76', '2014-01-06 16:54:12', 178)
19692
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19693
+ Savepoint (0ms) SAVEPOINT active_record_1
19694
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-06 16:50:22', 76, 'message17', 'success', '2014-01-06 16:54:22')
19695
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19696
+ Savepoint (0ms) SAVEPOINT active_record_1
19697
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-06 16:51:22', 76, 'message18', 'error', '2014-01-06 16:54:22')
19698
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19699
+ Savepoint (0ms) SAVEPOINT active_record_1
19700
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-06 16:52:22', 76, 'message19', 'error', '2014-01-06 16:54:22')
19701
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19702
+ Savepoint (0ms) SAVEPOINT active_record_1
19703
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-06 16:53:22', 76, 'message20', 'success', '2014-01-06 16:54:22')
19704
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19705
+ Savepoint (0ms) SAVEPOINT active_record_1
19706
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user179@hungrymachine.com' LIMIT 1
19707
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user179@hungrymachine.com', 'first_name179', 'last_name179', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19708
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19709
+ Savepoint (0ms) SAVEPOINT active_record_1
19710
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description86', 'application86', '2014-01-06 16:54:11', 179)
19711
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19712
+ Savepoint (0ms) SAVEPOINT active_record_1
19713
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user180@hungrymachine.com' LIMIT 1
19714
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user180@hungrymachine.com', 'first_name180', 'last_name180', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19715
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19716
+ Savepoint (0ms) SAVEPOINT active_record_1
19717
+ 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\"]', 85, '2014-01-06 16:54:12', '0 * * * * ?', 77, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job77', '2014-01-06 16:54:12', 180)
19718
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19719
+ Savepoint (0ms) SAVEPOINT active_record_1
19720
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-06 16:53:22', 77, 'message21', 'error', '2014-01-06 16:54:22')
19721
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19722
+ Savepoint (0ms) SAVEPOINT active_record_1
19723
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user181@hungrymachine.com' LIMIT 1
19724
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user181@hungrymachine.com', 'first_name181', 'last_name181', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19725
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19726
+ Savepoint (0ms) SAVEPOINT active_record_1
19727
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description87', 'application87', '2014-01-06 16:54:11', 181)
19728
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19729
+ Savepoint (0ms) SAVEPOINT active_record_1
19730
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user182@hungrymachine.com' LIMIT 1
19731
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user182@hungrymachine.com', 'first_name182', 'last_name182', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19732
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19733
+ Savepoint (0ms) SAVEPOINT active_record_1
19734
+ 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-06 16:54:12', '0 * * * * ?', 78, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job78', '2014-01-06 16:54:12', 182)
19735
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19736
+ Savepoint (0ms) SAVEPOINT active_record_1
19737
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-06 16:52:22', 78, 'message22', 'error', '2014-01-06 16:54:22')
19738
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19739
+ Savepoint (0ms) SAVEPOINT active_record_1
19740
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-06 16:53:22', 78, 'message23', 'success', '2014-01-06 16:54:22')
19741
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19742
+ Savepoint (0ms) SAVEPOINT active_record_1
19743
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user183@hungrymachine.com' LIMIT 1
19744
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user183@hungrymachine.com', 'first_name183', 'last_name183', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19745
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19746
+ Savepoint (0ms) SAVEPOINT active_record_1
19747
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description88', 'application88', '2014-01-06 16:54:11', 183)
19748
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19749
+ Savepoint (0ms) SAVEPOINT active_record_1
19750
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user184@hungrymachine.com' LIMIT 1
19751
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user184@hungrymachine.com', 'first_name184', 'last_name184', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19752
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19753
+ Savepoint (0ms) SAVEPOINT active_record_1
19754
+ 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\"]', 87, '2014-01-06 16:54:12', '0 * * * * ?', 79, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job79', '2014-01-06 16:54:12', 184)
19755
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19756
+ Savepoint (0ms) SAVEPOINT active_record_1
19757
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-06 16:53:23', 79, 'message24', 'success', '2014-01-06 16:54:23')
19758
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19759
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19760
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user185@hungrymachine.com' LIMIT 1
19761
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user185@hungrymachine.com', 'first_name185', 'last_name185', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19762
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19763
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19764
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description89', 'application89', '2014-01-06 16:54:11', 185)
19765
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19766
+ Savepoint (0ms) SAVEPOINT active_record_1
19767
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user186@hungrymachine.com' LIMIT 1
19768
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user186@hungrymachine.com', 'first_name186', 'last_name186', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19769
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19770
+ Savepoint (0ms) SAVEPOINT active_record_1
19771
+ 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\"]', 88, '2014-01-06 16:54:12', '0 * * * * ?', 80, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job80', '2014-01-06 16:54:12', 186)
19772
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19773
+ Savepoint (0ms) SAVEPOINT active_record_1
19774
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-06 16:54:11', 80, 'message25', 'failed', '2014-01-06 16:54:23')
19775
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19776
+ #<Rearview::JobError:0x54d6bee2>#update_alert for transition nil
19777
+ Savepoint (0ms) SAVEPOINT active_record_1
19778
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user187@hungrymachine.com' LIMIT 1
19779
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user187@hungrymachine.com', 'first_name187', 'last_name187', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19780
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19781
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19782
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description90', 'application90', '2014-01-06 16:54:11', 187)
19783
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19784
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19785
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user188@hungrymachine.com' LIMIT 1
19786
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user188@hungrymachine.com', 'first_name188', 'last_name188', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19787
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19788
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19789
+ 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-06 16:54:12', '0 * * * * ?', 81, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job81', '2014-01-06 16:54:12', 188)
19790
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19791
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19792
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `last_alerted_at`, `message`, `status`, `updated_at`) VALUES ('2014-01-06 16:54:11', 81, '2014-01-06 16:53:23', 'message26', 'failed', '2014-01-06 16:54:23')
19793
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19794
+ #<Rearview::JobError:0x255a96af>#update_alert for transition nil
19795
+ Savepoint (0ms) SAVEPOINT active_record_1
19796
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user189@hungrymachine.com' LIMIT 1
19797
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user189@hungrymachine.com', 'first_name189', 'last_name189', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19798
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19799
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19800
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description91', 'application91', '2014-01-06 16:54:11', 189)
19801
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19802
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19803
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user190@hungrymachine.com' LIMIT 1
19804
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user190@hungrymachine.com', 'first_name190', 'last_name190', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19805
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19806
+ Savepoint (0ms) SAVEPOINT active_record_1
19807
+ 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-06 16:54:12', '0 * * * * ?', 82, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job82', '2014-01-06 16:54:12', 190)
19808
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19809
+ Savepoint (1.0ms) SAVEPOINT active_record_1
19810
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `last_alerted_at`, `message`, `status`, `updated_at`) VALUES ('2014-01-06 16:54:11', 82, '2014-01-05 16:54:23', 'message27', 'failed', '2014-01-06 16:54:23')
19811
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19812
+ #<Rearview::JobError:0x1ecc9c39>#update_alert for transition nil
19813
+ Savepoint (0ms) SAVEPOINT active_record_1
19814
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user191@hungrymachine.com' LIMIT 1
19815
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user191@hungrymachine.com', 'first_name191', 'last_name191', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19816
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19817
+ Savepoint (0ms) SAVEPOINT active_record_1
19818
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description92', 'application92', '2014-01-06 16:54:11', 191)
19819
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19820
+ Savepoint (0ms) SAVEPOINT active_record_1
19821
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user192@hungrymachine.com' LIMIT 1
19822
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user192@hungrymachine.com', 'first_name192', 'last_name192', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19823
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19824
+ Savepoint (0ms) SAVEPOINT active_record_1
19825
+ 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-06 16:54:12', '0 * * * * ?', 83, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job83', '2014-01-06 16:54:12', 192)
19826
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19827
+ Savepoint (0ms) SAVEPOINT active_record_1
19828
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-05 16:54:23', 83, 'message28', 'failed', '2014-01-06 16:54:23')
19829
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19830
+ Savepoint (0ms) SAVEPOINT active_record_1
19831
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-04 16:54:23', 83, 'message29', 'failed', '2014-01-06 16:54:23')
19832
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19833
+ Savepoint (0ms) SAVEPOINT active_record_1
19834
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-03 16:54:23', 83, 'message30', 'failed', '2014-01-06 16:54:23')
19835
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19836
+ Savepoint (0ms) SAVEPOINT active_record_1
19837
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-02 16:54:23', 83, 'message31', 'failed', '2014-01-06 16:54:23')
19838
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19839
+ Savepoint (0ms) SAVEPOINT active_record_1
19840
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-01 16:54:23', 83, 'message32', 'failed', '2014-01-06 16:54:23')
19841
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19842
+ Savepoint (0ms) SAVEPOINT active_record_1
19843
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-31 16:54:23', 83, 'message33', 'failed', '2014-01-06 16:54:23')
19844
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19845
+ Savepoint (0ms) SAVEPOINT active_record_1
19846
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-30 16:54:23', 83, 'message34', 'failed', '2014-01-06 16:54:23')
19847
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19848
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 83 ORDER BY created_at DESC LIMIT 1
19849
+ Savepoint (0ms) SAVEPOINT active_record_1
19850
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user193@hungrymachine.com' LIMIT 1
19851
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user193@hungrymachine.com', 'first_name193', 'last_name193', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19852
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19853
+ Savepoint (0ms) SAVEPOINT active_record_1
19854
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description93', 'application93', '2014-01-06 16:54:11', 193)
19855
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19856
+ Savepoint (0ms) SAVEPOINT active_record_1
19857
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user194@hungrymachine.com' LIMIT 1
19858
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user194@hungrymachine.com', 'first_name194', 'last_name194', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19859
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19860
+ Savepoint (0ms) SAVEPOINT active_record_1
19861
+ 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\"]', 92, '2014-01-06 16:54:12', '0 * * * * ?', 84, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job84', '2014-01-06 16:54:12', 194)
19862
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19863
+ Savepoint (0ms) SAVEPOINT active_record_1
19864
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-05 16:54:23', 84, 'message35', 'failed', '2014-01-06 16:54:23')
19865
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19866
+ Savepoint (0ms) SAVEPOINT active_record_1
19867
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-04 16:54:23', 84, 'message36', 'failed', '2014-01-06 16:54:23')
19868
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19869
+ Savepoint (0ms) SAVEPOINT active_record_1
19870
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-03 16:54:23', 84, 'message37', 'failed', '2014-01-06 16:54:23')
19871
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19872
+ Savepoint (0ms) SAVEPOINT active_record_1
19873
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-02 16:54:23', 84, 'message38', 'failed', '2014-01-06 16:54:23')
19874
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19875
+ Savepoint (0ms) SAVEPOINT active_record_1
19876
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-01 16:54:23', 84, 'message39', 'failed', '2014-01-06 16:54:23')
19877
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19878
+ Savepoint (0ms) SAVEPOINT active_record_1
19879
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-31 16:54:23', 84, 'message40', 'failed', '2014-01-06 16:54:23')
19880
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19881
+ Savepoint (0ms) SAVEPOINT active_record_1
19882
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-30 16:54:23', 84, 'message41', 'failed', '2014-01-06 16:54:23')
19883
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19884
+  (0ms) SELECT COUNT(*) FROM `job_errors` WHERE `job_errors`.`job_id` = 84 AND (created_at >= '2014-01-01 16:54:23') AND (created_at <= '2014-01-05 16:54:23')
19885
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 84 AND (created_at >= '2014-01-01 16:54:23') AND (created_at <= '2014-01-05 16:54:23') ORDER BY created_at ASC LIMIT 1
19886
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 84 AND (created_at >= '2014-01-01 16:54:23') AND (created_at <= '2014-01-05 16:54:23') ORDER BY created_at DESC LIMIT 1
19887
+ Savepoint (0ms) SAVEPOINT active_record_1
19888
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user195@hungrymachine.com' LIMIT 1
19889
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user195@hungrymachine.com', 'first_name195', 'last_name195', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19890
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19891
+ Savepoint (0ms) SAVEPOINT active_record_1
19892
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description94', 'application94', '2014-01-06 16:54:11', 195)
19893
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19894
+ Savepoint (0ms) SAVEPOINT active_record_1
19895
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user196@hungrymachine.com' LIMIT 1
19896
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user196@hungrymachine.com', 'first_name196', 'last_name196', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19897
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19898
+ Savepoint (0ms) SAVEPOINT active_record_1
19899
+ 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-06 16:54:12', '0 * * * * ?', 85, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job85', '2014-01-06 16:54:12', 196)
19900
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19901
+ Savepoint (0ms) SAVEPOINT active_record_1
19902
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-05 16:54:23', 85, 'message42', 'failed', '2014-01-06 16:54:23')
19903
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19904
+ Savepoint (0ms) SAVEPOINT active_record_1
19905
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-04 16:54:23', 85, 'message43', 'failed', '2014-01-06 16:54:23')
19906
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19907
+ Savepoint (0ms) SAVEPOINT active_record_1
19908
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-03 16:54:23', 85, 'message44', 'failed', '2014-01-06 16:54:23')
19909
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19910
+ Savepoint (0ms) SAVEPOINT active_record_1
19911
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-02 16:54:23', 85, 'message45', 'failed', '2014-01-06 16:54:23')
19912
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19913
+ Savepoint (0ms) SAVEPOINT active_record_1
19914
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-01 16:54:23', 85, 'message46', 'failed', '2014-01-06 16:54:23')
19915
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19916
+ Savepoint (0ms) SAVEPOINT active_record_1
19917
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-31 16:54:23', 85, 'message47', 'failed', '2014-01-06 16:54:23')
19918
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19919
+ Savepoint (0ms) SAVEPOINT active_record_1
19920
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-30 16:54:23', 85, 'message48', 'failed', '2014-01-06 16:54:23')
19921
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19922
+  (0ms) SELECT COUNT(*) FROM `job_errors` WHERE `job_errors`.`job_id` = 85 AND (created_at <= '2013-12-31 16:54:23')
19923
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 85 AND (created_at <= '2013-12-31 16:54:23') ORDER BY created_at ASC LIMIT 1
19924
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 85 AND (created_at <= '2013-12-31 16:54:23') ORDER BY created_at DESC LIMIT 1
19925
+ Savepoint (0ms) SAVEPOINT active_record_1
19926
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user197@hungrymachine.com' LIMIT 1
19927
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user197@hungrymachine.com', 'first_name197', 'last_name197', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19928
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19929
+ Savepoint (0ms) SAVEPOINT active_record_1
19930
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description95', 'application95', '2014-01-06 16:54:11', 197)
19931
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19932
+ Savepoint (0ms) SAVEPOINT active_record_1
19933
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user198@hungrymachine.com' LIMIT 1
19934
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user198@hungrymachine.com', 'first_name198', 'last_name198', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19935
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19936
+ Savepoint (0ms) SAVEPOINT active_record_1
19937
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 94, '2014-01-06 16:54:12', '0 * * * * ?', 86, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job86', '2014-01-06 16:54:12', 198)
19938
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19939
+ Savepoint (0ms) SAVEPOINT active_record_1
19940
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-05 16:54:23', 86, 'message49', 'failed', '2014-01-06 16:54:23')
19941
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19942
+ Savepoint (0ms) SAVEPOINT active_record_1
19943
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-04 16:54:23', 86, 'message50', 'failed', '2014-01-06 16:54:23')
19944
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19945
+ Savepoint (0ms) SAVEPOINT active_record_1
19946
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-03 16:54:23', 86, 'message51', 'failed', '2014-01-06 16:54:23')
19947
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19948
+ Savepoint (0ms) SAVEPOINT active_record_1
19949
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-02 16:54:23', 86, 'message52', 'failed', '2014-01-06 16:54:23')
19950
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19951
+ Savepoint (0ms) SAVEPOINT active_record_1
19952
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-01 16:54:23', 86, 'message53', 'failed', '2014-01-06 16:54:23')
19953
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19954
+ Savepoint (0ms) SAVEPOINT active_record_1
19955
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-31 16:54:23', 86, 'message54', 'failed', '2014-01-06 16:54:23')
19956
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19957
+ Savepoint (0ms) SAVEPOINT active_record_1
19958
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-30 16:54:23', 86, 'message55', 'failed', '2014-01-06 16:54:23')
19959
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19960
+  (0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM `job_errors` WHERE `job_errors`.`job_id` = 86 LIMIT 3 OFFSET 1) subquery_for_count
19961
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 86 ORDER BY created_at DESC LIMIT 1 OFFSET 1
19962
+ Savepoint (0ms) SAVEPOINT active_record_1
19963
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user199@hungrymachine.com' LIMIT 1
19964
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user199@hungrymachine.com', 'first_name199', 'last_name199', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19965
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19966
+ Savepoint (0ms) SAVEPOINT active_record_1
19967
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description96', 'application96', '2014-01-06 16:54:11', 199)
19968
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19969
+ Savepoint (0ms) SAVEPOINT active_record_1
19970
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user200@hungrymachine.com' LIMIT 1
19971
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user200@hungrymachine.com', 'first_name200', 'last_name200', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
19972
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19973
+ Savepoint (0ms) SAVEPOINT active_record_1
19974
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 95, '2014-01-06 16:54:12', '0 * * * * ?', 87, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job87', '2014-01-06 16:54:12', 200)
19975
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19976
+ Savepoint (0ms) SAVEPOINT active_record_1
19977
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-05 16:54:23', 87, 'message56', 'failed', '2014-01-06 16:54:23')
19978
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19979
+ Savepoint (0ms) SAVEPOINT active_record_1
19980
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-04 16:54:23', 87, 'message57', 'failed', '2014-01-06 16:54:23')
19981
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19982
+ Savepoint (0ms) SAVEPOINT active_record_1
19983
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-03 16:54:23', 87, 'message58', 'failed', '2014-01-06 16:54:23')
19984
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19985
+ Savepoint (0ms) SAVEPOINT active_record_1
19986
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-02 16:54:23', 87, 'message59', 'failed', '2014-01-06 16:54:23')
19987
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19988
+ Savepoint (0ms) SAVEPOINT active_record_1
19989
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-01 16:54:23', 87, 'message60', 'failed', '2014-01-06 16:54:23')
19990
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19991
+ Savepoint (0ms) SAVEPOINT active_record_1
19992
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-31 16:54:23', 87, 'message61', 'failed', '2014-01-06 16:54:23')
19993
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19994
+ Savepoint (0ms) SAVEPOINT active_record_1
19995
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-30 16:54:23', 87, 'message62', 'failed', '2014-01-06 16:54:23')
19996
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
19997
+  (0ms) SELECT COUNT(*) FROM `job_errors` WHERE `job_errors`.`job_id` = 87 AND (created_at >= '2014-01-04 16:54:23')
19998
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 87 AND (created_at >= '2014-01-04 16:54:23') ORDER BY created_at ASC LIMIT 1
19999
+ Rearview::JobError Load (0ms) SELECT `job_errors`.* FROM `job_errors` WHERE `job_errors`.`job_id` = 87 AND (created_at >= '2014-01-04 16:54:23') ORDER BY created_at DESC LIMIT 1
20000
+ Savepoint (0ms) SAVEPOINT active_record_1
20001
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user201@hungrymachine.com' LIMIT 1
20002
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user201@hungrymachine.com', 'first_name201', 'last_name201', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
20003
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20004
+ Savepoint (0ms) SAVEPOINT active_record_1
20005
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description97', 'application97', '2014-01-06 16:54:11', 201)
20006
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20007
+ Savepoint (0ms) SAVEPOINT active_record_1
20008
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user202@hungrymachine.com' LIMIT 1
20009
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user202@hungrymachine.com', 'first_name202', 'last_name202', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
20010
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20011
+ Savepoint (0ms) SAVEPOINT active_record_1
20012
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 96, '2014-01-06 16:54:12', '0 * * * * ?', 88, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job88', '2014-01-06 16:54:12', 202)
20013
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20014
+ Savepoint (0ms) SAVEPOINT active_record_1
20015
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-05 16:54:23', 88, 'message63', 'failed', '2014-01-06 16:54:23')
20016
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20017
+ Savepoint (0ms) SAVEPOINT active_record_1
20018
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-04 16:54:23', 88, 'message64', 'failed', '2014-01-06 16:54:23')
20019
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20020
+ Savepoint (0ms) SAVEPOINT active_record_1
20021
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-03 16:54:23', 88, 'message65', 'failed', '2014-01-06 16:54:23')
20022
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20023
+ Savepoint (0ms) SAVEPOINT active_record_1
20024
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-02 16:54:23', 88, 'message66', 'failed', '2014-01-06 16:54:23')
20025
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20026
+ Savepoint (0ms) SAVEPOINT active_record_1
20027
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-01 16:54:23', 88, 'message67', 'failed', '2014-01-06 16:54:23')
20028
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20029
+ Savepoint (0ms) SAVEPOINT active_record_1
20030
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-31 16:54:23', 88, 'message68', 'failed', '2014-01-06 16:54:23')
20031
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20032
+ Savepoint (0ms) SAVEPOINT active_record_1
20033
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2013-12-30 16:54:23', 88, 'message69', 'failed', '2014-01-06 16:54:23')
20034
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20035
+  (0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM `job_errors` WHERE `job_errors`.`job_id` = 88 LIMIT 3) subquery_for_count
20036
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20037
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user203@hungrymachine.com' LIMIT 1
20038
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user203@hungrymachine.com', 'first_name203', 'last_name203', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
20039
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20040
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20041
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description98', 'application98', '2014-01-06 16:54:11', 203)
20042
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20043
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20044
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user204@hungrymachine.com' LIMIT 1
20045
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user204@hungrymachine.com', 'first_name204', 'last_name204', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
20046
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20047
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20048
+ SQL (0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 97, '2014-01-06 16:54:12', '0 * * * * ?', 89, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job89', '2014-01-06 16:54:12', 204)
20049
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20050
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20051
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-05 16:54:23', 89, 'message70', 'success', '2014-01-06 16:54:23')
20052
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
20053
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20054
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-05 16:54:23', 89, 'message71', 'failed', '2014-01-06 16:54:23')
20055
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20056
+ Savepoint (0ms) SAVEPOINT active_record_1
20057
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-05 16:54:23', 89, 'message72', 'error', '2014-01-06 16:54:23')
20058
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20059
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20060
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-05 16:54:23', 89, 'message73', 'graphite_error', '2014-01-06 16:54:23')
20061
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20062
+  (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 = 97)
20063
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20064
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user205@hungrymachine.com' LIMIT 1
20065
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user205@hungrymachine.com', 'first_name205', 'last_name205', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
20066
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20067
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20068
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user206@hungrymachine.com' LIMIT 1
20069
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user206@hungrymachine.com', 'first_name206', 'last_name206', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
20070
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20071
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20072
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description99', 'application99', '2014-01-06 16:54:11', 206)
20073
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20074
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20075
+ 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\"]', 98, '2014-01-06 16:54:12', '0 * * * * ?', 90, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job90', '2014-01-06 16:54:12', 205)
20076
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20077
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20078
+ SQL (0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-06 16:54:11', 90, 'message74', 'failed', '2014-01-06 16:54:23')
20079
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20080
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20081
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user207@hungrymachine.com' LIMIT 1
20082
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user207@hungrymachine.com', 'first_name207', 'last_name207', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
20083
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20084
+ Savepoint (0ms) SAVEPOINT active_record_1
20085
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user208@hungrymachine.com' LIMIT 1
20086
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user208@hungrymachine.com', 'first_name208', 'last_name208', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
20087
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20088
+ Savepoint (0ms) SAVEPOINT active_record_1
20089
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description100', 'application100', '2014-01-06 16:54:11', 208)
20090
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20091
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20092
+ 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\"]', 99, '2014-01-06 16:54:12', '0 * * * * ?', 91, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job91', '2014-01-06 16:54:12', 207)
20093
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20094
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20095
+ SQL (1.0ms) INSERT INTO `job_errors` (`created_at`, `job_id`, `message`, `status`, `updated_at`) VALUES ('2014-01-06 16:54:11', 91, 'message75', 'failed', '2014-01-06 16:54:24')
20096
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20097
+ Savepoint (0ms) SAVEPOINT active_record_1
20098
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user209@hungrymachine.com' LIMIT 1
20099
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user209@hungrymachine.com', 'first_name209', 'last_name209', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
20100
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20101
+ Savepoint (0ms) SAVEPOINT active_record_1
20102
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description101', 'application101', '2014-01-06 16:54:11', 209)
20103
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20104
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`ancestry` = '100'
20105
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/dashboards/_dashboard.json.jbuilder (3.0ms)
20106
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20107
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user210@hungrymachine.com' LIMIT 1
20108
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user210@hungrymachine.com', 'first_name210', 'last_name210', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
20109
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20110
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20111
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user211@hungrymachine.com' LIMIT 1
20112
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user211@hungrymachine.com', 'first_name211', 'last_name211', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
20113
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20114
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20115
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description102', 'application102', '2014-01-06 16:54:11', 211)
20116
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20117
+ Savepoint (0ms) SAVEPOINT active_record_1
20118
+ SQL (1.0ms) INSERT INTO `jobs` (`alert_keys`, `app_id`, `created_at`, `cron_expr`, `id`, `metrics`, `minutes`, `monitor_expr`, `name`, `updated_at`, `user_id`) VALUES ('[\"mailto:foo@hungrymachine.com\",\"pagerduty:54232f6f4c4447efb6d15e20dbb7349c\"]', 101, '2014-01-06 16:54:12', '0 * * * * ?', 92, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job92', '2014-01-06 16:54:12', 210)
20119
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20120
+ Rendered /Users/trentalbrigh/workspaces/rearview-engine/app/views/rearview/jobs/_job.json.jbuilder (2.0ms)
20121
+ #<Rearview::Alerts::CampfireAlert:0x349fc7f8> send alert for #<Mock:0x94dc> and key alert_key with params {"room"=>"nyan"}
20122
+ #<Rearview::Alerts::CampfireAlert:0x3646bfed> send alert for #<Mock:0x94e0> and key alert_key with params {"room"=>"nyan"}
20123
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20124
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user212@hungrymachine.com' LIMIT 1
20125
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user212@hungrymachine.com', 'first_name212', 'last_name212', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
20126
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20127
+ Savepoint (0ms) SAVEPOINT active_record_1
20128
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user213@hungrymachine.com' LIMIT 1
20129
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user213@hungrymachine.com', 'first_name213', 'last_name213', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
20130
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20131
+ Savepoint (0ms) SAVEPOINT active_record_1
20132
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description103', 'application103', '2014-01-06 16:54:11', 213)
20133
+ Savepoint (1.0ms) RELEASE SAVEPOINT active_record_1
20134
+ Savepoint (0ms) SAVEPOINT active_record_1
20135
+ 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\"]', 102, '2014-01-06 16:54:12', '0 * * * * ?', 93, '[\"stats_counts.cupcake.web_traffic.impression\"]', 1, 'puts \'hello, world!\'', 'job93', '2014-01-06 16:54:12', 212)
20136
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20137
+ #<Rearview::Alerts::PagerDutyAlert:0x3a2d636d> send alert for #<Rearview::Job id: 93, created_at: "2014-01-06 16:54:12", updated_at: "2014-01-06 16:54:12", name: "job93", active: true, last_run: nil, cron_expr: "0 * * * * ?", status: nil, user_id: 212, alert_keys: ["pagerduty:54232f6f4c4447efb6d15e20dbb7349b"], deleted_at: nil, error_timeout: 60, next_run: nil, description: nil, app_id: 102, 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"}
20138
+ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates minutes: to_date:
20139
+ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates from:15:53_20140106 to:16:53_20140106
20140
+ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates minutes: to_date:now
20141
+ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates from:15:53_20140106 to:16:53_20140106
20142
+ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates minutes:60 to_date:now
20143
+ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates from:15:53_20140106 to:16:53_20140106
20144
+ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates minutes: to_date:10/01/2013 12:01
20145
+ Rearview::MonitorRunner [threadId:1 threadName:main]#create_from_to_dates from:11:00_20131001 to:12:00_20131001
20146
+ Rearview::MonitorRunner [threadId:1 threadName:main] eval
20147
+ Rearview::MonitorRunner [threadId:1 threadName:main] exec_process
20148
+ 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_script20140106-15105-1o0yaow"]
20149
+ Rearview::MonitorRunner [threadId:1 threadName:main] exec_process start
20150
+ Rearview::MonitorRunner [threadId:1 threadName:main] eval
20151
+ Rearview::MonitorRunner [threadId:1 threadName:main] exec_process
20152
+ 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_script20140106-15105-jbmc2i"]
20153
+ Rearview::MonitorRunner [threadId:1 threadName:main] exec_process start
20154
+ Rearview::MonitorRunner [threadId:1 threadName:main] eval
20155
+ Rearview::MonitorRunner [threadId:1 threadName:main] exec_process
20156
+ 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_script20140106-15105-1m8411n"]
20157
+ Rearview::MonitorRunner [threadId:1 threadName:main] exec_process start
20158
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20159
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user214@hungrymachine.com' LIMIT 1
20160
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user214@hungrymachine.com', 'first_name214', 'last_name214', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
20161
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20162
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20163
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description104', 'application104', '2014-01-06 16:54:11', 214)
20164
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20165
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20166
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user215@hungrymachine.com' LIMIT 1
20167
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user215@hungrymachine.com', 'first_name215', 'last_name215', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
20168
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20169
+ Savepoint (0ms) SAVEPOINT active_record_1
20170
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description105', 'application105', '2014-01-06 16:54:11', 215)
20171
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20172
+ Savepoint (0ms) SAVEPOINT active_record_1
20173
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user216@hungrymachine.com' LIMIT 1
20174
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user216@hungrymachine.com', 'first_name216', 'last_name216', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
20175
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20176
+ Savepoint (0ms) SAVEPOINT active_record_1
20177
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user217@hungrymachine.com' LIMIT 1
20178
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user217@hungrymachine.com', 'first_name217', 'last_name217', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
20179
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20180
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE (`users`.`email` = BINARY 'user217@hungrymachine.com' AND `users`.`id` != 217) LIMIT 1
20181
+ Rearview::User Load (0ms) SELECT `users`.* FROM `users` ORDER BY `users`.`id` ASC LIMIT 1
20182
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20183
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:31', 'arbitrary_string', 'null', '2014-01-06 16:54:31')
20184
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20185
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'arbitrary_string' LIMIT 1
20186
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'arbitrary_string' LIMIT 1
20187
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` IS NULL LIMIT 1
20188
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` IS NULL LIMIT 1
20189
+ Savepoint (0ms) SAVEPOINT active_record_1
20190
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user220@hungrymachine.com' LIMIT 1
20191
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user220@hungrymachine.com', 'first_name220', 'last_name220', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
20192
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20193
+ Processing by Rearview::DashboardsController#index as JSON
20194
+ Completed 200 OK in 10ms (Views: 7.0ms | ActiveRecord: 0.0ms)
20195
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20196
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user221@hungrymachine.com' LIMIT 1
20197
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user221@hungrymachine.com', 'first_name221', 'last_name221', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
20198
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20199
+ Savepoint (0ms) SAVEPOINT active_record_1
20200
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user222@hungrymachine.com' LIMIT 1
20201
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user222@hungrymachine.com', 'first_name222', 'last_name222', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
20202
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20203
+ Savepoint (0ms) SAVEPOINT active_record_1
20204
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description106', 'application106', '2014-01-06 16:54:11', 221)
20205
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20206
+ Processing by Rearview::DashboardsController#destroy as JSON
20207
+ Parameters: {"id"=>"105"}
20208
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 105 LIMIT 1
20209
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20210
+ Rearview::Job Load (1.0ms) SELECT `jobs`.* FROM `jobs` WHERE `jobs`.`app_id` = 105
20211
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE (applications.ancestry like '105/%' or applications.ancestry = '105')
20212
+ SQL (0ms) DELETE FROM `applications` WHERE `applications`.`id` = 105
20213
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20214
+ Completed 200 OK in 25ms (Views: 4.0ms | ActiveRecord: 4.0ms)
20215
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20216
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user223@hungrymachine.com' LIMIT 1
20217
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user223@hungrymachine.com', 'first_name223', 'last_name223', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
20218
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20219
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20220
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user224@hungrymachine.com' LIMIT 1
20221
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user224@hungrymachine.com', 'first_name224', 'last_name224', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
20222
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20223
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20224
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description107', 'application107', '2014-01-06 16:54:11', 223)
20225
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20226
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20227
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user225@hungrymachine.com' LIMIT 1
20228
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user225@hungrymachine.com', 'first_name225', 'last_name225', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
20229
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20230
+ Processing by Rearview::DashboardsController#update as JSON
20231
+ Parameters: {"userId"=>"223", "name"=>"application108", "id"=>"106"}
20232
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 106 LIMIT 1
20233
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20234
+ SQL (0ms) UPDATE `applications` SET `name` = 'application108', `user_id` = 222, `description` = NULL, `updated_at` = '2014-01-06 16:54:31' WHERE `applications`.`id` = 106
20235
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20236
+ Completed 200 OK in 12ms (Views: 2.0ms | ActiveRecord: 2.0ms)
20237
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20238
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user226@hungrymachine.com' LIMIT 1
20239
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user226@hungrymachine.com', 'first_name226', 'last_name226', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
20240
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20241
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20242
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user227@hungrymachine.com' LIMIT 1
20243
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user227@hungrymachine.com', 'first_name227', 'last_name227', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
20244
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20245
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20246
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description109', 'application109', '2014-01-06 16:54:11', 226)
20247
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20248
+ Processing by Rearview::DashboardsController#errors as JSON
20249
+ Parameters: {"id"=>"107"}
20250
+ Rearview::JobError Load (2.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 = '107') ORDER BY created_at DESC
20251
+ Completed 200 OK in 9ms (Views: 4.0ms | ActiveRecord: 2.0ms)
20252
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20253
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user228@hungrymachine.com' LIMIT 1
20254
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user228@hungrymachine.com', 'first_name228', 'last_name228', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
20255
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20256
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20257
+ Rearview::User Exists (0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user229@hungrymachine.com' LIMIT 1
20258
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user229@hungrymachine.com', 'first_name229', 'last_name229', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
20259
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20260
+ Processing by Rearview::DashboardsController#create as JSON
20261
+ Parameters: {"userId"=>"228", "name"=>"application110"}
20262
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` IS NULL LIMIT 1
20263
+ WARNING: Can't mass-assign protected attributes for Rearview::Dashboard: id
20264
+ protected_attributes (1.0.5) lib/active_model/mass_assignment_security/sanitizer.rb:46:in `process_removed_attributes'
20265
+ /Users/trentalbrigh/.rvm/rubies/jruby-1.7.5/lib/ruby/1.9/logger.rb:371:in `add'
20266
+ /Users/trentalbrigh/.rvm/rubies/jruby-1.7.5/lib/ruby/1.9/logger.rb:443:in `warn'
20267
+ protected_attributes (1.0.5) lib/active_model/mass_assignment_security/sanitizer.rb:45:in `process_removed_attributes'
20268
+ protected_attributes (1.0.5) lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize'
20269
+ protected_attributes (1.0.5) lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment'
20270
+ protected_attributes (1.0.5) lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes'
20271
+ protected_attributes (1.0.5) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes'
20272
+ activerecord (4.0.2) lib/active_record/core.rb:185:in `initialize'
20273
+ activerecord (4.0.2) lib/active_record/inheritance.rb:27:in `new'
20274
+ activerecord (4.0.2) lib/active_record/relation.rb:98:in `new'
20275
+ activerecord (4.0.2) lib/active_record/relation.rb:270:in `scoping'
20276
+ activerecord (4.0.2) lib/active_record/relation.rb:98:in `new'
20277
+ activerecord (4.0.2) lib/active_record/relation.rb:202:in `find_or_initialize_by'
20278
+ activerecord (4.0.2) lib/active_record/querying.rb:5:in `find_or_initialize_by'
20279
+ /Users/trentalbrigh/workspaces/rearview-engine/app/controllers/rearview/dashboards_controller.rb:38:in `upsert'
20280
+ /Users/trentalbrigh/workspaces/rearview-engine/app/controllers/rearview/dashboards_controller.rb:16:in `create'
20281
+ actionpack (4.0.2) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
20282
+ actionpack (4.0.2) lib/abstract_controller/base.rb:189:in `process_action'
20283
+ actionpack (4.0.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
20284
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:18:in `process_action'
20285
+ activesupport (4.0.2) lib/active_support/callbacks.rb:386:in `_run__1000767711__process_action__callbacks'
20286
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
20287
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
20288
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
20289
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `process_action'
20290
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
20291
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
20292
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:19:in `instrument'
20293
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
20294
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
20295
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
20296
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
20297
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
20298
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
20299
+ actionpack (4.0.2) lib/action_controller/test_case.rb:569:in `process'
20300
+ actionpack (4.0.2) lib/action_controller/test_case.rb:64:in `process'
20301
+ actionpack (4.0.2) lib/action_controller/test_case.rb:475:in `post'
20302
+ /Users/trentalbrigh/workspaces/rearview-engine/spec/controllers/dashboards_controller_spec.rb:36:in `(root)'
20303
+ rspec-core (2.14.7) lib/rspec/core/example.rb:114:in `instance_eval'
20304
+ rspec-core (2.14.7) lib/rspec/core/example.rb:114:in `run'
20305
+ rspec-core (2.14.7) lib/rspec/core/example.rb:112:in `run'
20306
+ rspec-rails (2.14.0) lib/rspec/rails/example/controller_example_group.rb:158:in `call'
20307
+ rspec-rails (2.14.0) lib/rspec/rails/example/controller_example_group.rb:158:in `ControllerExampleGroup'
20308
+ rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
20309
+ rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
20310
+ rspec-core (2.14.7) lib/rspec/core/example.rb:247:in `instance_eval_with_args'
20311
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:106:in `run'
20312
+ rspec-core (2.14.7) lib/rspec/core/example.rb:179:in `call'
20313
+ rspec-core (2.14.7) lib/rspec/core/example.rb:179:in `extended'
20314
+ rspec-rails (2.14.0) lib/rspec/rails/adapters.rb:51:in `MiniTestLifecycleAdapter'
20315
+ rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
20316
+ rspec-core (2.14.7) lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
20317
+ rspec-core (2.14.7) lib/rspec/core/example.rb:247:in `instance_eval_with_args'
20318
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:106:in `run'
20319
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:104:in `call'
20320
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:104:in `run'
20321
+ rspec-core (2.14.7) lib/rspec/core/hooks.rb:446:in `run_hook'
20322
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:340:in `run_around_each_hooks'
20323
+ rspec-core (2.14.7) lib/rspec/core/example.rb:256:in `with_around_each_hooks'
20324
+ rspec-core (2.14.7) lib/rspec/core/example.rb:111:in `run'
20325
+ rspec-core (2.14.7) lib/rspec/core/example.rb:109:in `run'
20326
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:390:in `run_examples'
20327
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:386:in `map'
20328
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:386:in `run_examples'
20329
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:371:in `run'
20330
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:369:in `run'
20331
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:372:in `run'
20332
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:372:in `map'
20333
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:372:in `run'
20334
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:369:in `run'
20335
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:28:in `run'
20336
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:28:in `map'
20337
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:28:in `run'
20338
+ rspec-core (2.14.7) lib/rspec/core/reporter.rb:58:in `report'
20339
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:25:in `run'
20340
+ rspec-core (2.14.7) lib/rspec/core/runner.rb:80:in `run'
20341
+ rspec-core (2.14.7) lib/rspec/core/runner.rb:17:in `autorun'
20342
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20343
+ SQL (1.0ms) INSERT INTO `applications` (`created_at`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:31', 'application110', '2014-01-06 16:54:31', 227)
20344
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20345
+ Completed 200 OK in 14ms (Views: 3.0ms | ActiveRecord: 3.0ms)
20346
+ Savepoint (0ms) SAVEPOINT active_record_1
20347
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user230@hungrymachine.com' LIMIT 1
20348
+ SQL (0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user230@hungrymachine.com', 'first_name230', 'last_name230', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
20349
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20350
+ Savepoint (0ms) SAVEPOINT active_record_1
20351
+ Rearview::User Exists (1.0ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'user231@hungrymachine.com' LIMIT 1
20352
+ SQL (1.0ms) INSERT INTO `users` (`created_at`, `email`, `first_name`, `last_name`, `preferences`, `updated_at`) VALUES ('2014-01-06 16:54:12', 'user231@hungrymachine.com', 'first_name231', 'last_name231', '{\"pref1\":\"pref1\",\"pref2\":\"pref2\"}', '2014-01-06 16:54:12')
20353
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20354
+ Savepoint (1.0ms) SAVEPOINT active_record_1
20355
+ SQL (0ms) INSERT INTO `applications` (`created_at`, `description`, `name`, `updated_at`, `user_id`) VALUES ('2014-01-06 16:54:11', 'description111', 'application111', '2014-01-06 16:54:11', 230)
20356
+ Savepoint (0ms) RELEASE SAVEPOINT active_record_1
20357
+ Processing by Rearview::DashboardsController#show as JSON
20358
+ Parameters: {"id"=>"109"}
20359
+ Rearview::Dashboard Load (1.0ms) SELECT `applications`.* FROM `applications` WHERE `applications`.`id` = 109 LIMIT 1
20360
+ Completed 200 OK in 14ms (Views: 10.0ms | ActiveRecord: 1.0ms)
20361
+ Terminating 5 actors...
20362
+ Shutdown completed cleanly