bit_core 1.4.6 → 1.4.7

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: 34cbccec3e2deb067bfb5df1d463dbb99e4eb1c0
4
- data.tar.gz: b38552b6b2e2eb4e021657c441a2bff26d19c9c7
3
+ metadata.gz: 83988d5bc1ed3fb5a2f1279b14b3dd3928bfc774
4
+ data.tar.gz: c85a209a18638f3d7ef8d263858fd25bba245b64
5
5
  SHA512:
6
- metadata.gz: dd3a5fb7a43dfa297d6043b15d15a195e0d99a4dba50cd1e946a166a97844ab26b10fe19aaaed1b36f0d5504422e802e9788362fb51b5cb229e292dec43524cc
7
- data.tar.gz: 13a6c32b1a36604f2b2e14c38b68649a520a9ab50e04edbca619f65bca9b4cd0f339f93f22c925f5ef1e590eb352e69204f8331f526c7342ec3d502561aaedde
6
+ metadata.gz: c2ad64b39006c828af0315f7a96f39e3e62c7a4775f09bd731c2c8f96fbb4d1c331769d010f6fcc3e7da5762b5a775ed9a1b78d17f10f0ee464409c586907478
7
+ data.tar.gz: 5a7293edf55653af0318fbb5cc6eac0867a204a6dd9f6887dfe7f1869d05cfb14511a0837b99191ac6acf1f37341b8ead1924569e4db87ed689bed63b5b29d2f
data/Rakefile CHANGED
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  begin
2
3
  require "bundler/setup"
3
4
  rescue LoadError
@@ -10,7 +11,7 @@ load "rails/tasks/engine.rake"
10
11
 
11
12
  Bundler::GemHelper.install_tasks
12
13
 
13
- Dir[File.join(File.dirname(__FILE__), "tasks/**/*.rake")].each {|f| load f }
14
+ Dir[File.join(File.dirname(__FILE__), "tasks/**/*.rake")].each { |f| load f }
14
15
 
15
16
  require "rspec/core"
16
17
  require "rspec/core/rake_task"
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module BitCore
2
3
  class ApplicationController < ActionController::Base
3
4
  end
@@ -1,6 +1,6 @@
1
+ # frozen_string_literal: true
1
2
  module BitCore
2
3
  # A Slide with audio content.
3
4
  class AudioSlide < Slide
4
- serialize :options
5
5
  end
6
6
  end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module BitCore
2
3
  # A logical unit of content, possibly containing mixed provider types.
3
4
  class ContentModule < ActiveRecord::Base
@@ -18,7 +19,7 @@ module BitCore
18
19
  # Returns the `ContentProvider` at the given position, or a `Null`
19
20
  # `ContentProvider` if none exists.
20
21
  def provider(position)
21
- content_providers.where(position: position).first ||
22
+ content_providers.find_by(position: position) ||
22
23
  ContentProviders::Null.new(self, position)
23
24
  end
24
25
 
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module BitCore
2
3
  # Modeled after the presenter pattern. Ties data layer to view layer.
3
4
  class ContentProvider < ActiveRecord::Base
@@ -43,7 +44,7 @@ module BitCore
43
44
  # Returns a human readable string extracted from the ContentProvider class
44
45
  # name.
45
46
  def pretty_label
46
- self.class.to_s.split("::").last.underscore.gsub(/_/, " ")
47
+ self.class.to_s.split("::").last.underscore.tr("_", " ")
47
48
  end
48
49
 
49
50
  private
@@ -52,14 +53,14 @@ module BitCore
52
53
  path = File.join(Rails.root, "app", "views", template_path || "")
53
54
  return if Dir.exist?(path)
54
55
 
55
- errors.add(:template_path, "not found at #{ path }")
56
+ errors.add(:template_path, "not found at #{path}")
56
57
  end
57
58
 
58
59
  def data_class_exists
59
60
  return unless data_class_name && !data_class
60
61
 
61
62
  errors.add(:data_class_name,
62
- "unable to find class '#{ data_class_name }'")
63
+ "unable to find class '#{data_class_name}'")
63
64
  end
64
65
 
65
66
  # rubocop:disable Metrics/AbcSize
@@ -72,7 +73,7 @@ module BitCore
72
73
  return if unknown_attrs.count == 0
73
74
 
74
75
  errors.add(:data_attributes, "must be attributes on the model class " \
75
- "(unrecognized: #{ unknown_attrs.join(', ') })")
76
+ "(unrecognized: #{unknown_attrs.join(', ')})")
76
77
  end
77
78
  # rubocop:enable Metrics/AbcSize
78
79
  end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module BitCore
2
3
  module ContentProviders
3
4
  # The default provider.
@@ -10,7 +11,7 @@ module BitCore
10
11
  end
11
12
 
12
13
  def render_current(_options)
13
- "Content Module #{ @content_module.title }: Oops, did you expect a
14
+ "Content Module #{@content_module.title}: Oops, did you expect a
14
15
  content provider here?"
15
16
  end
16
17
 
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module BitCore
2
3
  module ContentProviders
3
4
  # Defines presentation logic for a Slideshow.
@@ -16,7 +17,7 @@ module BitCore
16
17
  end
17
18
 
18
19
  def slide(position)
19
- slideshow.slides.where(position: position).first ||
20
+ slideshow.slides.find_by(position: position) ||
20
21
  BitCore::Slide.new(body: "no slides")
21
22
  end
22
23
 
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require "redcarpet"
2
3
 
3
4
  module BitCore
@@ -12,8 +13,11 @@ module BitCore
12
13
  validates :position, numericality: { greater_than_or_equal_to: 1 }
13
14
  validates :position, uniqueness: { scope: :bit_core_slideshow_id }
14
15
 
16
+ before_validation :normalize_options
15
17
  after_destroy :update_slide_positions
16
18
 
19
+ serialize :options
20
+
17
21
  def render_body
18
22
  return "" if body.nil?
19
23
 
@@ -28,9 +32,13 @@ module BitCore
28
32
 
29
33
  private
30
34
 
35
+ def normalize_options
36
+ self.options = options.try(:to_h)
37
+ end
38
+
31
39
  def update_slide_positions
32
40
  slideshow.reload
33
- .sort(slideshow.slide_ids)
41
+ .sort(slideshow.slide_ids)
34
42
  end
35
43
  end
36
44
  end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require "redcarpet"
2
3
 
3
4
  module BitCore
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module BitCore
2
3
  # A section of an application.
3
4
  class Tool < ActiveRecord::Base
@@ -1,6 +1,6 @@
1
+ # frozen_string_literal: true
1
2
  module BitCore
2
3
  # A Slide with video content.
3
4
  class VideoSlide < Slide
4
- serialize :options
5
5
  end
6
6
  end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require "bit_core/engine"
2
3
 
3
4
  # nodoc
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module BitCore
2
3
  # Mountable engine with isolated namespace.
3
4
  class Engine < ::Rails::Engine
@@ -1,4 +1,5 @@
1
+ # frozen_string_literal: true
1
2
  # nodoc
2
3
  module BitCore
3
- VERSION = "1.4.6"
4
+ VERSION = "1.4.7"
4
5
  end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # desc "Explaining what the task does"
2
3
  # task :bit_core do
3
4
  # # Task goes here
@@ -1,658 +1,154 @@
1
-  (9.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL
2
-  (0.2ms) BEGIN
3
- Fixture Delete (0.3ms) DELETE FROM "bit_core_slideshows"
4
- Fixture Insert (0.4ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2015-12-16 21:41:50', '2015-12-16 21:41:50', 504123193, 874964629)
5
- Fixture Delete (0.6ms) DELETE FROM "bit_core_slides"
6
- Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2015-12-16 21:41:50', '2015-12-16 21:41:50', 538050605, 504123193)
7
- Fixture Insert (0.2ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2015-12-16 21:41:50', '2015-12-16 21:41:50', 958091673, 504123193)
8
- Fixture Insert (0.1ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2015-12-16 21:41:50', '2015-12-16 21:41:50', 236740868, 504123193)
9
-  (0.5ms) COMMIT
10
-  (3.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL
11
-  (0.1ms) BEGIN
12
- BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
13
- BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
14
-  (0.1ms) SAVEPOINT active_record_1
15
- SQL (0.6ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
16
- BitCore::Slideshow Load (0.2ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
17
- BitCore::Slideshow Load (0.1ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
18
-  (0.2ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
19
-  (0.1ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
20
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 538050605]]
21
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
22
- SQL (0.2ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", "2015-12-16 21:41:50.832805"], ["id", 236740868]]
23
-  (0.1ms) RELEASE SAVEPOINT active_record_1
24
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT 1 [["bit_core_slideshow_id", 504123193]]
25
-  (0.2ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
26
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]]
27
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
28
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]]
29
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]]
30
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
31
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]]
32
-  (0.1ms) ROLLBACK
33
-  (0.1ms) BEGIN
34
- BitCore::Slideshow Load (0.2ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
35
-  (0.2ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
36
- BitCore::Slide Exists (0.3ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 4 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1
37
-  (0.1ms) ROLLBACK
38
-  (0.1ms) BEGIN
39
-  (0.2ms) SELECT COUNT(*) FROM "bit_core_slideshows"
40
- BitCore::Slideshow Load (0.2ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
41
-  (0.1ms) SAVEPOINT active_record_1
42
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
43
- SQL (0.3ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 538050605]]
44
- BitCore::Slideshow Load (0.2ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
45
-  (0.1ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
46
-  (0.1ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
47
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 958091673]]
48
- SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", "2015-12-16 21:41:50.865660"], ["id", 958091673]]
49
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
50
- SQL (0.2ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", "2015-12-16 21:41:50.868174"], ["id", 236740868]]
51
- SQL (0.2ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
52
- BitCore::Slideshow Load (0.1ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
53
-  (0.1ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
54
-  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
55
- BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
56
- SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", "2015-12-16 21:41:50.874015"], ["id", 236740868]]
57
- SQL (0.4ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 236740868]]
58
- BitCore::Slideshow Load (0.2ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
59
-  (0.3ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
60
-  (0.1ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
61
- BitCore::ContentProvider Load (0.7ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."source_content_id" = $1 AND "bit_core_content_providers"."source_content_type" = $2 LIMIT 1 [["source_content_id", 504123193], ["source_content_type", "BitCore::Slideshow"]]
62
- SQL (1.1ms) DELETE FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 [["id", 504123193]]
63
-  (0.1ms) RELEASE SAVEPOINT active_record_1
64
-  (0.2ms) SELECT COUNT(*) FROM "bit_core_slideshows"
65
-  (0.1ms) ROLLBACK
66
-  (0.1ms) BEGIN
67
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
68
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
69
- BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
70
- BitCore::Slideshow Load (0.2ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
71
-  (0.1ms) SAVEPOINT active_record_1
72
-  (0.1ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
73
- BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
74
- SQL (0.4ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", "2015-12-16 21:41:50.900839"], ["id", 236740868]]
75
- BitCore::Slide Load (0.1ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 538050605]]
76
- SQL (0.2ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", "2015-12-16 21:41:50.903535"], ["id", 538050605]]
77
- BitCore::Slide Load (0.1ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 958091673]]
78
- SQL (0.1ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 3], ["updated_at", "2015-12-16 21:41:50.905292"], ["id", 958091673]]
79
-  (0.1ms) RELEASE SAVEPOINT active_record_1
80
- BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 538050605]]
81
- BitCore::Slide Load (0.1ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 958091673]]
82
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
83
-  (0.1ms) ROLLBACK
84
-  (5.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL
85
-  (0.2ms) BEGIN
86
- Fixture Delete (0.4ms) DELETE FROM "bit_core_slideshows"
87
- Fixture Insert (0.3ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2015-12-16 21:42:04', '2015-12-16 21:42:04', 504123193, 874964629)
88
- Fixture Delete (0.6ms) DELETE FROM "bit_core_slides"
89
- Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2015-12-16 21:42:04', '2015-12-16 21:42:04', 538050605, 504123193)
90
- Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2015-12-16 21:42:04', '2015-12-16 21:42:04', 958091673, 504123193)
91
- Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2015-12-16 21:42:04', '2015-12-16 21:42:04', 236740868, 504123193)
92
-  (0.4ms) COMMIT
93
-  (3.7ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL
94
-  (0.2ms) BEGIN
95
- BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
96
-  (0.6ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
97
- BitCore::Slide Exists (0.4ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 4 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1
98
-  (0.1ms) ROLLBACK
99
-  (0.1ms) BEGIN
100
-  (0.2ms) SELECT COUNT(*) FROM "bit_core_slideshows"
101
- BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
102
-  (0.1ms) SAVEPOINT active_record_1
103
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
104
- SQL (0.6ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 538050605]]
105
-  (0.1ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
106
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
107
-  (0.1ms) ROLLBACK
108
-  (0.1ms) BEGIN
109
- BitCore::Slideshow Load (0.2ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
110
- BitCore::Slide Load (0.1ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
111
-  (0.1ms) SAVEPOINT active_record_1
112
- SQL (0.3ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
113
- BitCore::Slideshow Load (0.2ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
114
-  (0.2ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
115
-  (0.1ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
116
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 538050605]]
117
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
118
- SQL (0.2ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", "2015-12-16 21:42:04.908682"], ["id", 236740868]]
119
-  (0.1ms) RELEASE SAVEPOINT active_record_1
120
- BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT 1 [["bit_core_slideshow_id", 504123193]]
121
-  (0.2ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
122
- BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]]
123
- BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
124
- BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]]
125
- BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]]
126
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
127
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]]
128
-  (0.2ms) ROLLBACK
129
-  (0.1ms) BEGIN
130
- BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
131
- BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
132
- BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
133
- BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
134
-  (0.1ms) SAVEPOINT active_record_1
135
-  (0.1ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
136
- BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
137
- SQL (0.3ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", "2015-12-16 21:42:04.928785"], ["id", 236740868]]
138
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 538050605]]
139
- SQL (0.2ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", "2015-12-16 21:42:04.931494"], ["id", 538050605]]
140
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 958091673]]
141
- SQL (0.2ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 3], ["updated_at", "2015-12-16 21:42:04.933562"], ["id", 958091673]]
142
-  (0.1ms) RELEASE SAVEPOINT active_record_1
143
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 538050605]]
144
- BitCore::Slide Load (0.1ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 958091673]]
145
- BitCore::Slide Load (0.1ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
146
-  (0.1ms) ROLLBACK
147
-  (5.7ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL
148
-  (0.2ms) BEGIN
149
- Fixture Delete (0.3ms) DELETE FROM "bit_core_slideshows"
150
- Fixture Insert (0.6ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2015-12-16 21:42:18', '2015-12-16 21:42:18', 504123193, 874964629)
151
- Fixture Delete (0.4ms) DELETE FROM "bit_core_slides"
152
- Fixture Insert (0.2ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2015-12-16 21:42:18', '2015-12-16 21:42:18', 538050605, 504123193)
153
- Fixture Insert (0.2ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2015-12-16 21:42:18', '2015-12-16 21:42:18', 958091673, 504123193)
154
- Fixture Insert (0.2ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2015-12-16 21:42:18', '2015-12-16 21:42:18', 236740868, 504123193)
155
-  (0.5ms) COMMIT
156
-  (3.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL
157
-  (0.2ms) BEGIN
158
- BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
159
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
160
-  (0.3ms) SAVEPOINT active_record_1
161
- SQL (1.1ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
162
- BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
163
- BitCore::Slideshow Load (0.2ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
164
-  (0.3ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
165
-  (0.1ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
166
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 538050605]]
167
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
168
- SQL (0.3ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", "2015-12-16 21:42:18.411314"], ["id", 236740868]]
169
-  (0.1ms) RELEASE SAVEPOINT active_record_1
170
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT 1 [["bit_core_slideshow_id", 504123193]]
171
-  (0.3ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
172
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]]
173
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
174
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]]
175
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]]
176
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
177
- BitCore::Slide Load (0.1ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]]
178
-  (0.2ms) ROLLBACK
179
-  (0.2ms) BEGIN
180
- BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
181
-  (0.2ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
182
- BitCore::Slide Exists (0.3ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 4 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1
183
-  (0.1ms) ROLLBACK
184
-  (0.1ms) BEGIN
185
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
186
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
187
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
188
- BitCore::Slideshow Load (0.2ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
189
-  (0.1ms) SAVEPOINT active_record_1
190
-  (0.1ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
191
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
192
- SQL (0.4ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", "2015-12-16 21:42:18.439073"], ["id", 236740868]]
193
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 538050605]]
194
- SQL (0.2ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", "2015-12-16 21:42:18.441264"], ["id", 538050605]]
195
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 958091673]]
196
- SQL (0.2ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 3], ["updated_at", "2015-12-16 21:42:18.443090"], ["id", 958091673]]
197
-  (0.1ms) RELEASE SAVEPOINT active_record_1
198
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 538050605]]
199
- BitCore::Slide Load (0.1ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 958091673]]
200
- BitCore::Slide Load (0.1ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
201
-  (0.1ms) ROLLBACK
202
-  (0.1ms) BEGIN
203
-  (0.2ms) SELECT COUNT(*) FROM "bit_core_slideshows"
204
- BitCore::Slideshow Load (0.2ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
205
-  (0.2ms) SAVEPOINT active_record_1
206
- BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
207
- SQL (0.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 538050605]]
208
- BitCore::Slideshow Load (0.2ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
209
-  (0.4ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
210
-  (0.1ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
211
- BitCore::Slide Load (0.1ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 958091673]]
212
- SQL (0.3ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", "2015-12-16 21:42:18.459162"], ["id", 958091673]]
213
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
214
- SQL (0.3ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", "2015-12-16 21:42:18.461933"], ["id", 236740868]]
215
- SQL (0.4ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
216
- BitCore::Slideshow Load (0.1ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
217
-  (0.2ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
218
-  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
219
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
220
- SQL (0.3ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", "2015-12-16 21:42:18.467284"], ["id", 236740868]]
221
- SQL (0.2ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 236740868]]
222
- BitCore::Slideshow Load (0.1ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
223
-  (0.2ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
224
-  (0.1ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
225
- BitCore::ContentProvider Load (0.4ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."source_content_id" = $1 AND "bit_core_content_providers"."source_content_type" = $2 LIMIT 1 [["source_content_id", 504123193], ["source_content_type", "BitCore::Slideshow"]]
226
- SQL (0.7ms) DELETE FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 [["id", 504123193]]
227
-  (0.1ms) RELEASE SAVEPOINT active_record_1
228
-  (0.2ms) SELECT COUNT(*) FROM "bit_core_slideshows"
229
-  (0.1ms) ROLLBACK
230
-  (5.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL
231
-  (0.2ms) BEGIN
232
- Fixture Delete (0.4ms) DELETE FROM "bit_core_slideshows"
233
- Fixture Insert (0.3ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2015-12-16 21:42:50', '2015-12-16 21:42:50', 504123193, 874964629)
234
- Fixture Delete (0.3ms) DELETE FROM "bit_core_slides"
235
- Fixture Insert (0.2ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2015-12-16 21:42:50', '2015-12-16 21:42:50', 538050605, 504123193)
236
- Fixture Insert (0.2ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2015-12-16 21:42:50', '2015-12-16 21:42:50', 958091673, 504123193)
237
- Fixture Insert (0.2ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2015-12-16 21:42:50', '2015-12-16 21:42:50', 236740868, 504123193)
238
-  (0.4ms) COMMIT
239
-  (3.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL
240
-  (0.1ms) BEGIN
241
- BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
242
- BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
243
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
244
- BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
245
-  (0.1ms) SAVEPOINT active_record_1
246
-  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
247
- BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
248
- SQL (0.3ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", "2015-12-16 21:42:50.847682"], ["id", 236740868]]
249
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 538050605]]
250
- SQL (0.2ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", "2015-12-16 21:42:50.851216"], ["id", 538050605]]
251
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 958091673]]
252
- SQL (0.3ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 3], ["updated_at", "2015-12-16 21:42:50.859705"], ["id", 958091673]]
253
-  (0.1ms) RELEASE SAVEPOINT active_record_1
254
- BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 538050605]]
255
- BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 958091673]]
256
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
257
-  (0.1ms) ROLLBACK
258
-  (0.1ms) BEGIN
259
- BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
260
-  (0.3ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
261
-  (0.2ms) SELECT COUNT(*) FROM "bit_core_slideshows"
262
-  (0.1ms) SAVEPOINT active_record_1
263
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
264
- SQL (0.7ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 538050605]]
265
- BitCore::Slideshow Load (0.2ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
266
-  (0.2ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
267
-  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
268
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 958091673]]
269
- SQL (0.2ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", "2015-12-16 21:42:50.879942"], ["id", 958091673]]
270
- BitCore::Slide Load (0.1ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
271
- SQL (0.2ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", "2015-12-16 21:42:50.881953"], ["id", 236740868]]
272
- SQL (0.3ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
273
- BitCore::Slideshow Load (0.1ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
274
-  (0.1ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
275
-  (0.1ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
276
- BitCore::Slide Load (0.1ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
277
- SQL (0.3ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", "2015-12-16 21:42:50.885896"], ["id", 236740868]]
278
- SQL (0.3ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 236740868]]
279
- BitCore::Slideshow Load (0.2ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
280
-  (0.2ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
281
-  (0.1ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
282
- BitCore::ContentProvider Load (0.4ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."source_content_id" = $1 AND "bit_core_content_providers"."source_content_type" = $2 LIMIT 1 [["source_content_id", 504123193], ["source_content_type", "BitCore::Slideshow"]]
283
- SQL (1.7ms) DELETE FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 [["id", 504123193]]
284
-  (0.2ms) RELEASE SAVEPOINT active_record_1
285
-  (0.3ms) SELECT COUNT(*) FROM "bit_core_slideshows"
286
-  (0.2ms) ROLLBACK
287
-  (0.1ms) BEGIN
288
- BitCore::Slideshow Load (0.2ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
289
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
290
-  (0.1ms) SAVEPOINT active_record_1
291
- SQL (0.3ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
292
- BitCore::Slideshow Load (0.1ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
293
- BitCore::Slideshow Load (0.1ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
294
-  (0.2ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
295
-  (0.1ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
296
- BitCore::Slide Load (0.1ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 538050605]]
297
- BitCore::Slide Load (0.1ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
298
- SQL (0.2ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", "2015-12-16 21:42:50.910322"], ["id", 236740868]]
299
-  (0.1ms) RELEASE SAVEPOINT active_record_1
300
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT 1 [["bit_core_slideshow_id", 504123193]]
301
-  (0.2ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
302
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]]
303
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
304
- BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]]
305
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]]
306
- BitCore::Slide Load (0.1ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
307
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]]
308
-  (0.1ms) ROLLBACK
309
-  (0.1ms) BEGIN
310
- BitCore::Slideshow Load (0.1ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
311
-  (0.2ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
312
- BitCore::Slide Exists (0.3ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 4 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1
313
-  (0.1ms) ROLLBACK
314
-  (5.7ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL
315
-  (0.2ms) BEGIN
316
- Fixture Delete (0.4ms) DELETE FROM "bit_core_slideshows"
317
- Fixture Insert (0.4ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2015-12-16 21:43:06', '2015-12-16 21:43:06', 504123193, 874964629)
318
- Fixture Delete (0.3ms) DELETE FROM "bit_core_slides"
319
-  (0.3ms) COMMIT
320
-  (3.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL
321
-  (0.2ms) BEGIN
322
- BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
323
-  (0.1ms) ROLLBACK
324
-  (0.2ms) BEGIN
325
- BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
326
-  (0.3ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
327
- BitCore::Slide Exists (0.4ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 1 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1
328
-  (0.1ms) ROLLBACK
329
-  (0.1ms) BEGIN
330
- BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
331
-  (0.2ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
332
-  (0.1ms) ROLLBACK
333
-  (0.1ms) BEGIN
334
-  (0.1ms) ROLLBACK
335
-  (6.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL
336
-  (0.3ms) BEGIN
337
- Fixture Delete (0.5ms) DELETE FROM "bit_core_slideshows"
338
- Fixture Insert (0.3ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2015-12-16 21:43:13', '2015-12-16 21:43:13', 504123193, 874964629)
339
- Fixture Delete (0.3ms) DELETE FROM "bit_core_slides"
340
-  (0.5ms) COMMIT
341
-  (3.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL
342
-  (0.1ms) BEGIN
343
- BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
344
-  (0.2ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
345
-  (0.1ms) ROLLBACK
346
-  (5.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL
347
-  (0.2ms) BEGIN
348
- Fixture Delete (0.4ms) DELETE FROM "bit_core_slideshows"
349
- Fixture Insert (0.3ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2015-12-16 21:43:17', '2015-12-16 21:43:17', 504123193, 874964629)
350
- Fixture Delete (0.5ms) DELETE FROM "bit_core_slides"
351
-  (0.4ms) COMMIT
352
-  (4.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL
353
-  (0.2ms) BEGIN
354
-  (0.4ms) SELECT COUNT(*) FROM "bit_core_slideshows"
355
- BitCore::Slideshow Load (0.2ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
356
-  (0.1ms) SAVEPOINT active_record_1
357
- BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
358
- BitCore::ContentProvider Load (0.4ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."source_content_id" = $1 AND "bit_core_content_providers"."source_content_type" = $2 LIMIT 1 [["source_content_id", 504123193], ["source_content_type", "BitCore::Slideshow"]]
359
- SQL (0.7ms) DELETE FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 [["id", 504123193]]
360
-  (0.1ms) RELEASE SAVEPOINT active_record_1
361
-  (0.5ms) SELECT COUNT(*) FROM "bit_core_slideshows"
362
-  (0.3ms) ROLLBACK
363
-  (8.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL
364
-  (0.2ms) BEGIN
365
- Fixture Delete (0.4ms) DELETE FROM "bit_core_slideshows"
366
- Fixture Insert (0.3ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2015-12-16 21:43:24', '2015-12-16 21:43:24', 504123193, 874964629)
367
- Fixture Delete (0.3ms) DELETE FROM "bit_core_slides"
368
-  (0.4ms) COMMIT
369
-  (3.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL
370
-  (0.1ms) BEGIN
371
-  (0.4ms) SELECT COUNT(*) FROM "bit_core_slideshows"
372
- BitCore::Slideshow Load (0.2ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
373
-  (0.1ms) SAVEPOINT active_record_1
374
- BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
375
- BitCore::ContentProvider Load (0.4ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."source_content_id" = $1 AND "bit_core_content_providers"."source_content_type" = $2 LIMIT 1 [["source_content_id", 504123193], ["source_content_type", "BitCore::Slideshow"]]
376
- SQL (0.7ms) DELETE FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 [["id", 504123193]]
377
-  (0.1ms) RELEASE SAVEPOINT active_record_1
378
-  (0.2ms) SELECT COUNT(*) FROM "bit_core_slideshows"
379
-  (0.1ms) ROLLBACK
380
-  (5.7ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL
381
-  (0.2ms) BEGIN
382
- Fixture Delete (0.4ms) DELETE FROM "bit_core_slideshows"
383
- Fixture Insert (0.3ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2015-12-16 21:43:37', '2015-12-16 21:43:37', 504123193, 874964629)
384
- Fixture Delete (0.4ms) DELETE FROM "bit_core_slides"
385
- Fixture Insert (0.2ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2015-12-16 21:43:37', '2015-12-16 21:43:37', 538050605, 504123193)
386
- Fixture Insert (0.2ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2015-12-16 21:43:37', '2015-12-16 21:43:37', 958091673, 504123193)
387
- Fixture Insert (0.2ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2015-12-16 21:43:37', '2015-12-16 21:43:37', 236740868, 504123193)
388
-  (0.5ms) COMMIT
389
-  (3.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL
390
-  (0.1ms) BEGIN
391
-  (0.3ms) SELECT COUNT(*) FROM "bit_core_slideshows"
392
- BitCore::Slideshow Load (0.2ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
393
-  (0.1ms) SAVEPOINT active_record_1
394
- BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
395
- SQL (0.7ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 538050605]]
396
-  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
397
-  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
398
-  (0.2ms) ROLLBACK
399
-  (6.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL
400
-  (0.2ms) BEGIN
401
- Fixture Delete (0.3ms) DELETE FROM "bit_core_slideshows"
402
- Fixture Insert (0.4ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2015-12-16 21:43:48', '2015-12-16 21:43:48', 504123193, 874964629)
403
- Fixture Delete (0.3ms) DELETE FROM "bit_core_slides"
404
- Fixture Insert (0.2ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2015-12-16 21:43:48', '2015-12-16 21:43:48', 538050605, 504123193)
405
- Fixture Insert (0.2ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2015-12-16 21:43:48', '2015-12-16 21:43:48', 958091673, 504123193)
406
- Fixture Insert (0.2ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2015-12-16 21:43:48', '2015-12-16 21:43:48', 236740868, 504123193)
407
-  (0.5ms) COMMIT
408
-  (4.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL
409
-  (0.1ms) BEGIN
410
- BitCore::Slideshow Load (0.2ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
411
-  (0.3ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
412
-  (0.3ms) SELECT COUNT(*) FROM "bit_core_slideshows"
413
-  (0.1ms) SAVEPOINT active_record_1
414
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
415
- SQL (0.7ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 538050605]]
416
- BitCore::Slideshow Load (0.2ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
417
-  (0.2ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
418
-  (0.1ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
419
- BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 958091673]]
420
- SQL (0.2ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", "2015-12-16 21:43:48.395907"], ["id", 958091673]]
421
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
422
- SQL (0.2ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", "2015-12-16 21:43:48.398869"], ["id", 236740868]]
423
- SQL (0.3ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
424
- BitCore::Slideshow Load (0.2ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
425
-  (0.2ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
426
-  (0.1ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
427
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
428
- SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", "2015-12-16 21:43:48.403078"], ["id", 236740868]]
429
- SQL (0.7ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 236740868]]
430
- BitCore::Slideshow Load (0.2ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
431
-  (0.2ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
432
-  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
433
- BitCore::ContentProvider Load (0.6ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."source_content_id" = $1 AND "bit_core_content_providers"."source_content_type" = $2 LIMIT 1 [["source_content_id", 504123193], ["source_content_type", "BitCore::Slideshow"]]
434
- SQL (0.8ms) DELETE FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 [["id", 504123193]]
435
-  (0.1ms) RELEASE SAVEPOINT active_record_1
436
-  (0.1ms) SELECT COUNT(*) FROM "bit_core_slideshows"
437
-  (0.1ms) ROLLBACK
438
-  (6.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL
439
-  (0.3ms) BEGIN
440
- Fixture Delete (0.3ms) DELETE FROM "bit_core_slideshows"
441
- Fixture Insert (0.3ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2015-12-16 21:44:10', '2015-12-16 21:44:10', 504123193, 874964629)
442
- Fixture Delete (0.6ms) DELETE FROM "bit_core_slides"
443
- Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2015-12-16 21:44:10', '2015-12-16 21:44:10', 538050605, 504123193)
444
- Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2015-12-16 21:44:10', '2015-12-16 21:44:10', 958091673, 504123193)
445
- Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2015-12-16 21:44:10', '2015-12-16 21:44:10', 236740868, 504123193)
446
-  (0.5ms) COMMIT
447
-  (3.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL
448
-  (0.1ms) BEGIN
449
- BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
450
-  (0.3ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
451
-  (0.3ms) SELECT COUNT(*) FROM "bit_core_slideshows"
452
-  (0.1ms) SAVEPOINT active_record_1
453
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
454
- SQL (1.1ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 538050605]]
455
- BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
456
-  (0.2ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
457
-  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
458
- BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 958091673]]
459
- SQL (0.3ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", "2015-12-16 21:44:10.546005"], ["id", 958091673]]
460
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
461
- SQL (0.2ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", "2015-12-16 21:44:10.549208"], ["id", 236740868]]
462
- SQL (0.3ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
463
- BitCore::Slideshow Load (0.2ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
464
-  (0.1ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
465
-  (0.1ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
466
- BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
467
- SQL (0.3ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", "2015-12-16 21:44:10.553280"], ["id", 236740868]]
468
- SQL (0.3ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 236740868]]
469
- BitCore::Slideshow Load (0.1ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
470
-  (0.1ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
471
-  (0.1ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
472
- BitCore::ContentProvider Load (0.4ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."source_content_id" = $1 AND "bit_core_content_providers"."source_content_type" = $2 LIMIT 1 [["source_content_id", 504123193], ["source_content_type", "BitCore::Slideshow"]]
473
- SQL (0.7ms) DELETE FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 [["id", 504123193]]
474
-  (0.2ms) RELEASE SAVEPOINT active_record_1
475
-  (0.4ms) SELECT COUNT(*) FROM "bit_core_slideshows"
476
-  (0.3ms) ROLLBACK
477
-  (0.1ms) BEGIN
478
-  (0.2ms) ROLLBACK
479
-  (0.1ms) 
480
-  (0.1ms) BEGIN
481
-  (0.1ms) ROLLBACK
482
-  (0.1ms)
483
-  (0.1ms) 
484
-  (0.1ms) BEGIN
485
-  (0.1ms) ROLLBACK
486
-  (0.1ms)
487
-  (0.1ms) 
488
-  (0.1ms) BEGIN
489
-  (0.1ms) ROLLBACK
490
-  (0.1ms)
491
-  (0.2ms) 
492
-  (0.1ms) BEGIN
493
-  (0.1ms) ROLLBACK
494
-  (0.1ms)
495
-  (0.1ms) 
496
-  (0.1ms) BEGIN
497
-  (0.1ms) ROLLBACK
498
-  (0.1ms)
499
-  (0.1ms) 
500
-  (0.2ms) BEGIN
501
-  (0.1ms) ROLLBACK
502
-  (0.1ms)
503
-  (0.1ms) BEGIN
504
-  (0.1ms) ROLLBACK
505
-  (0.1ms) BEGIN
506
-  (0.1ms) ROLLBACK
507
-  (0.1ms) BEGIN
508
-  (0.1ms) ROLLBACK
509
-  (0.1ms) 
510
-  (0.1ms) BEGIN
511
-  (0.1ms) ROLLBACK
512
-  (0.1ms)
513
-  (0.1ms) 
514
-  (0.1ms) BEGIN
515
-  (0.1ms) ROLLBACK
516
-  (0.1ms)
517
-  (0.1ms) 
518
-  (0.1ms) BEGIN
519
-  (0.1ms) ROLLBACK
520
-  (0.1ms)
521
-  (0.1ms) 
522
-  (0.1ms) BEGIN
523
-  (0.1ms) ROLLBACK
524
-  (0.1ms)
525
-  (20.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
526
-  (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
527
- ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
1
+ ActiveRecord::SchemaMigration Load (3.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
2
+  (23.8ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
3
+ ActiveRecord::InternalMetadata Load (0.9ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" ORDER BY "ar_internal_metadata"."key" ASC LIMIT $1 [["LIMIT", 1]]
4
+  (0.3ms) BEGIN
5
+ SQL (1.0ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-05-03 14:50:13 UTC], ["updated_at", 2016-05-03 14:50:13 UTC]]
6
+  (0.5ms) COMMIT
7
+ ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
8
+  (0.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
9
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
10
+  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
11
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
12
+  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
13
+  (341.0ms) DROP DATABASE IF EXISTS "dummy_test"
14
+  (408.9ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
15
+  (8.4ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
16
+  (4.7ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
17
+  (0.3ms) SELECT pg_try_advisory_lock(2735718569030447490);
18
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
528
19
  Migrating to CreateBitCoreTools (20140415210052)
529
-  (0.2ms) BEGIN
530
-  (15.0ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
531
-  (6.7ms) ALTER TABLE bit_core_tools
20
+  (0.3ms) BEGIN
21
+  (14.0ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
22
+  (3.6ms)  ALTER TABLE bit_core_tools
532
23
  ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
533
24
  DEFERRABLE INITIALLY IMMEDIATE
534
-
535
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]
536
-  (5.3ms) COMMIT
25
+ 
26
+ SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140415210052"]]
27
+  (1.3ms) COMMIT
537
28
  Migrating to CreateBitCoreContentModules (20140415211458)
538
-  (5.7ms) BEGIN
539
-  (18.7ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)
540
-  (1.0ms)  ALTER TABLE bit_core_content_modules
29
+  (0.5ms) BEGIN
30
+  (6.5ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)
31
+  (2.5ms)  ALTER TABLE bit_core_content_modules
541
32
  ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
542
33
  DEFERRABLE INITIALLY IMMEDIATE
543
34
  
544
-  (1.1ms) ALTER TABLE bit_core_content_modules
35
+  (2.9ms)  ALTER TABLE bit_core_content_modules
545
36
  ADD CONSTRAINT fk_content_modules_tools
546
37
  FOREIGN KEY (bit_core_tool_id)
547
38
  REFERENCES bit_core_tools(id)
548
-
549
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]
550
-  (0.7ms) COMMIT
39
+ 
40
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140415211458"]]
41
+  (0.6ms) COMMIT
551
42
  Migrating to CreateBitCoreContentProviders (20140415213346)
552
-  (10.5ms) BEGIN
553
-  (15.9ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying NOT NULL, "source_content_type" character varying, "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
554
-  (0.9ms)  ALTER TABLE bit_core_content_providers
43
+  (0.8ms) BEGIN
44
+  (6.0ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying NOT NULL, "source_content_type" character varying, "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
45
+  (2.6ms)  ALTER TABLE bit_core_content_providers
555
46
  ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
556
47
  DEFERRABLE INITIALLY IMMEDIATE
557
48
  
558
-  (1.0ms) ALTER TABLE bit_core_content_providers
49
+  (3.4ms)  ALTER TABLE bit_core_content_providers
559
50
  ADD CONSTRAINT fk_content_providers_modules
560
51
  FOREIGN KEY (bit_core_content_module_id)
561
52
  REFERENCES bit_core_content_modules(id)
562
-
563
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]
564
-  (0.5ms) COMMIT
53
+ 
54
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140415213346"]]
55
+  (0.9ms) COMMIT
565
56
  Migrating to CreateBitCoreSlideshows (20140417173056)
566
-  (5.4ms) BEGIN
567
-  (22.5ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)
568
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417173056"]]
569
-  (0.4ms) COMMIT
57
+  (0.7ms) BEGIN
58
+  (15.5ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)
59
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140417173056"]]
60
+  (0.9ms) COMMIT
570
61
  Migrating to CreateBitCoreSlides (20140417174159)
571
-  (10.7ms) BEGIN
572
-  (15.0ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
573
-  (0.8ms)  ALTER TABLE bit_core_slides
62
+  (0.5ms) BEGIN
63
+  (8.1ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
64
+  (2.8ms)  ALTER TABLE bit_core_slides
574
65
  ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
575
66
  DEFERRABLE INITIALLY IMMEDIATE
576
67
  
577
-  (1.1ms) ALTER TABLE bit_core_slides
68
+  (2.9ms)  ALTER TABLE bit_core_slides
578
69
  ADD CONSTRAINT fk_slideshows_slides
579
70
  FOREIGN KEY (bit_core_slideshow_id)
580
71
  REFERENCES bit_core_slideshows(id)
581
-
582
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417174159"]]
583
-  (0.6ms) COMMIT
72
+ 
73
+ SQL (1.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140417174159"]]
74
+  (1.1ms) COMMIT
584
75
  Migrating to AddOptionsToSlides (20140620174146)
585
-  (5.9ms) BEGIN
586
-  (0.3ms) ALTER TABLE "bit_core_slides" ADD "options" text
587
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620174146"]]
588
-  (13.7ms) COMMIT
76
+  (1.2ms) BEGIN
77
+  (2.7ms) ALTER TABLE "bit_core_slides" ADD "options" text
78
+ SQL (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140620174146"]]
79
+  (0.7ms) COMMIT
589
80
  Migrating to AddConfigFieldsToProviders (20140620174147)
590
-  (0.1ms) BEGIN
591
-  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD "template_path" character varying
592
-  (0.2ms) ALTER TABLE "bit_core_content_providers" ADD "data_class_name" character varying
593
-  (0.2ms) ALTER TABLE "bit_core_content_providers" ADD "data_attributes" text
594
-  (0.3ms) ALTER TABLE "bit_core_content_providers" ADD "show_next_nav" boolean
595
-  (0.2ms) ALTER TABLE "bit_core_content_providers" ADD "locals" text
596
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620174147"]]
597
-  (10.7ms) COMMIT
81
+  (0.3ms) BEGIN
82
+  (1.0ms) ALTER TABLE "bit_core_content_providers" ADD "template_path" character varying
83
+  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD "data_class_name" character varying
84
+  (0.9ms) ALTER TABLE "bit_core_content_providers" ADD "data_attributes" text
85
+  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD "show_next_nav" boolean
86
+  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD "locals" text
87
+ SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140620174147"]]
88
+  (0.7ms) COMMIT
598
89
  Migrating to AddTypeToContentModules (20140625133118)
599
-  (0.3ms) BEGIN
600
-  (0.3ms) ALTER TABLE "bit_core_content_modules" ADD "type" character varying
601
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140625133118"]]
602
-  (0.6ms) COMMIT
90
+  (0.4ms) BEGIN
91
+  (0.8ms) ALTER TABLE "bit_core_content_modules" ADD "type" character varying
92
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140625133118"]]
93
+  (0.6ms) COMMIT
603
94
  Migrating to CreateBitCoreArms (20141205202720)
604
-  (0.1ms) BEGIN
605
-  (22.5ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying, "is_social" boolean, "created_at" timestamp, "updated_at" timestamp)
606
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141205202720"]]
607
-  (0.5ms) COMMIT
95
+  (0.5ms) BEGIN
96
+  (10.2ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying, "is_social" boolean, "created_at" timestamp, "updated_at" timestamp)
97
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20141205202720"]]
98
+  (1.6ms) COMMIT
608
99
  Migrating to AddArmIdToBitCoreSlideshows (20141205202724)
609
-  (10.7ms) BEGIN
610
-  (0.3ms) ALTER TABLE "bit_core_slideshows" ADD "arm_id" integer NOT NULL
611
-  (0.9ms)  ALTER TABLE bit_core_slideshows
100
+  (1.0ms) BEGIN
101
+  (1.1ms) ALTER TABLE "bit_core_slideshows" ADD "arm_id" integer NOT NULL
102
+  (3.9ms)  ALTER TABLE bit_core_slideshows
612
103
  ADD CONSTRAINT fk_bit_core_slideshows_arms
613
104
  FOREIGN KEY (arm_id)
614
105
  REFERENCES arms(id)
615
106
  
616
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141205202724"]]
617
-  (6.1ms) COMMIT
107
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20141205202724"]]
108
+  (0.6ms) COMMIT
618
109
  Migrating to AddArmIdToBitCoreTools (20141205202740)
619
-  (0.1ms) BEGIN
620
-  (0.3ms) ALTER TABLE "bit_core_tools" ADD "arm_id" integer NOT NULL
621
-  (0.9ms) ALTER TABLE bit_core_tools
110
+  (0.4ms) BEGIN
111
+  (0.7ms) ALTER TABLE "bit_core_tools" ADD "arm_id" integer NOT NULL
112
+  (2.4ms)  ALTER TABLE bit_core_tools
622
113
  ADD CONSTRAINT fk_bit_core_tools_arms
623
114
  FOREIGN KEY (arm_id)
624
115
  REFERENCES arms(id)
625
-
626
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141205202740"]]
627
-  (6.2ms) COMMIT
116
+ 
117
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20141205202740"]]
118
+  (0.5ms) COMMIT
628
119
  Migrating to AddTypeToTools (20150130155627)
629
-  (0.1ms) BEGIN
630
-  (0.3ms) ALTER TABLE "bit_core_tools" ADD "type" character varying
631
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150130155627"]]
632
-  (11.4ms) COMMIT
120
+  (0.3ms) BEGIN
121
+  (0.6ms) ALTER TABLE "bit_core_tools" ADD "type" character varying
122
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20150130155627"]]
123
+  (0.3ms) COMMIT
633
124
  Migrating to AddIsVizToContentModules (20150131195914)
634
-  (0.1ms) BEGIN
635
-  (29.1ms) ALTER TABLE "bit_core_content_modules" ADD "is_viz" boolean DEFAULT 'f' NOT NULL
636
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150131195914"]]
637
-  (1.0ms) COMMIT
125
+  (0.2ms) BEGIN
126
+  (8.4ms) ALTER TABLE "bit_core_content_modules" ADD "is_viz" boolean DEFAULT 'f' NOT NULL
127
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20150131195914"]]
128
+  (1.7ms) COMMIT
638
129
  Migrating to AddToolConstraint (20150210161229)
639
-  (0.1ms) BEGIN
640
- BitCore::Tool Load (0.3ms) SELECT "bit_core_tools".* FROM "bit_core_tools"
641
-  (0.9ms)  ALTER TABLE bit_core_tools
130
+  (0.5ms) BEGIN
131
+ BitCore::Tool Load (0.7ms) SELECT "bit_core_tools".* FROM "bit_core_tools"
132
+  (2.1ms)  ALTER TABLE bit_core_tools
642
133
  ADD CONSTRAINT fk_tools_arms
643
134
  FOREIGN KEY (arm_id)
644
135
  REFERENCES arms(id)
645
136
  
646
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150210161229"]]
647
-  (6.2ms) COMMIT
137
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20150210161229"]]
138
+  (0.7ms) COMMIT
648
139
  Migrating to ChangeShowNextNavColumnDefault (20160311210938)
649
-  (0.1ms) BEGIN
650
-  (0.3ms) ALTER TABLE "bit_core_content_providers" ALTER COLUMN "show_next_nav" SET DEFAULT 'f'
651
-  (0.2ms) ALTER TABLE "bit_core_content_providers" ALTER "show_next_nav" SET NOT NULL
652
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160311210938"]]
653
-  (3.7ms) COMMIT
654
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
655
-  (2.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
140
+  (0.3ms) BEGIN
141
+  (0.8ms) ALTER TABLE "bit_core_content_providers" ALTER COLUMN "show_next_nav" SET DEFAULT 'f'
142
+  (0.4ms) ALTER TABLE "bit_core_content_providers" ALTER "show_next_nav" SET NOT NULL
143
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160311210938"]]
144
+  (0.4ms) COMMIT
145
+ ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" ORDER BY "ar_internal_metadata"."key" ASC LIMIT $1 [["LIMIT", 1]]
146
+  (0.3ms) BEGIN
147
+ SQL (1.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-05-03 14:50:18 UTC], ["updated_at", 2016-05-03 14:50:18 UTC]]
148
+  (0.6ms) COMMIT
149
+  (0.4ms) SELECT pg_advisory_unlock(2735718569030447490)
150
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
151
+  (5.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
656
152
  FROM pg_constraint c
657
153
  JOIN pg_class t1 ON c.conrelid = t1.oid
658
154
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -663,8 +159,8 @@ WHERE c.contype = 'f'
663
159
  AND t1.relname = 'arms'
664
160
  AND t3.nspname = ANY (current_schemas(false))
665
161
  ORDER BY c.conname
666
-
667
-  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
162
+ 
163
+  (4.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
668
164
  FROM pg_constraint c
669
165
  JOIN pg_class t1 ON c.conrelid = t1.oid
670
166
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -676,7 +172,7 @@ WHERE c.contype = 'f'
676
172
  AND t3.nspname = ANY (current_schemas(false))
677
173
  ORDER BY c.conname
678
174
  
679
-  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
175
+  (4.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
680
176
  FROM pg_constraint c
681
177
  JOIN pg_class t1 ON c.conrelid = t1.oid
682
178
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -687,8 +183,8 @@ WHERE c.contype = 'f'
687
183
  AND t1.relname = 'bit_core_content_providers'
688
184
  AND t3.nspname = ANY (current_schemas(false))
689
185
  ORDER BY c.conname
690
-
691
-  (2.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
186
+ 
187
+  (4.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
692
188
  FROM pg_constraint c
693
189
  JOIN pg_class t1 ON c.conrelid = t1.oid
694
190
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -700,7 +196,7 @@ WHERE c.contype = 'f'
700
196
  AND t3.nspname = ANY (current_schemas(false))
701
197
  ORDER BY c.conname
702
198
  
703
-  (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
199
+  (5.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
704
200
  FROM pg_constraint c
705
201
  JOIN pg_class t1 ON c.conrelid = t1.oid
706
202
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -711,8 +207,8 @@ WHERE c.contype = 'f'
711
207
  AND t1.relname = 'bit_core_slideshows'
712
208
  AND t3.nspname = ANY (current_schemas(false))
713
209
  ORDER BY c.conname
714
-
715
-  (2.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
210
+ 
211
+  (4.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
716
212
  FROM pg_constraint c
717
213
  JOIN pg_class t1 ON c.conrelid = t1.oid
718
214
  JOIN pg_class t2 ON c.confrelid = t2.oid
@@ -724,144 +220,2654 @@ WHERE c.contype = 'f'
724
220
  AND t3.nspname = ANY (current_schemas(false))
725
221
  ORDER BY c.conname
726
222
  
727
-  (2.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL
728
-  (0.1ms) BEGIN
729
- Fixture Delete (0.4ms) DELETE FROM "bit_core_tools"
730
- Fixture Insert (0.4ms) INSERT INTO "bit_core_tools" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Home', '2016-03-14 14:22:17', '2016-03-14 14:22:17', 836111569, 874964629)
731
- Fixture Delete (0.3ms) DELETE FROM "bit_core_content_modules"
732
- Fixture Insert (0.3ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('Landing', 1, '2016-03-14 14:22:17', '2016-03-14 14:22:17', 437912910, 836111569)
733
- Fixture Insert (0.2ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('But wait, there''s more', 2, '2016-03-14 14:22:17', '2016-03-14 14:22:17', 511237275, 836111569)
734
- Fixture Delete (0.3ms) DELETE FROM "bit_core_content_providers"
735
- Fixture Insert (0.4ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2016-03-14 14:22:17', '2016-03-14 14:22:17', 555816777, 437912910)
736
- Fixture Insert (0.2ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2016-03-14 14:22:17', '2016-03-14 14:22:17', 46790607, 511237275)
737
-  (0.3ms) COMMIT
738
-  (0.9ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL
739
-  (0.1ms) BEGIN
740
- BitCore::ContentModule Load (0.3ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
741
- BitCore::ContentProvider Load (0.4ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = $2 ORDER BY "bit_core_content_providers"."id" ASC LIMIT 1 [["bit_core_content_module_id", 437912910], ["position", 8]]
742
-  (0.1ms) ROLLBACK
223
+  (0.2ms) BEGIN
224
+  (2.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL
225
+  (0.5ms) COMMIT
226
+  (0.3ms) BEGIN
227
+ Fixture Delete (0.7ms) DELETE FROM "bit_core_slideshows"
228
+ Fixture Insert (0.9ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-05-03 14:50:24.492516', '2016-05-03 14:50:24.492516', 504123193, 874964629)
229
+ Fixture Delete (0.8ms) DELETE FROM "bit_core_slides"
230
+ Fixture Insert (0.8ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-05-03 14:50:24.512918', '2016-05-03 14:50:24.512918', 538050605, 504123193)
231
+ Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-05-03 14:50:24.512918', '2016-05-03 14:50:24.512918', 958091673, 504123193)
232
+ Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-05-03 14:50:24.512918', '2016-05-03 14:50:24.512918', 236740868, 504123193)
233
+  (0.4ms) COMMIT
234
+  (0.2ms) BEGIN
235
+  (1.8ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL
236
+  (0.4ms) COMMIT
237
+  (0.1ms) BEGIN
238
+ BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 538050605], ["LIMIT", 1]]
239
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]
240
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 236740868], ["LIMIT", 1]]
241
+ BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
242
+  (0.3ms) SAVEPOINT active_record_1
243
+  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
244
+ BitCore::Slide Load (1.0ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]
245
+ SQL (0.8ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-05-03 14:50:24 UTC], ["id", 236740868]]
246
+ BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]]
247
+ SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:50:24 UTC], ["id", 538050605]]
248
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]]
249
+ SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 3], ["updated_at", 2016-05-03 14:50:24 UTC], ["id", 958091673]]
250
+  (0.2ms) RELEASE SAVEPOINT active_record_1
251
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]]
252
+ BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]]
253
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]
254
+  (0.6ms) ROLLBACK
255
+  (0.2ms) BEGIN
256
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
257
+  (0.7ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
258
+  (0.5ms) SELECT COUNT(*) FROM "bit_core_slideshows"
259
+  (0.2ms) SAVEPOINT active_record_1
260
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
261
+ SQL (0.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 538050605]]
262
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
263
+  (0.5ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
264
+  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
265
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]]
266
+ SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-05-03 14:50:24 UTC], ["id", 958091673]]
267
+ BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]
268
+ SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:50:24 UTC], ["id", 236740868]]
269
+ SQL (0.4ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
270
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
271
+  (0.5ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
272
+  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
273
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]
274
+ SQL (0.8ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-05-03 14:50:24 UTC], ["id", 236740868]]
275
+ SQL (0.4ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 236740868]]
276
+ BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
277
+  (0.9ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
278
+  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
279
+ BitCore::ContentProvider Load (1.4ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."source_content_id" = $1 AND "bit_core_content_providers"."source_content_type" = $2 LIMIT $3 [["source_content_id", 504123193], ["source_content_type", "BitCore::Slideshow"], ["LIMIT", 1]]
280
+ SQL (1.8ms) DELETE FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 [["id", 504123193]]
281
+  (0.3ms) RELEASE SAVEPOINT active_record_1
282
+  (0.7ms) SELECT COUNT(*) FROM "bit_core_slideshows"
283
+  (0.4ms) ROLLBACK
284
+  (0.2ms) BEGIN
285
+ BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
286
+  (0.5ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
287
+ BitCore::Slide Exists (0.6ms) SELECT 1 AS one FROM "bit_core_slides" WHERE "bit_core_slides"."position" = $1 AND "bit_core_slides"."bit_core_slideshow_id" = $2 LIMIT $3 [["position", 4], ["bit_core_slideshow_id", 504123193], ["LIMIT", 1]]
288
+  (0.2ms) ROLLBACK
289
+  (0.1ms) BEGIN
290
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
291
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]
292
+  (0.2ms) SAVEPOINT active_record_1
293
+ SQL (0.4ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
294
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
295
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
296
+  (0.5ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
297
+  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
298
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]]
299
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]
300
+ SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:50:24 UTC], ["id", 236740868]]
301
+  (0.3ms) RELEASE SAVEPOINT active_record_1
302
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]]
303
+  (0.6ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
304
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]]
305
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 538050605], ["LIMIT", 1]]
306
+ BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]]
307
+ BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 OFFSET $3 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1], ["OFFSET", 1]]
308
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 236740868], ["LIMIT", 1]]
309
+ BitCore::Slide Load (1.1ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 OFFSET $3 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1], ["OFFSET", 1]]
310
+  (0.3ms) ROLLBACK
311
+  (0.3ms) BEGIN
312
+  (0.3ms) ROLLBACK
313
+  (1.1ms) BEGIN
314
+  (0.3ms) ROLLBACK
315
+  (0.2ms) BEGIN
316
+  (0.2ms) ROLLBACK
317
+  (0.2ms) BEGIN
318
+  (0.3ms) ROLLBACK
319
+  (0.1ms) BEGIN
320
+ BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
321
+ BitCore::Slide Load (1.0ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
322
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]
323
+  (0.3ms) SAVEPOINT active_record_1
324
+ SQL (0.7ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
325
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
326
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
327
+  (0.5ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
328
+  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
329
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]]
330
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]
331
+ SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:50:24 UTC], ["id", 236740868]]
332
+  (0.2ms) RELEASE SAVEPOINT active_record_1
333
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
334
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
335
+  (0.2ms) ROLLBACK
336
+  (0.1ms) BEGIN
337
+ BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]
338
+ BitCore::ContentProvider Exists (0.9ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]
339
+  (0.4ms) ROLLBACK
340
+  (0.2ms) BEGIN
341
+ BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]
342
+ BitCore::ContentProvider Exists (0.7ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]
343
+  (0.3ms) ROLLBACK
344
+  (0.2ms) BEGIN
345
+ BitCore::ContentProvider Exists (0.9ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]
346
+ BitCore::ContentProvider Exists (1.0ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]
347
+  (0.4ms) ROLLBACK
348
+  (0.2ms) BEGIN
349
+  (1.7ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL
350
+  (0.4ms) COMMIT
351
+  (0.3ms) BEGIN
352
+ Fixture Delete (0.8ms) DELETE FROM "bit_core_tools"
353
+ Fixture Insert (1.0ms) INSERT INTO "bit_core_tools" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Home', '2016-05-03 14:50:24.855234', '2016-05-03 14:50:24.855234', 836111569, 874964629)
354
+ Fixture Delete (1.9ms) DELETE FROM "bit_core_content_modules"
355
+ Fixture Insert (1.1ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('Landing', 1, '2016-05-03 14:50:24.870238', '2016-05-03 14:50:24.870238', 437912910, 836111569)
356
+ Fixture Insert (0.9ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('But wait, there''s more', 2, '2016-05-03 14:50:24.870238', '2016-05-03 14:50:24.870238', 511237275, 836111569)
357
+ Fixture Delete (0.6ms) DELETE FROM "bit_core_content_providers"
358
+ Fixture Insert (0.8ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2016-05-03 14:50:24.890603', '2016-05-03 14:50:24.890603', 555816777, 437912910)
359
+ Fixture Insert (0.6ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2016-05-03 14:50:24.890603', '2016-05-03 14:50:24.890603', 46790607, 511237275)
360
+  (0.4ms) COMMIT
361
+  (0.3ms) BEGIN
362
+  (1.9ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL
363
+  (0.4ms) COMMIT
364
+  (0.2ms) BEGIN
365
+ BitCore::ContentModule Load (0.8ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT $2 [["id", 437912910], ["LIMIT", 1]]
366
+ BitCore::ContentProvider Load (0.9ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = $2 ORDER BY "bit_core_content_providers"."id" ASC LIMIT $3 [["bit_core_content_module_id", 437912910], ["position", 8], ["LIMIT", 1]]
367
+  (0.3ms) ROLLBACK
368
+  (0.3ms) BEGIN
369
+ BitCore::ContentModule Load (0.4ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT $2 [["id", 437912910], ["LIMIT", 1]]
370
+ BitCore::ContentProvider Load (0.5ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = $2 ORDER BY "bit_core_content_providers"."id" ASC LIMIT $3 [["bit_core_content_module_id", 437912910], ["position", 1], ["LIMIT", 1]]
371
+  (0.2ms) ROLLBACK
372
+  (0.1ms) BEGIN
373
+  (2.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL
374
+  (0.6ms) COMMIT
375
+  (0.3ms) BEGIN
376
+ Fixture Delete (1.1ms) DELETE FROM "bit_core_slideshows"
377
+ Fixture Insert (0.5ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-05-03 14:52:25.913345', '2016-05-03 14:52:25.913345', 504123193, 874964629)
378
+ Fixture Delete (1.1ms) DELETE FROM "bit_core_slides"
379
+ Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-05-03 14:52:25.947838', '2016-05-03 14:52:25.947838', 538050605, 504123193)
380
+ Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-05-03 14:52:25.947838', '2016-05-03 14:52:25.947838', 958091673, 504123193)
381
+ Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-05-03 14:52:25.947838', '2016-05-03 14:52:25.947838', 236740868, 504123193)
382
+  (0.5ms) COMMIT
383
+  (0.2ms) BEGIN
384
+  (1.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL
385
+  (0.4ms) COMMIT
386
+  (0.1ms) BEGIN
387
+  (0.3ms) ROLLBACK
388
+  (0.1ms) BEGIN
389
+  (0.2ms) ROLLBACK
390
+  (0.1ms) BEGIN
391
+  (0.3ms) ROLLBACK
392
+  (0.1ms) BEGIN
393
+ BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
394
+ BitCore::Slide Load (1.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
395
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]
396
+  (0.3ms) SAVEPOINT active_record_1
397
+ SQL (0.7ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
398
+ BitCore::Slideshow Load (0.7ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
399
+ BitCore::Slideshow Load (0.7ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
400
+  (0.6ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
401
+  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
402
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]]
403
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]
404
+ SQL (0.7ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:52:26 UTC], ["id", 236740868]]
405
+  (0.2ms) RELEASE SAVEPOINT active_record_1
406
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
407
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
408
+  (0.3ms) ROLLBACK
409
+  (0.1ms) BEGIN
410
+  (0.3ms) ROLLBACK
411
+  (0.2ms) BEGIN
412
+  (3.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL
413
+  (0.5ms) COMMIT
414
+  (0.3ms) BEGIN
415
+ Fixture Delete (0.9ms) DELETE FROM "bit_core_tools"
416
+ Fixture Insert (0.4ms) INSERT INTO "bit_core_tools" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Home', '2016-05-03 14:52:26.116522', '2016-05-03 14:52:26.116522', 836111569, 874964629)
417
+ Fixture Delete (8.7ms) DELETE FROM "bit_core_content_modules"
418
+ Fixture Insert (0.6ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('Landing', 1, '2016-05-03 14:52:26.130737', '2016-05-03 14:52:26.130737', 437912910, 836111569)
419
+ Fixture Insert (0.4ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('But wait, there''s more', 2, '2016-05-03 14:52:26.130737', '2016-05-03 14:52:26.130737', 511237275, 836111569)
420
+ Fixture Delete (1.6ms) DELETE FROM "bit_core_content_providers"
421
+ Fixture Insert (0.7ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2016-05-03 14:52:26.155199', '2016-05-03 14:52:26.155199', 555816777, 437912910)
422
+ Fixture Insert (0.7ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2016-05-03 14:52:26.155199', '2016-05-03 14:52:26.155199', 46790607, 511237275)
423
+  (0.4ms) COMMIT
424
+  (0.2ms) BEGIN
425
+  (1.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL
426
+  (0.5ms) COMMIT
427
+  (0.1ms) BEGIN
428
+ BitCore::ContentModule Load (0.6ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT $2 [["id", 437912910], ["LIMIT", 1]]
429
+ BitCore::ContentProvider Load (0.7ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = $2 ORDER BY "bit_core_content_providers"."id" ASC LIMIT $3 [["bit_core_content_module_id", 437912910], ["position", 1], ["LIMIT", 1]]
430
+  (0.3ms) ROLLBACK
431
+  (0.1ms) BEGIN
432
+ BitCore::ContentModule Load (0.5ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT $2 [["id", 437912910], ["LIMIT", 1]]
433
+ BitCore::ContentProvider Load (0.5ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = $2 ORDER BY "bit_core_content_providers"."id" ASC LIMIT $3 [["bit_core_content_module_id", 437912910], ["position", 8], ["LIMIT", 1]]
434
+  (0.2ms) ROLLBACK
435
+  (0.1ms) BEGIN
436
+ BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]
437
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]
438
+  (0.2ms) ROLLBACK
439
+  (0.2ms) BEGIN
440
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]
441
+ BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]
442
+  (0.2ms) ROLLBACK
443
+  (0.2ms) BEGIN
444
+ BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]
445
+ BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]
446
+  (0.2ms) ROLLBACK
447
+  (0.3ms) BEGIN
448
+ BitCore::Slideshow Load (1.0ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
449
+ BitCore::Slide Load (0.9ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]
450
+  (0.4ms) SAVEPOINT active_record_1
451
+ SQL (0.9ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
452
+ BitCore::Slideshow Load (1.1ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
453
+ BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
454
+  (0.6ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
455
+  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
456
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]]
457
+ BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]
458
+ SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:52:26 UTC], ["id", 236740868]]
459
+  (0.2ms) RELEASE SAVEPOINT active_record_1
460
+ BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]]
461
+  (0.6ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
462
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]]
463
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 538050605], ["LIMIT", 1]]
464
+ BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]]
465
+ BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 OFFSET $3 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1], ["OFFSET", 1]]
466
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 236740868], ["LIMIT", 1]]
467
+ BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 OFFSET $3 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1], ["OFFSET", 1]]
468
+  (0.3ms) ROLLBACK
469
+  (0.2ms) BEGIN
470
+ BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
471
+  (0.6ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
472
+  (0.6ms) SELECT COUNT(*) FROM "bit_core_slideshows"
473
+  (0.4ms) SAVEPOINT active_record_1
474
+ BitCore::Slide Load (1.0ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
475
+ SQL (0.9ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 538050605]]
476
+ BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
477
+  (0.7ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
478
+  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
479
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]]
480
+ SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-05-03 14:52:26 UTC], ["id", 958091673]]
481
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]
482
+ SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:52:26 UTC], ["id", 236740868]]
483
+ SQL (0.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
484
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
485
+  (0.7ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
486
+  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
487
+ BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]
488
+ SQL (1.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-05-03 14:52:26 UTC], ["id", 236740868]]
489
+ SQL (0.7ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 236740868]]
490
+ BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
491
+  (0.7ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
492
+  (0.4ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
493
+ BitCore::ContentProvider Load (0.5ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."source_content_id" = $1 AND "bit_core_content_providers"."source_content_type" = $2 LIMIT $3 [["source_content_id", 504123193], ["source_content_type", "BitCore::Slideshow"], ["LIMIT", 1]]
494
+ SQL (0.8ms) DELETE FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 [["id", 504123193]]
495
+  (0.2ms) RELEASE SAVEPOINT active_record_1
496
+  (0.3ms) SELECT COUNT(*) FROM "bit_core_slideshows"
497
+  (0.2ms) ROLLBACK
498
+  (0.2ms) BEGIN
499
+ BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
500
+  (0.9ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
501
+ BitCore::Slide Exists (0.9ms) SELECT 1 AS one FROM "bit_core_slides" WHERE "bit_core_slides"."position" = $1 AND "bit_core_slides"."bit_core_slideshow_id" = $2 LIMIT $3 [["position", 4], ["bit_core_slideshow_id", 504123193], ["LIMIT", 1]]
502
+  (0.3ms) ROLLBACK
503
+  (0.2ms) BEGIN
504
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 538050605], ["LIMIT", 1]]
505
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]
506
+ BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 236740868], ["LIMIT", 1]]
507
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
508
+  (0.2ms) SAVEPOINT active_record_1
509
+  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
510
+ BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]
511
+ SQL (0.7ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-05-03 14:52:26 UTC], ["id", 236740868]]
512
+ BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]]
513
+ SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:52:26 UTC], ["id", 538050605]]
514
+ BitCore::Slide Load (1.1ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]]
515
+ SQL (0.7ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 3], ["updated_at", 2016-05-03 14:52:26 UTC], ["id", 958091673]]
516
+  (0.2ms) RELEASE SAVEPOINT active_record_1
517
+ BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]]
518
+ BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]]
519
+ BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]
520
+  (0.4ms) ROLLBACK
521
+  (0.1ms) BEGIN
522
+  (0.4ms) ROLLBACK
523
+  (0.2ms) BEGIN
524
+  (1.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL
525
+  (0.7ms) COMMIT
526
+  (0.3ms) BEGIN
527
+ Fixture Delete (0.7ms) DELETE FROM "bit_core_tools"
528
+ Fixture Insert (0.5ms) INSERT INTO "bit_core_tools" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Home', '2016-05-03 14:52:48.696886', '2016-05-03 14:52:48.696886', 836111569, 874964629)
529
+ Fixture Delete (0.8ms) DELETE FROM "bit_core_content_modules"
530
+ Fixture Insert (0.4ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('Landing', 1, '2016-05-03 14:52:48.713430', '2016-05-03 14:52:48.713430', 437912910, 836111569)
531
+ Fixture Insert (0.3ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('But wait, there''s more', 2, '2016-05-03 14:52:48.713430', '2016-05-03 14:52:48.713430', 511237275, 836111569)
532
+ Fixture Delete (1.2ms) DELETE FROM "bit_core_content_providers"
533
+ Fixture Insert (0.6ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2016-05-03 14:52:48.730733', '2016-05-03 14:52:48.730733', 555816777, 437912910)
534
+ Fixture Insert (0.5ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2016-05-03 14:52:48.730733', '2016-05-03 14:52:48.730733', 46790607, 511237275)
535
+  (0.5ms) COMMIT
536
+  (0.2ms) BEGIN
537
+  (2.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL
538
+  (0.6ms) COMMIT
539
+  (0.1ms) BEGIN
540
+ BitCore::ContentModule Load (0.6ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT $2 [["id", 437912910], ["LIMIT", 1]]
541
+ BitCore::ContentProvider Load (0.7ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = $2 ORDER BY "bit_core_content_providers"."id" ASC LIMIT $3 [["bit_core_content_module_id", 437912910], ["position", 1], ["LIMIT", 1]]
542
+  (0.3ms) ROLLBACK
543
+  (0.1ms) BEGIN
544
+ BitCore::ContentModule Load (0.4ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT $2 [["id", 437912910], ["LIMIT", 1]]
545
+ BitCore::ContentProvider Load (0.5ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = $2 ORDER BY "bit_core_content_providers"."id" ASC LIMIT $3 [["bit_core_content_module_id", 437912910], ["position", 8], ["LIMIT", 1]]
546
+  (0.2ms) ROLLBACK
547
+  (0.1ms) BEGIN
548
+  (1.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL
549
+  (0.5ms) COMMIT
550
+  (0.2ms) BEGIN
551
+ Fixture Delete (0.6ms) DELETE FROM "bit_core_slideshows"
552
+ Fixture Insert (0.3ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-05-03 14:52:48.790237', '2016-05-03 14:52:48.790237', 504123193, 874964629)
553
+ Fixture Delete (0.7ms) DELETE FROM "bit_core_slides"
554
+ Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-05-03 14:52:48.796479', '2016-05-03 14:52:48.796479', 538050605, 504123193)
555
+ Fixture Insert (0.2ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-05-03 14:52:48.796479', '2016-05-03 14:52:48.796479', 958091673, 504123193)
556
+ Fixture Insert (0.2ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-05-03 14:52:48.796479', '2016-05-03 14:52:48.796479', 236740868, 504123193)
557
+  (0.4ms) COMMIT
558
+  (0.1ms) BEGIN
559
+  (1.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL
560
+  (0.5ms) COMMIT
561
+  (0.1ms) BEGIN
562
+ BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
563
+ BitCore::Slide Load (0.9ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
564
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]
565
+  (0.2ms) SAVEPOINT active_record_1
566
+ SQL (0.6ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
567
+ BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
568
+ BitCore::Slideshow Load (1.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
569
+  (0.6ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
570
+  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
571
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]]
572
+ BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]
573
+ SQL (0.8ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:52:48 UTC], ["id", 236740868]]
574
+  (0.3ms) RELEASE SAVEPOINT active_record_1
575
+ BitCore::Slideshow Load (0.7ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
576
+ BitCore::Slide Load (0.9ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
577
+  (0.4ms) ROLLBACK
578
+  (0.2ms) BEGIN
579
+  (0.3ms) ROLLBACK
580
+  (0.2ms) BEGIN
581
+  (0.3ms) ROLLBACK
582
+  (0.4ms) BEGIN
583
+  (0.2ms) ROLLBACK
584
+  (0.2ms) BEGIN
585
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 538050605], ["LIMIT", 1]]
586
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]
587
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 236740868], ["LIMIT", 1]]
588
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
589
+  (0.2ms) SAVEPOINT active_record_1
590
+  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
591
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]
592
+ SQL (0.7ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-05-03 14:52:48 UTC], ["id", 236740868]]
593
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]]
594
+ SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:52:48 UTC], ["id", 538050605]]
595
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]]
596
+ SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 3], ["updated_at", 2016-05-03 14:52:48 UTC], ["id", 958091673]]
597
+  (0.2ms) RELEASE SAVEPOINT active_record_1
598
+ BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]]
599
+ BitCore::Slide Load (1.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]]
600
+ BitCore::Slide Load (1.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]
601
+  (0.7ms) ROLLBACK
602
+  (7.4ms) BEGIN
603
+ BitCore::Slideshow Load (1.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
604
+  (1.0ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
605
+  (0.6ms) SELECT COUNT(*) FROM "bit_core_slideshows"
606
+  (0.3ms) SAVEPOINT active_record_1
607
+ BitCore::Slide Load (1.0ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
608
+ SQL (0.9ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 538050605]]
609
+ BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
610
+  (0.6ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
611
+  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
612
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]]
613
+ SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-05-03 14:52:48 UTC], ["id", 958091673]]
614
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]
615
+ SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:52:48 UTC], ["id", 236740868]]
616
+ SQL (0.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
617
+ BitCore::Slideshow Load (0.2ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
618
+  (0.5ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
619
+  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
620
+ BitCore::Slide Load (0.9ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]
621
+ SQL (1.0ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-05-03 14:52:48 UTC], ["id", 236740868]]
622
+ SQL (0.6ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 236740868]]
623
+ BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
624
+  (0.9ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
625
+  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
626
+ BitCore::ContentProvider Load (0.6ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."source_content_id" = $1 AND "bit_core_content_providers"."source_content_type" = $2 LIMIT $3 [["source_content_id", 504123193], ["source_content_type", "BitCore::Slideshow"], ["LIMIT", 1]]
627
+ SQL (0.9ms) DELETE FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 [["id", 504123193]]
628
+  (0.2ms) RELEASE SAVEPOINT active_record_1
629
+  (0.4ms) SELECT COUNT(*) FROM "bit_core_slideshows"
630
+  (0.2ms) ROLLBACK
631
+  (0.2ms) BEGIN
632
+ BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
633
+  (1.0ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
634
+ BitCore::Slide Exists (0.6ms) SELECT 1 AS one FROM "bit_core_slides" WHERE "bit_core_slides"."position" = $1 AND "bit_core_slides"."bit_core_slideshow_id" = $2 LIMIT $3 [["position", 4], ["bit_core_slideshow_id", 504123193], ["LIMIT", 1]]
635
+  (0.2ms) ROLLBACK
636
+  (0.1ms) BEGIN
637
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
638
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]
639
+  (0.2ms) SAVEPOINT active_record_1
640
+ SQL (0.4ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
641
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
642
+ BitCore::Slideshow Load (0.2ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
643
+  (0.6ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
644
+  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
645
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]]
646
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]
647
+ SQL (0.7ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:52:48 UTC], ["id", 236740868]]
648
+  (0.2ms) RELEASE SAVEPOINT active_record_1
649
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]]
650
+  (0.6ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
651
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]]
652
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 538050605], ["LIMIT", 1]]
653
+ BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]]
654
+ BitCore::Slide Load (2.1ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 OFFSET $3 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1], ["OFFSET", 1]]
655
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 236740868], ["LIMIT", 1]]
656
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 OFFSET $3 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1], ["OFFSET", 1]]
657
+  (0.2ms) ROLLBACK
658
+  (0.2ms) BEGIN
659
+ BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]
660
+ BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]
661
+  (0.3ms) ROLLBACK
662
+  (0.1ms) BEGIN
663
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]
664
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]
665
+  (0.2ms) ROLLBACK
666
+  (0.1ms) BEGIN
667
+ BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]
668
+ BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]
669
+  (0.3ms) ROLLBACK
670
+  (0.1ms) BEGIN
671
+  (0.3ms) ROLLBACK
672
+  (0.2ms) BEGIN
673
+  (2.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL
674
+  (0.6ms) COMMIT
675
+  (0.2ms) BEGIN
676
+ Fixture Delete (0.7ms) DELETE FROM "bit_core_slideshows"
677
+ Fixture Insert (0.5ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-05-03 14:53:12.452208', '2016-05-03 14:53:12.452208', 504123193, 874964629)
678
+ Fixture Delete (0.7ms) DELETE FROM "bit_core_slides"
679
+ Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-05-03 14:53:12.462203', '2016-05-03 14:53:12.462203', 538050605, 504123193)
680
+ Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-05-03 14:53:12.462203', '2016-05-03 14:53:12.462203', 958091673, 504123193)
681
+ Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-05-03 14:53:12.462203', '2016-05-03 14:53:12.462203', 236740868, 504123193)
682
+  (0.5ms) COMMIT
683
+  (0.1ms) BEGIN
684
+  (1.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL
685
+  (0.5ms) COMMIT
686
+  (0.1ms) BEGIN
687
+  (0.2ms) ROLLBACK
688
+  (0.3ms) BEGIN
689
+  (0.2ms) ROLLBACK
690
+  (0.2ms) BEGIN
691
+  (0.2ms) ROLLBACK
692
+  (0.2ms) BEGIN
693
+ BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
694
+ BitCore::Slide Load (4.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
695
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]
696
+  (0.2ms) SAVEPOINT active_record_1
697
+ SQL (0.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
698
+ BitCore::Slideshow Load (0.9ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
699
+ BitCore::Slideshow Load (0.7ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
700
+  (1.1ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
701
+  (0.4ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
702
+ BitCore::Slide Load (1.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]]
703
+ BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]
704
+ SQL (1.0ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:53:12 UTC], ["id", 236740868]]
705
+  (0.2ms) RELEASE SAVEPOINT active_record_1
706
+ BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
707
+ BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
708
+  (0.3ms) ROLLBACK
709
+  (0.1ms) BEGIN
710
+ BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
711
+  (0.7ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
712
+  (0.4ms) SELECT COUNT(*) FROM "bit_core_slideshows"
713
+  (0.1ms) SAVEPOINT active_record_1
714
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
715
+ SQL (0.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 538050605]]
716
+ BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
717
+  (0.5ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
718
+  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
719
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]]
720
+ SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-05-03 14:53:12 UTC], ["id", 958091673]]
721
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]
722
+ SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:53:12 UTC], ["id", 236740868]]
723
+ SQL (0.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
724
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
725
+  (0.5ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
726
+  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
727
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]
728
+ SQL (1.0ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-05-03 14:53:12 UTC], ["id", 236740868]]
729
+ SQL (0.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 236740868]]
730
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
731
+  (0.6ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
732
+  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
733
+ BitCore::ContentProvider Load (1.2ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."source_content_id" = $1 AND "bit_core_content_providers"."source_content_type" = $2 LIMIT $3 [["source_content_id", 504123193], ["source_content_type", "BitCore::Slideshow"], ["LIMIT", 1]]
734
+ SQL (1.4ms) DELETE FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 [["id", 504123193]]
735
+  (0.3ms) RELEASE SAVEPOINT active_record_1
736
+  (0.7ms) SELECT COUNT(*) FROM "bit_core_slideshows"
737
+  (0.4ms) ROLLBACK
738
+  (0.2ms) BEGIN
739
+ BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
740
+ BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]
741
+  (0.3ms) SAVEPOINT active_record_1
742
+ SQL (0.8ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
743
+ BitCore::Slideshow Load (0.7ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
744
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
745
+  (0.5ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
746
+  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
747
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]]
748
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]
749
+ SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:53:12 UTC], ["id", 236740868]]
750
+  (0.3ms) RELEASE SAVEPOINT active_record_1
751
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]]
752
+  (0.5ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
753
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]]
754
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 538050605], ["LIMIT", 1]]
755
+ BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]]
756
+ BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 OFFSET $3 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1], ["OFFSET", 1]]
757
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 236740868], ["LIMIT", 1]]
758
+ BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 OFFSET $3 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1], ["OFFSET", 1]]
759
+  (0.3ms) ROLLBACK
760
+  (0.2ms) BEGIN
761
+ BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
762
+  (0.8ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
763
+ BitCore::Slide Exists (1.0ms) SELECT 1 AS one FROM "bit_core_slides" WHERE "bit_core_slides"."position" = $1 AND "bit_core_slides"."bit_core_slideshow_id" = $2 LIMIT $3 [["position", 4], ["bit_core_slideshow_id", 504123193], ["LIMIT", 1]]
764
+  (0.4ms) ROLLBACK
765
+  (0.3ms) BEGIN
766
+ BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 538050605], ["LIMIT", 1]]
767
+ BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]
768
+ BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 236740868], ["LIMIT", 1]]
769
+ BitCore::Slideshow Load (0.2ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
770
+  (0.2ms) SAVEPOINT active_record_1
771
+  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
772
+ BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]
773
+ SQL (0.7ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-05-03 14:53:12 UTC], ["id", 236740868]]
774
+ BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]]
775
+ SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:53:12 UTC], ["id", 538050605]]
776
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]]
777
+ SQL (0.9ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 3], ["updated_at", 2016-05-03 14:53:12 UTC], ["id", 958091673]]
778
+  (0.2ms) RELEASE SAVEPOINT active_record_1
779
+ BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]]
780
+ BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]]
781
+ BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]
782
+  (0.3ms) ROLLBACK
783
+  (0.2ms) BEGIN
784
+ BitCore::ContentProvider Exists (1.3ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]
785
+ BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]
786
+  (0.3ms) ROLLBACK
787
+  (0.2ms) BEGIN
788
+ BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]
789
+ BitCore::ContentProvider Exists (0.7ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]
790
+  (0.2ms) ROLLBACK
791
+  (0.2ms) BEGIN
792
+ BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]
793
+ BitCore::ContentProvider Exists (0.7ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]
794
+  (0.2ms) ROLLBACK
795
+  (0.2ms) BEGIN
796
+  (1.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL
797
+  (0.6ms) COMMIT
798
+  (0.3ms) BEGIN
799
+ Fixture Delete (0.7ms) DELETE FROM "bit_core_tools"
800
+ Fixture Insert (0.4ms) INSERT INTO "bit_core_tools" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Home', '2016-05-03 14:53:12.765948', '2016-05-03 14:53:12.765948', 836111569, 874964629)
801
+ Fixture Delete (0.7ms) DELETE FROM "bit_core_content_modules"
802
+ Fixture Insert (0.4ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('Landing', 1, '2016-05-03 14:53:12.776484', '2016-05-03 14:53:12.776484', 437912910, 836111569)
803
+ Fixture Insert (0.4ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('But wait, there''s more', 2, '2016-05-03 14:53:12.776484', '2016-05-03 14:53:12.776484', 511237275, 836111569)
804
+ Fixture Delete (0.6ms) DELETE FROM "bit_core_content_providers"
805
+ Fixture Insert (0.8ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2016-05-03 14:53:12.789189', '2016-05-03 14:53:12.789189', 555816777, 437912910)
806
+ Fixture Insert (0.4ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2016-05-03 14:53:12.789189', '2016-05-03 14:53:12.789189', 46790607, 511237275)
807
+  (0.5ms) COMMIT
808
+  (0.1ms) BEGIN
809
+  (1.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL
810
+  (0.5ms) COMMIT
811
+  (0.2ms) BEGIN
812
+ BitCore::ContentModule Load (0.9ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT $2 [["id", 437912910], ["LIMIT", 1]]
813
+ BitCore::ContentProvider Load (0.9ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = $2 ORDER BY "bit_core_content_providers"."id" ASC LIMIT $3 [["bit_core_content_module_id", 437912910], ["position", 1], ["LIMIT", 1]]
814
+  (0.3ms) ROLLBACK
815
+  (0.7ms) BEGIN
816
+ BitCore::ContentModule Load (0.6ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT $2 [["id", 437912910], ["LIMIT", 1]]
817
+ BitCore::ContentProvider Load (0.6ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = $2 ORDER BY "bit_core_content_providers"."id" ASC LIMIT $3 [["bit_core_content_module_id", 437912910], ["position", 8], ["LIMIT", 1]]
818
+  (0.2ms) ROLLBACK
819
+  (0.2ms) BEGIN
820
+ BitCore::ContentProvider Exists (1.1ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]
821
+ BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]
822
+  (0.3ms) ROLLBACK
823
+  (0.1ms) BEGIN
824
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]
825
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]
826
+  (0.2ms) ROLLBACK
827
+  (0.1ms) BEGIN
828
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]
829
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]
830
+  (0.2ms) ROLLBACK
831
+  (0.1ms) BEGIN
832
+  (0.3ms) ROLLBACK
833
+  (0.1ms) BEGIN
834
+  (1.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL
835
+  (0.6ms) COMMIT
836
+  (0.2ms) BEGIN
837
+ Fixture Delete (0.6ms) DELETE FROM "bit_core_slideshows"
838
+ Fixture Insert (0.4ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-05-03 14:54:36.265275', '2016-05-03 14:54:36.265275', 504123193, 874964629)
839
+ Fixture Delete (0.7ms) DELETE FROM "bit_core_slides"
840
+ Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-05-03 14:54:36.272602', '2016-05-03 14:54:36.272602', 538050605, 504123193)
841
+ Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-05-03 14:54:36.272602', '2016-05-03 14:54:36.272602', 958091673, 504123193)
842
+ Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-05-03 14:54:36.272602', '2016-05-03 14:54:36.272602', 236740868, 504123193)
843
+  (0.5ms) COMMIT
844
+  (0.1ms) BEGIN
845
+  (1.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL
846
+  (0.5ms) COMMIT
847
+  (0.1ms) BEGIN
848
+  (0.1ms) ROLLBACK
849
+  (0.1ms) BEGIN
850
+  (0.2ms) ROLLBACK
851
+  (0.2ms) BEGIN
852
+  (0.2ms) ROLLBACK
853
+  (0.2ms) BEGIN
854
+ BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
855
+ BitCore::Slide Load (1.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
856
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]
857
+  (0.4ms) SAVEPOINT active_record_1
858
+ SQL (0.6ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
859
+ BitCore::Slideshow Load (0.7ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
860
+ BitCore::Slideshow Load (0.7ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
861
+  (1.0ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
862
+  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
863
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]]
864
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]
865
+ SQL (0.8ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:54:36 UTC], ["id", 236740868]]
866
+  (0.3ms) RELEASE SAVEPOINT active_record_1
867
+ BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
868
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
869
+  (0.3ms) ROLLBACK
870
+  (0.1ms) BEGIN
871
+  (1.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL
872
+  (0.5ms) COMMIT
873
+  (0.3ms) BEGIN
874
+ Fixture Delete (0.7ms) DELETE FROM "bit_core_tools"
875
+ Fixture Insert (0.4ms) INSERT INTO "bit_core_tools" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Home', '2016-05-03 14:54:36.341764', '2016-05-03 14:54:36.341764', 836111569, 874964629)
876
+ Fixture Delete (1.6ms) DELETE FROM "bit_core_content_modules"
877
+ Fixture Insert (0.7ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('Landing', 1, '2016-05-03 14:54:36.352594', '2016-05-03 14:54:36.352594', 437912910, 836111569)
878
+ Fixture Insert (0.5ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('But wait, there''s more', 2, '2016-05-03 14:54:36.352594', '2016-05-03 14:54:36.352594', 511237275, 836111569)
879
+ Fixture Delete (0.5ms) DELETE FROM "bit_core_content_providers"
880
+ Fixture Insert (0.4ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2016-05-03 14:54:36.370932', '2016-05-03 14:54:36.370932', 555816777, 437912910)
881
+ Fixture Insert (0.3ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2016-05-03 14:54:36.370932', '2016-05-03 14:54:36.370932', 46790607, 511237275)
882
+  (0.5ms) COMMIT
883
+  (0.1ms) BEGIN
884
+  (1.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL
885
+  (0.4ms) COMMIT
886
+  (0.1ms) BEGIN
887
+ BitCore::ContentModule Load (0.5ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT $2 [["id", 437912910], ["LIMIT", 1]]
888
+ BitCore::ContentProvider Load (0.7ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = $2 ORDER BY "bit_core_content_providers"."id" ASC LIMIT $3 [["bit_core_content_module_id", 437912910], ["position", 1], ["LIMIT", 1]]
889
+  (0.3ms) ROLLBACK
890
+  (0.2ms) BEGIN
891
+ BitCore::ContentModule Load (0.4ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT $2 [["id", 437912910], ["LIMIT", 1]]
892
+ BitCore::ContentProvider Load (0.5ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = $2 ORDER BY "bit_core_content_providers"."id" ASC LIMIT $3 [["bit_core_content_module_id", 437912910], ["position", 8], ["LIMIT", 1]]
893
+  (0.2ms) ROLLBACK
894
+  (0.1ms) BEGIN
895
+ BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
896
+  (0.8ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
897
+  (0.5ms) SELECT COUNT(*) FROM "bit_core_slideshows"
898
+  (0.2ms) SAVEPOINT active_record_1
899
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
900
+ SQL (0.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 538050605]]
901
+ BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
902
+  (0.5ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
903
+  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
904
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]]
905
+ SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-05-03 14:54:36 UTC], ["id", 958091673]]
906
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]
907
+ SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:54:36 UTC], ["id", 236740868]]
908
+ SQL (0.4ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
909
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
910
+  (0.5ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
911
+  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
912
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]
913
+ SQL (0.9ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-05-03 14:54:36 UTC], ["id", 236740868]]
914
+ SQL (0.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 236740868]]
915
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
916
+  (0.5ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
917
+  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
918
+ BitCore::ContentProvider Load (0.6ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."source_content_id" = $1 AND "bit_core_content_providers"."source_content_type" = $2 LIMIT $3 [["source_content_id", 504123193], ["source_content_type", "BitCore::Slideshow"], ["LIMIT", 1]]
919
+ SQL (1.6ms) DELETE FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 [["id", 504123193]]
920
+  (0.3ms) RELEASE SAVEPOINT active_record_1
921
+  (0.5ms) SELECT COUNT(*) FROM "bit_core_slideshows"
922
+  (0.4ms) ROLLBACK
923
+  (0.2ms) BEGIN
924
+ BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 538050605], ["LIMIT", 1]]
925
+ BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]
926
+ BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 236740868], ["LIMIT", 1]]
927
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
928
+  (0.2ms) SAVEPOINT active_record_1
929
+  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
930
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]
931
+ SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-05-03 14:54:36 UTC], ["id", 236740868]]
932
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]]
933
+ SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:54:36 UTC], ["id", 538050605]]
934
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]]
935
+ SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 3], ["updated_at", 2016-05-03 14:54:36 UTC], ["id", 958091673]]
936
+  (0.2ms) RELEASE SAVEPOINT active_record_1
937
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]]
938
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]]
939
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]
940
+  (0.2ms) ROLLBACK
941
+  (0.2ms) BEGIN
942
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
943
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]
944
+  (0.2ms) SAVEPOINT active_record_1
945
+ SQL (0.4ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
946
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
947
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]
948
+  (0.6ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]
949
+  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
950
+ BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]]
951
+ BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]
952
+ SQL (0.7ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:54:36 UTC], ["id", 236740868]]
953
+  (0.3ms) RELEASE SAVEPOINT active_record_1
954
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT $2 [["bit_core