zencodable 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -23,10 +23,12 @@ _developed on ruby 1.9.2-p290 and Rails 3.1.3_
23
23
 
24
24
  2. A working Amazon S3 account with a shiny new bucket ready to receive video files.
25
25
 
26
- 3. this gem (zencodable) in your gemfile, and typhoeus.
26
+ 3. this gem (zencodable) in your gemfile, and [typhoeus](https://github.com/dbalatero/typhoeus).
27
27
 
28
+ ```ruby
28
29
  gem 'zencodable'
29
30
  gem 'typhoeus' # NOTE: for heroku deploys, pin to 0.2.4 https://github.com/dbalatero/typhoeus/issues/123
31
+ ```
30
32
 
31
33
  # Setup
32
34
 
@@ -38,9 +40,9 @@ So, I like something in `config/initializers/zencoder.rb` like
38
40
 
39
41
  # zencoder setup
40
42
  if Rails.env == 'production'
41
- Zencoder.api_key = 'therealdealkey00000000000000000'
43
+ Zencoder.api_key = 'yourproductionkey'
42
44
  else
43
- Zencoder.api_key = 'keyfortestingonly00000000000000'
45
+ Zencoder.api_key = 'keyfortestingacct'
44
46
  end
45
47
 
46
48
  Zencoder::HTTP.http_backend = Zencoder::HTTP::Typhoeus
@@ -55,11 +57,11 @@ The bucket needs to have a custom policy to allow Zencoder to place the output v
55
57
 
56
58
  ## Run the generator
57
59
 
58
- rails g zencodable:migrations <Model> <association_name>
60
+ rails generate zencodable:migration <Model> <association_name>
59
61
 
60
62
  e.g.,
61
63
 
62
- rails g zencodable:migrations KittehVideo kitteh_video_files
64
+ rails generate zencodable:migration KittehVideo kitteh_video_files
63
65
 
64
66
  This will actually create two `has_many` associations for your model - the `kitteh_video_files` for the output files themselves (one for each format), and the `kitteh_video_file_thumbnails` for the framegrab thumbnails that Zencoder can create (if configured).
65
67
 
@@ -78,15 +80,19 @@ The options should include a `:s3_config` key that gives a location of a YAML fi
78
80
  `:formats` is a list of output formats you'd like. [Supported formats and codecs](https://app.zencoder.com/docs/api/encoding/format-and-codecs/format)
79
81
 
80
82
  The `:path` is the path within the bucket where the output files should be placed. It can contain one or more `:some_method` tokens, which will be replaced with the (String) results of calling the given method on your record. _i.e._, given
83
+
81
84
  ```ruby
82
85
  class Video < ActiveRecord::Base
83
- has_video_encodings :video_files, :path => 'some/path/on/s3/:project_id/:slug'
86
+ has_video_encodings :video_files, :path => 'some/path/:project_id/:slug'
84
87
 
85
88
  def project_id; project.id.to_s; end
86
89
  def slug; title.to_slug; end
87
90
  end
88
91
  ```
89
- the paths within your S3 bucket will look like `/some/path/on/s3/12493/lion-eats-kitteh/`. (the individual file/object names will be based on a sanitized version of the original file name)
92
+
93
+ the paths within your S3 bucket will look like `/some/path/12493/lion-eats-kitteh/`.
94
+
95
+ The individual object names will be based on a sanitized version of the original file name - all non-alphanumerics are removed.
90
96
 
91
97
  The other options are all those that can be handled by Zencoder. More info can be found on [:thumbnails](https://app.zencoder.com/docs/api/encoding/thumbnails), [:output_dimensions](https://app.zencoder.com/docs/api/encoding/resolution/size) and other output settings [:options](https://app.zencoder.com/docs/api/encoding)
92
98
 
@@ -1,3 +1,3 @@
1
1
  module Zencodable
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
@@ -1,4706 +1 @@
1
- # Logfile created on 2011-11-30 15:24:56 -0500 by logger.rb/25413
2
-  (0.1ms) SAVEPOINT active_record_1
3
- SQL (22.8ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:33:37 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:33:37 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
4
-  (0.1ms) RELEASE SAVEPOINT active_record_1
5
- Unfinished job found. Updating details.
6
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
7
-  (0.1ms) SAVEPOINT active_record_1
8
-  (0.0ms) RELEASE SAVEPOINT active_record_1
9
- VideoThumbnail Load (0.2ms) SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
10
-  (0.1ms) SAVEPOINT active_record_1
11
-  (0.1ms) RELEASE SAVEPOINT active_record_1
12
-  (0.0ms) SAVEPOINT active_record_1
13
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-11-30 20:33:37.847592' WHERE "videos"."id" = 1
14
-  (0.1ms) RELEASE SAVEPOINT active_record_1
15
-  (0.1ms) SAVEPOINT active_record_1
16
- SQL (22.8ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:34:35 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:34:35 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
17
-  (0.1ms) RELEASE SAVEPOINT active_record_1
18
-  (0.1ms) SAVEPOINT active_record_1
19
- SQL (0.8ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:34:35 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:34:35 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
20
-  (0.1ms) RELEASE SAVEPOINT active_record_1
21
- Unfinished job found. Updating details.
22
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
23
-  (0.1ms) SAVEPOINT active_record_1
24
-  (0.0ms) RELEASE SAVEPOINT active_record_1
25
- VideoThumbnail Load (0.2ms) SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
26
-  (0.1ms) SAVEPOINT active_record_1
27
-  (0.0ms) RELEASE SAVEPOINT active_record_1
28
-  (0.1ms) SAVEPOINT active_record_1
29
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-11-30 20:34:35.637121' WHERE "videos"."id" = 1
30
-  (0.1ms) RELEASE SAVEPOINT active_record_1
31
-  (0.1ms) SAVEPOINT active_record_1
32
- SQL (22.5ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:35:22 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:35:22 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
33
-  (0.1ms) RELEASE SAVEPOINT active_record_1
34
-  (0.1ms) SAVEPOINT active_record_1
35
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:35:22 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:35:22 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
36
-  (0.1ms) RELEASE SAVEPOINT active_record_1
37
- Unfinished job found. Updating details.
38
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
39
-  (0.1ms) SAVEPOINT active_record_1
40
-  (0.0ms) RELEASE SAVEPOINT active_record_1
41
- VideoThumbnail Load (0.2ms) SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
42
-  (0.1ms) SAVEPOINT active_record_1
43
-  (0.0ms) RELEASE SAVEPOINT active_record_1
44
-  (0.0ms) SAVEPOINT active_record_1
45
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-11-30 20:35:22.571670' WHERE "videos"."id" = 1
46
-  (0.1ms) RELEASE SAVEPOINT active_record_1
47
-  (0.1ms) SAVEPOINT active_record_1
48
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:35:22 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:35:22 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
49
-  (0.1ms) RELEASE SAVEPOINT active_record_1
50
- Unfinished job found. Updating details.
51
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
52
-  (0.1ms) SAVEPOINT active_record_1
53
- SQL (1.4ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:35:22 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Wed, 30 Nov 2011 20:35:22 UTC +00:00], ["url", "http://s3.com/1/2/3.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
54
-  (0.1ms) RELEASE SAVEPOINT active_record_1
55
- VideoThumbnail Load (0.2ms) SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
56
-  (0.1ms) SAVEPOINT active_record_1
57
-  (0.0ms) RELEASE SAVEPOINT active_record_1
58
-  (0.0ms) SAVEPOINT active_record_1
59
-  (0.2ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 20:35:22.601826' WHERE "videos"."id" = 1
60
-  (0.1ms) RELEASE SAVEPOINT active_record_1
61
-  (0.1ms) SAVEPOINT active_record_1
62
- SQL (22.5ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:36:21 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:36:21 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
63
-  (0.1ms) RELEASE SAVEPOINT active_record_1
64
-  (0.1ms) SAVEPOINT active_record_1
65
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:36:21 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:36:21 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
66
-  (0.1ms) RELEASE SAVEPOINT active_record_1
67
- Unfinished job found. Updating details.
68
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
69
-  (0.1ms) SAVEPOINT active_record_1
70
-  (0.0ms) RELEASE SAVEPOINT active_record_1
71
- VideoThumbnail Load (0.2ms) SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
72
-  (0.1ms) SAVEPOINT active_record_1
73
-  (0.0ms) RELEASE SAVEPOINT active_record_1
74
-  (0.0ms) SAVEPOINT active_record_1
75
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-11-30 20:36:22.130316' WHERE "videos"."id" = 1
76
-  (0.1ms) RELEASE SAVEPOINT active_record_1
77
-  (0.1ms) SAVEPOINT active_record_1
78
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:36:22 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:36:22 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
79
-  (0.1ms) RELEASE SAVEPOINT active_record_1
80
- Unfinished job found. Updating details.
81
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
82
-  (0.1ms) SAVEPOINT active_record_1
83
- SQL (1.5ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:36:22 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Wed, 30 Nov 2011 20:36:22 UTC +00:00], ["url", "http://s3.com/1/2/3.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
84
-  (0.1ms) RELEASE SAVEPOINT active_record_1
85
- VideoThumbnail Load (0.2ms) SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
86
-  (0.1ms) SAVEPOINT active_record_1
87
-  (0.0ms) RELEASE SAVEPOINT active_record_1
88
-  (0.0ms) SAVEPOINT active_record_1
89
-  (0.2ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 20:36:22.159952' WHERE "videos"."id" = 1
90
-  (0.1ms) RELEASE SAVEPOINT active_record_1
91
-  (0.1ms) SAVEPOINT active_record_1
92
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:36:22 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:36:22 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
93
-  (0.1ms) RELEASE SAVEPOINT active_record_1
94
- Unfinished job found. Updating details.
95
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
96
-  (0.1ms) SAVEPOINT active_record_1
97
-  (0.0ms) RELEASE SAVEPOINT active_record_1
98
- VideoThumbnail Load (0.2ms) SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
99
-  (0.1ms) SAVEPOINT active_record_1
100
- SQL (0.9ms) INSERT INTO "video_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:36:22 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Wed, 30 Nov 2011 20:36:22 UTC +00:00], ["video_id", 1]]
101
-  (0.1ms) RELEASE SAVEPOINT active_record_1
102
-  (0.0ms) SAVEPOINT active_record_1
103
-  (0.2ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 20:36:22.182765' WHERE "videos"."id" = 1
104
-  (0.1ms) RELEASE SAVEPOINT active_record_1
105
-  (0.1ms) SAVEPOINT active_record_1
106
- SQL (22.8ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:37:24 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:37:24 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
107
-  (0.1ms) RELEASE SAVEPOINT active_record_1
108
-  (0.1ms) SAVEPOINT active_record_1
109
- Origin URL changed. Creating new ZenCoder job.
110
- ZenCoder job ID = 123
111
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-11-30 20:37:24.652316', "updated_at" = '2011-11-30 20:37:24.652619' WHERE "videos"."id" = 1
112
-  (0.1ms) RELEASE SAVEPOINT active_record_1
113
-  (0.1ms) SAVEPOINT active_record_1
114
- SQL (0.8ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:37:24 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:37:24 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
115
-  (0.1ms) RELEASE SAVEPOINT active_record_1
116
-  (0.1ms) SAVEPOINT active_record_1
117
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:37:24 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:37:24 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
118
-  (0.1ms) RELEASE SAVEPOINT active_record_1
119
- Unfinished job found. Updating details.
120
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
121
-  (0.1ms) SAVEPOINT active_record_1
122
-  (0.0ms) RELEASE SAVEPOINT active_record_1
123
- VideoThumbnail Load (0.2ms) SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
124
-  (0.1ms) SAVEPOINT active_record_1
125
-  (0.0ms) RELEASE SAVEPOINT active_record_1
126
-  (0.0ms) SAVEPOINT active_record_1
127
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-11-30 20:37:24.830561' WHERE "videos"."id" = 1
128
-  (0.1ms) RELEASE SAVEPOINT active_record_1
129
-  (0.1ms) SAVEPOINT active_record_1
130
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:37:24 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:37:24 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
131
-  (0.1ms) RELEASE SAVEPOINT active_record_1
132
- Unfinished job found. Updating details.
133
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
134
-  (0.1ms) SAVEPOINT active_record_1
135
- SQL (1.6ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:37:24 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Wed, 30 Nov 2011 20:37:24 UTC +00:00], ["url", "http://s3.com/1/2/3.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
136
-  (0.1ms) RELEASE SAVEPOINT active_record_1
137
- VideoThumbnail Load (0.2ms) SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
138
-  (0.1ms) SAVEPOINT active_record_1
139
-  (0.0ms) RELEASE SAVEPOINT active_record_1
140
-  (0.0ms) SAVEPOINT active_record_1
141
-  (0.2ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 20:37:24.859649' WHERE "videos"."id" = 1
142
-  (0.1ms) RELEASE SAVEPOINT active_record_1
143
-  (0.1ms) SAVEPOINT active_record_1
144
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:37:24 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:37:24 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
145
-  (0.1ms) RELEASE SAVEPOINT active_record_1
146
- Unfinished job found. Updating details.
147
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
148
-  (0.1ms) SAVEPOINT active_record_1
149
-  (0.0ms) RELEASE SAVEPOINT active_record_1
150
- VideoThumbnail Load (0.2ms) SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
151
-  (0.1ms) SAVEPOINT active_record_1
152
- SQL (0.8ms) INSERT INTO "video_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:37:24 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Wed, 30 Nov 2011 20:37:24 UTC +00:00], ["video_id", 1]]
153
-  (0.1ms) RELEASE SAVEPOINT active_record_1
154
-  (0.0ms) SAVEPOINT active_record_1
155
-  (0.2ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 20:37:24.882473' WHERE "videos"."id" = 1
156
-  (0.1ms) RELEASE SAVEPOINT active_record_1
157
-  (0.1ms) SAVEPOINT active_record_1
158
- SQL (22.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:39:12 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:39:12 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
159
-  (0.1ms) RELEASE SAVEPOINT active_record_1
160
-  (0.0ms) SAVEPOINT active_record_1
161
- Origin URL changed. Creating new ZenCoder job.
162
- ZenCoder job ID = 123
163
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-11-30 20:39:13.006348', "updated_at" = '2011-11-30 20:39:13.006641' WHERE "videos"."id" = 1
164
-  (0.1ms) RELEASE SAVEPOINT active_record_1
165
-  (0.1ms) SAVEPOINT active_record_1
166
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:39:13 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:39:13 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
167
-  (0.1ms) RELEASE SAVEPOINT active_record_1
168
-  (0.0ms) SAVEPOINT active_record_1
169
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:39:13 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:39:13 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
170
-  (0.1ms) RELEASE SAVEPOINT active_record_1
171
-  (0.1ms) SAVEPOINT active_record_1
172
- SQL (0.8ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:39:13 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 20:39:13 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
173
-  (0.1ms) RELEASE SAVEPOINT active_record_1
174
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
175
-  (0.1ms) SAVEPOINT active_record_1
176
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:39:13 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:39:13 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
177
-  (0.1ms) RELEASE SAVEPOINT active_record_1
178
- Unfinished job found. Updating details.
179
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
180
-  (0.1ms) SAVEPOINT active_record_1
181
-  (0.0ms) RELEASE SAVEPOINT active_record_1
182
- VideoThumbnail Load (0.2ms) SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
183
-  (0.1ms) SAVEPOINT active_record_1
184
-  (0.0ms) RELEASE SAVEPOINT active_record_1
185
-  (0.0ms) SAVEPOINT active_record_1
186
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-11-30 20:39:13.239584' WHERE "videos"."id" = 1
187
-  (0.1ms) RELEASE SAVEPOINT active_record_1
188
-  (0.1ms) SAVEPOINT active_record_1
189
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:39:13 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:39:13 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
190
-  (0.1ms) RELEASE SAVEPOINT active_record_1
191
- Unfinished job found. Updating details.
192
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
193
-  (0.1ms) SAVEPOINT active_record_1
194
- SQL (1.3ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:39:13 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Wed, 30 Nov 2011 20:39:13 UTC +00:00], ["url", "http://s3.com/1/2/3.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
195
-  (0.1ms) RELEASE SAVEPOINT active_record_1
196
- VideoThumbnail Load (0.2ms) SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
197
-  (0.0ms) SAVEPOINT active_record_1
198
-  (0.0ms) RELEASE SAVEPOINT active_record_1
199
-  (0.0ms) SAVEPOINT active_record_1
200
-  (0.2ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 20:39:13.253251' WHERE "videos"."id" = 1
201
-  (0.1ms) RELEASE SAVEPOINT active_record_1
202
-  (0.1ms) SAVEPOINT active_record_1
203
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:39:13 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:39:13 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
204
-  (0.1ms) RELEASE SAVEPOINT active_record_1
205
- Unfinished job found. Updating details.
206
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
207
-  (0.1ms) SAVEPOINT active_record_1
208
-  (0.0ms) RELEASE SAVEPOINT active_record_1
209
- VideoThumbnail Load (0.2ms) SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
210
-  (0.1ms) SAVEPOINT active_record_1
211
- SQL (0.8ms) INSERT INTO "video_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:39:13 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Wed, 30 Nov 2011 20:39:13 UTC +00:00], ["video_id", 1]]
212
-  (0.1ms) RELEASE SAVEPOINT active_record_1
213
-  (0.0ms) SAVEPOINT active_record_1
214
-  (0.2ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 20:39:13.276030' WHERE "videos"."id" = 1
215
-  (0.1ms) RELEASE SAVEPOINT active_record_1
216
-  (0.1ms) SAVEPOINT active_record_1
217
- SQL (23.1ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
218
-  (0.1ms) RELEASE SAVEPOINT active_record_1
219
-  (0.0ms) SAVEPOINT active_record_1
220
- Origin URL changed. Creating new ZenCoder job.
221
- ZenCoder job ID = 123
222
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-11-30 20:56:05.531568', "updated_at" = '2011-11-30 20:56:05.531872' WHERE "videos"."id" = 1
223
-  (0.1ms) RELEASE SAVEPOINT active_record_1
224
-  (0.1ms) SAVEPOINT active_record_1
225
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
226
-  (0.1ms) RELEASE SAVEPOINT active_record_1
227
-  (0.0ms) SAVEPOINT active_record_1
228
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
229
-  (0.1ms) RELEASE SAVEPOINT active_record_1
230
-  (0.1ms) SAVEPOINT active_record_1
231
- SQL (0.8ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
232
-  (0.1ms) RELEASE SAVEPOINT active_record_1
233
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
234
-  (0.1ms) SAVEPOINT active_record_1
235
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
236
-  (0.1ms) RELEASE SAVEPOINT active_record_1
237
- Unfinished job found. Updating details.
238
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
239
-  (0.1ms) SAVEPOINT active_record_1
240
-  (0.0ms) RELEASE SAVEPOINT active_record_1
241
- VideoThumbnail Load (0.2ms) SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
242
-  (0.1ms) SAVEPOINT active_record_1
243
-  (0.0ms) RELEASE SAVEPOINT active_record_1
244
-  (0.0ms) SAVEPOINT active_record_1
245
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-11-30 20:56:05.765700' WHERE "videos"."id" = 1
246
-  (0.1ms) RELEASE SAVEPOINT active_record_1
247
-  (0.1ms) SAVEPOINT active_record_1
248
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
249
-  (0.1ms) RELEASE SAVEPOINT active_record_1
250
- Unfinished job found. Updating details.
251
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
252
-  (0.1ms) SAVEPOINT active_record_1
253
- SQL (1.3ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["url", "http://s3.com/1/2/3.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
254
-  (0.1ms) RELEASE SAVEPOINT active_record_1
255
- VideoThumbnail Load (0.2ms) SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
256
-  (0.0ms) SAVEPOINT active_record_1
257
-  (0.0ms) RELEASE SAVEPOINT active_record_1
258
-  (0.0ms) SAVEPOINT active_record_1
259
-  (0.2ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 20:56:05.779236' WHERE "videos"."id" = 1
260
-  (0.1ms) RELEASE SAVEPOINT active_record_1
261
-  (0.1ms) SAVEPOINT active_record_1
262
- SQL (0.8ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
263
-  (0.1ms) RELEASE SAVEPOINT active_record_1
264
- Unfinished job found. Updating details.
265
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
266
-  (0.0ms) SAVEPOINT active_record_1
267
-  (0.0ms) RELEASE SAVEPOINT active_record_1
268
- VideoThumbnail Load (0.2ms) SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
269
-  (0.1ms) SAVEPOINT active_record_1
270
- SQL (0.9ms) INSERT INTO "video_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Wed, 30 Nov 2011 20:56:05 UTC +00:00], ["video_id", 1]]
271
-  (0.1ms) RELEASE SAVEPOINT active_record_1
272
-  (0.0ms) SAVEPOINT active_record_1
273
-  (0.2ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 20:56:05.801816' WHERE "videos"."id" = 1
274
-  (0.1ms) RELEASE SAVEPOINT active_record_1
275
-  (0.1ms) SAVEPOINT active_record_1
276
- SQL (22.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:05:07 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:05:07 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
277
-  (0.1ms) RELEASE SAVEPOINT active_record_1
278
-  (0.0ms) SAVEPOINT active_record_1
279
- Origin URL changed. Creating new ZenCoder job.
280
- ZenCoder job ID = 123
281
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-11-30 21:05:07.945859', "updated_at" = '2011-11-30 21:05:07.946154' WHERE "videos"."id" = 1
282
-  (0.1ms) RELEASE SAVEPOINT active_record_1
283
-  (0.1ms) SAVEPOINT active_record_1
284
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:05:07 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:05:07 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
285
-  (0.1ms) RELEASE SAVEPOINT active_record_1
286
-  (0.0ms) SAVEPOINT active_record_1
287
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:05:07 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:05:07 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
288
-  (0.1ms) RELEASE SAVEPOINT active_record_1
289
-  (0.1ms) SAVEPOINT active_record_1
290
- SQL (0.8ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:05:08 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 21:05:08 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
291
-  (0.1ms) RELEASE SAVEPOINT active_record_1
292
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
293
-  (0.1ms) SAVEPOINT active_record_1
294
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:05:08 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:05:08 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
295
-  (0.1ms) RELEASE SAVEPOINT active_record_1
296
- Unfinished job found. Updating details.
297
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
298
-  (0.1ms) SAVEPOINT active_record_1
299
-  (0.0ms) RELEASE SAVEPOINT active_record_1
300
- VideoThumbnail Load (0.2ms) SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
301
-  (0.1ms) SAVEPOINT active_record_1
302
-  (0.0ms) RELEASE SAVEPOINT active_record_1
303
-  (0.0ms) SAVEPOINT active_record_1
304
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-11-30 21:05:08.179059' WHERE "videos"."id" = 1
305
-  (0.1ms) RELEASE SAVEPOINT active_record_1
306
-  (0.1ms) SAVEPOINT active_record_1
307
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:05:08 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:05:08 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
308
-  (0.1ms) RELEASE SAVEPOINT active_record_1
309
- Unfinished job found. Updating details.
310
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
311
-  (0.1ms) SAVEPOINT active_record_1
312
- SQL (1.3ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:05:08 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Wed, 30 Nov 2011 21:05:08 UTC +00:00], ["url", "http://s3.com/1/2/3.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
313
-  (0.1ms) RELEASE SAVEPOINT active_record_1
314
- VideoThumbnail Load (0.2ms) SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
315
-  (0.1ms) SAVEPOINT active_record_1
316
-  (0.0ms) RELEASE SAVEPOINT active_record_1
317
-  (0.0ms) SAVEPOINT active_record_1
318
-  (0.2ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 21:05:08.192621' WHERE "videos"."id" = 1
319
-  (0.1ms) RELEASE SAVEPOINT active_record_1
320
-  (0.1ms) SAVEPOINT active_record_1
321
- SQL (0.8ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:05:08 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:05:08 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
322
-  (0.1ms) RELEASE SAVEPOINT active_record_1
323
- Unfinished job found. Updating details.
324
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
325
-  (0.1ms) SAVEPOINT active_record_1
326
-  (0.0ms) RELEASE SAVEPOINT active_record_1
327
- VideoThumbnail Load (0.2ms) SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
328
-  (0.1ms) SAVEPOINT active_record_1
329
- SQL (0.9ms) INSERT INTO "video_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:05:08 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Wed, 30 Nov 2011 21:05:08 UTC +00:00], ["video_id", 1]]
330
-  (0.1ms) RELEASE SAVEPOINT active_record_1
331
-  (0.0ms) SAVEPOINT active_record_1
332
-  (0.2ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 21:05:08.215366' WHERE "videos"."id" = 1
333
-  (0.1ms) RELEASE SAVEPOINT active_record_1
334
-  (0.1ms) SAVEPOINT active_record_1
335
- SQL (22.7ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
336
-  (0.1ms) RELEASE SAVEPOINT active_record_1
337
-  (0.0ms) SAVEPOINT active_record_1
338
- Origin URL changed. Creating new ZenCoder job.
339
- ZenCoder job ID = 123
340
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-11-30 21:12:50.488564', "updated_at" = '2011-11-30 21:12:50.488870' WHERE "videos"."id" = 1
341
-  (0.1ms) RELEASE SAVEPOINT active_record_1
342
-  (0.1ms) SAVEPOINT active_record_1
343
- SQL (0.8ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
344
-  (0.1ms) RELEASE SAVEPOINT active_record_1
345
-  (0.0ms) SAVEPOINT active_record_1
346
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
347
-  (0.1ms) RELEASE SAVEPOINT active_record_1
348
-  (0.1ms) SAVEPOINT active_record_1
349
- SQL (0.8ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
350
-  (0.1ms) RELEASE SAVEPOINT active_record_1
351
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
352
-  (0.1ms) SAVEPOINT active_record_1
353
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
354
-  (0.1ms) RELEASE SAVEPOINT active_record_1
355
- Unfinished job found. Updating details.
356
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
357
-  (0.1ms) SAVEPOINT active_record_1
358
-  (0.0ms) RELEASE SAVEPOINT active_record_1
359
- VideoThumbnail Load (0.2ms) SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
360
-  (0.1ms) SAVEPOINT active_record_1
361
-  (0.0ms) RELEASE SAVEPOINT active_record_1
362
-  (0.0ms) SAVEPOINT active_record_1
363
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-11-30 21:12:50.720713' WHERE "videos"."id" = 1
364
-  (0.1ms) RELEASE SAVEPOINT active_record_1
365
-  (0.1ms) SAVEPOINT active_record_1
366
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
367
-  (0.1ms) RELEASE SAVEPOINT active_record_1
368
- Unfinished job found. Updating details.
369
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
370
-  (0.1ms) SAVEPOINT active_record_1
371
- SQL (1.3ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["url", "http://s3.com/1/2/3.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
372
-  (0.1ms) RELEASE SAVEPOINT active_record_1
373
- VideoThumbnail Load (0.2ms) SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
374
-  (0.1ms) SAVEPOINT active_record_1
375
-  (0.0ms) RELEASE SAVEPOINT active_record_1
376
-  (0.0ms) SAVEPOINT active_record_1
377
-  (0.2ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 21:12:50.734580' WHERE "videos"."id" = 1
378
-  (0.1ms) RELEASE SAVEPOINT active_record_1
379
-  (0.1ms) SAVEPOINT active_record_1
380
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
381
-  (0.1ms) RELEASE SAVEPOINT active_record_1
382
- Unfinished job found. Updating details.
383
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
384
-  (0.1ms) SAVEPOINT active_record_1
385
-  (0.0ms) RELEASE SAVEPOINT active_record_1
386
- VideoThumbnail Load (0.2ms) SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
387
-  (0.1ms) SAVEPOINT active_record_1
388
- SQL (0.9ms) INSERT INTO "video_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Wed, 30 Nov 2011 21:12:50 UTC +00:00], ["video_id", 1]]
389
-  (0.1ms) RELEASE SAVEPOINT active_record_1
390
-  (0.0ms) SAVEPOINT active_record_1
391
-  (0.2ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 21:12:50.757334' WHERE "videos"."id" = 1
392
-  (0.1ms) RELEASE SAVEPOINT active_record_1
393
-  (0.1ms) SAVEPOINT active_record_1
394
- SQL (22.7ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
395
-  (0.1ms) RELEASE SAVEPOINT active_record_1
396
-  (0.0ms) SAVEPOINT active_record_1
397
- Origin URL changed. Creating new ZenCoder job.
398
- ZenCoder job ID = 123
399
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-11-30 21:25:42.089983', "updated_at" = '2011-11-30 21:25:42.090294' WHERE "videos"."id" = 1
400
-  (0.1ms) RELEASE SAVEPOINT active_record_1
401
-  (0.1ms) SAVEPOINT active_record_1
402
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
403
-  (0.1ms) RELEASE SAVEPOINT active_record_1
404
-  (0.0ms) SAVEPOINT active_record_1
405
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
406
-  (0.1ms) RELEASE SAVEPOINT active_record_1
407
-  (0.1ms) SAVEPOINT active_record_1
408
- SQL (0.8ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
409
-  (0.1ms) RELEASE SAVEPOINT active_record_1
410
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
411
-  (0.1ms) SAVEPOINT active_record_1
412
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
413
-  (0.1ms) RELEASE SAVEPOINT active_record_1
414
- Unfinished job found. Updating details.
415
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
416
-  (0.1ms) SAVEPOINT active_record_1
417
-  (0.0ms) RELEASE SAVEPOINT active_record_1
418
- VideoThumbnail Load (0.2ms) SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
419
-  (0.1ms) SAVEPOINT active_record_1
420
-  (0.0ms) RELEASE SAVEPOINT active_record_1
421
-  (0.0ms) SAVEPOINT active_record_1
422
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-11-30 21:25:42.321993' WHERE "videos"."id" = 1
423
-  (0.1ms) RELEASE SAVEPOINT active_record_1
424
-  (0.1ms) SAVEPOINT active_record_1
425
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
426
-  (0.1ms) RELEASE SAVEPOINT active_record_1
427
- Unfinished job found. Updating details.
428
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
429
-  (0.1ms) SAVEPOINT active_record_1
430
- SQL (1.3ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["url", "http://s3.com/1/2/3.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
431
-  (0.1ms) RELEASE SAVEPOINT active_record_1
432
- VideoThumbnail Load (0.2ms) SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
433
-  (0.0ms) SAVEPOINT active_record_1
434
-  (0.0ms) RELEASE SAVEPOINT active_record_1
435
-  (0.0ms) SAVEPOINT active_record_1
436
-  (0.2ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 21:25:42.335633' WHERE "videos"."id" = 1
437
-  (0.1ms) RELEASE SAVEPOINT active_record_1
438
-  (0.1ms) SAVEPOINT active_record_1
439
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
440
-  (0.1ms) RELEASE SAVEPOINT active_record_1
441
- Unfinished job found. Updating details.
442
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
443
-  (0.0ms) SAVEPOINT active_record_1
444
-  (0.0ms) RELEASE SAVEPOINT active_record_1
445
- VideoThumbnail Load (0.2ms) SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
446
-  (0.1ms) SAVEPOINT active_record_1
447
- SQL (0.9ms) INSERT INTO "video_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Wed, 30 Nov 2011 21:25:42 UTC +00:00], ["video_id", 1]]
448
-  (0.1ms) RELEASE SAVEPOINT active_record_1
449
-  (0.0ms) SAVEPOINT active_record_1
450
-  (0.2ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 21:25:42.358268' WHERE "videos"."id" = 1
451
-  (0.1ms) RELEASE SAVEPOINT active_record_1
452
-  (0.1ms) SAVEPOINT active_record_1
453
- SQL (23.0ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:26:11 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:26:11 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
454
-  (0.1ms) RELEASE SAVEPOINT active_record_1
455
-  (0.1ms) SAVEPOINT active_record_1
456
- Origin URL changed. Creating new ZenCoder job.
457
- ZenCoder job ID = 123
458
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-11-30 21:26:11.890359', "updated_at" = '2011-11-30 21:26:11.890659' WHERE "videos"."id" = 1
459
-  (0.1ms) RELEASE SAVEPOINT active_record_1
460
-  (0.1ms) SAVEPOINT active_record_1
461
- SQL (0.8ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:26:11 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:26:11 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
462
-  (0.1ms) RELEASE SAVEPOINT active_record_1
463
-  (0.0ms) SAVEPOINT active_record_1
464
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:26:11 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:26:11 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
465
-  (0.1ms) RELEASE SAVEPOINT active_record_1
466
-  (0.1ms) SAVEPOINT active_record_1
467
- SQL (0.8ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:26:11 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 21:26:11 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
468
-  (0.1ms) RELEASE SAVEPOINT active_record_1
469
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
470
-  (0.1ms) SAVEPOINT active_record_1
471
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:26:12 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:26:12 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
472
-  (0.1ms) RELEASE SAVEPOINT active_record_1
473
- Unfinished job found. Updating details.
474
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
475
-  (0.1ms) SAVEPOINT active_record_1
476
-  (0.0ms) RELEASE SAVEPOINT active_record_1
477
- VideoThumbnail Load (0.2ms) SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
478
-  (0.1ms) SAVEPOINT active_record_1
479
-  (0.0ms) RELEASE SAVEPOINT active_record_1
480
-  (0.0ms) SAVEPOINT active_record_1
481
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-11-30 21:26:12.124123' WHERE "videos"."id" = 1
482
-  (0.1ms) RELEASE SAVEPOINT active_record_1
483
-  (0.1ms) SAVEPOINT active_record_1
484
- SQL (0.8ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:26:12 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:26:12 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
485
-  (0.1ms) RELEASE SAVEPOINT active_record_1
486
- Unfinished job found. Updating details.
487
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
488
-  (0.1ms) SAVEPOINT active_record_1
489
- SQL (1.3ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:26:12 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Wed, 30 Nov 2011 21:26:12 UTC +00:00], ["url", "http://s3.com/1/2/3.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
490
-  (0.1ms) RELEASE SAVEPOINT active_record_1
491
- VideoThumbnail Load (0.2ms) SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
492
-  (0.1ms) SAVEPOINT active_record_1
493
-  (0.0ms) RELEASE SAVEPOINT active_record_1
494
-  (0.0ms) SAVEPOINT active_record_1
495
-  (0.2ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 21:26:12.137660' WHERE "videos"."id" = 1
496
-  (0.1ms) RELEASE SAVEPOINT active_record_1
497
-  (0.1ms) SAVEPOINT active_record_1
498
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:26:12 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:26:12 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
499
-  (0.1ms) RELEASE SAVEPOINT active_record_1
500
- Unfinished job found. Updating details.
501
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
502
-  (0.1ms) SAVEPOINT active_record_1
503
-  (0.0ms) RELEASE SAVEPOINT active_record_1
504
- VideoThumbnail Load (0.2ms) SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
505
-  (0.1ms) SAVEPOINT active_record_1
506
- SQL (0.9ms) INSERT INTO "video_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:26:12 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Wed, 30 Nov 2011 21:26:12 UTC +00:00], ["video_id", 1]]
507
-  (0.1ms) RELEASE SAVEPOINT active_record_1
508
-  (0.0ms) SAVEPOINT active_record_1
509
-  (0.2ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 21:26:12.160294' WHERE "videos"."id" = 1
510
-  (0.1ms) RELEASE SAVEPOINT active_record_1
511
-  (0.1ms) SAVEPOINT active_record_1
512
- SQL (22.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:26:32 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:26:32 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
513
-  (0.1ms) RELEASE SAVEPOINT active_record_1
514
-  (0.0ms) SAVEPOINT active_record_1
515
- Origin URL changed. Creating new ZenCoder job.
516
- ZenCoder job ID = 123
517
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-11-30 21:26:33.004435', "updated_at" = '2011-11-30 21:26:33.004739' WHERE "videos"."id" = 1
518
-  (0.1ms) RELEASE SAVEPOINT active_record_1
519
-  (0.1ms) SAVEPOINT active_record_1
520
- SQL (1.0ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:26:33 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:26:33 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
521
-  (0.1ms) RELEASE SAVEPOINT active_record_1
522
-  (0.0ms) SAVEPOINT active_record_1
523
- SQL (1.0ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:26:33 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:26:33 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
524
-  (0.1ms) RELEASE SAVEPOINT active_record_1
525
-  (0.1ms) SAVEPOINT active_record_1
526
- SQL (0.8ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:26:33 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 21:26:33 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
527
-  (0.1ms) RELEASE SAVEPOINT active_record_1
528
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
529
-  (0.1ms) SAVEPOINT active_record_1
530
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:26:33 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:26:33 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
531
-  (0.1ms) RELEASE SAVEPOINT active_record_1
532
- Unfinished job found. Updating details.
533
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
534
-  (0.1ms) SAVEPOINT active_record_1
535
-  (0.0ms) RELEASE SAVEPOINT active_record_1
536
- VideoThumbnail Load (0.2ms) SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
537
-  (0.1ms) SAVEPOINT active_record_1
538
-  (0.0ms) RELEASE SAVEPOINT active_record_1
539
-  (0.0ms) SAVEPOINT active_record_1
540
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-11-30 21:26:33.238064' WHERE "videos"."id" = 1
541
-  (0.1ms) RELEASE SAVEPOINT active_record_1
542
-  (0.1ms) SAVEPOINT active_record_1
543
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:26:33 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:26:33 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
544
-  (0.1ms) RELEASE SAVEPOINT active_record_1
545
- Unfinished job found. Updating details.
546
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
547
-  (0.1ms) SAVEPOINT active_record_1
548
- SQL (1.3ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:26:33 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Wed, 30 Nov 2011 21:26:33 UTC +00:00], ["url", "http://s3.com/1/2/3.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
549
-  (0.1ms) RELEASE SAVEPOINT active_record_1
550
- VideoThumbnail Load (0.2ms) SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
551
-  (0.0ms) SAVEPOINT active_record_1
552
-  (0.0ms) RELEASE SAVEPOINT active_record_1
553
-  (0.0ms) SAVEPOINT active_record_1
554
-  (0.2ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 21:26:33.251612' WHERE "videos"."id" = 1
555
-  (0.1ms) RELEASE SAVEPOINT active_record_1
556
-  (0.1ms) SAVEPOINT active_record_1
557
- SQL (0.8ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:26:33 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:26:33 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
558
-  (0.1ms) RELEASE SAVEPOINT active_record_1
559
- Unfinished job found. Updating details.
560
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
561
-  (0.1ms) SAVEPOINT active_record_1
562
-  (0.1ms) RELEASE SAVEPOINT active_record_1
563
- VideoThumbnail Load (0.2ms) SELECT "video_thumbnails".* FROM "video_thumbnails" WHERE "video_thumbnails"."video_id" = 1
564
-  (0.1ms) SAVEPOINT active_record_1
565
- SQL (0.9ms) INSERT INTO "video_thumbnails" ("created_at", "thumbnail_content_type", "thumbnail_file_name", "thumbnail_file_size", "thumbnail_updated_at", "updated_at", "video_id") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:26:33 UTC +00:00], ["thumbnail_content_type", "png"], ["thumbnail_file_name", "http://s3.com/1/2/3.png"], ["thumbnail_file_size", nil], ["thumbnail_updated_at", nil], ["updated_at", Wed, 30 Nov 2011 21:26:33 UTC +00:00], ["video_id", 1]]
566
-  (0.1ms) RELEASE SAVEPOINT active_record_1
567
-  (0.0ms) SAVEPOINT active_record_1
568
-  (0.2ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 21:26:33.274171' WHERE "videos"."id" = 1
569
-  (0.1ms) RELEASE SAVEPOINT active_record_1
570
-  (0.1ms) SAVEPOINT active_record_1
571
- SQL (22.8ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:42:28 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:42:28 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
572
-  (0.1ms) RELEASE SAVEPOINT active_record_1
573
-  (0.0ms) SAVEPOINT active_record_1
574
- Origin URL changed. Creating new ZenCoder job.
575
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-11-30 21:42:28.775790', "updated_at" = '2011-11-30 21:42:28.776098' WHERE "videos"."id" = 1
576
-  (0.1ms) RELEASE SAVEPOINT active_record_1
577
-  (0.1ms) SAVEPOINT active_record_1
578
- SQL (0.8ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:42:28 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:42:28 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
579
-  (0.1ms) RELEASE SAVEPOINT active_record_1
580
-  (0.0ms) SAVEPOINT active_record_1
581
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:42:28 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:42:28 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
582
-  (0.1ms) RELEASE SAVEPOINT active_record_1
583
-  (0.1ms) SAVEPOINT active_record_1
584
- SQL (0.8ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:42:28 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 21:42:28 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
585
-  (0.1ms) RELEASE SAVEPOINT active_record_1
586
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
587
-  (0.1ms) SAVEPOINT active_record_1
588
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:42:28 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:42:28 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
589
-  (0.1ms) RELEASE SAVEPOINT active_record_1
590
- Unfinished job found. Updating details.
591
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
592
-  (0.1ms) SAVEPOINT active_record_1
593
-  (0.0ms) RELEASE SAVEPOINT active_record_1
594
-  (0.1ms) SAVEPOINT active_record_1
595
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:42:29 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:42:29 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
596
-  (0.1ms) RELEASE SAVEPOINT active_record_1
597
- Unfinished job found. Updating details.
598
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
599
-  (0.1ms) SAVEPOINT active_record_1
600
- SQL (1.3ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:42:29 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Wed, 30 Nov 2011 21:42:29 UTC +00:00], ["url", "http://s3.com/1/2/3.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
601
-  (0.1ms) RELEASE SAVEPOINT active_record_1
602
-  (0.1ms) SAVEPOINT active_record_1
603
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:42:29 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:42:29 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
604
-  (0.1ms) RELEASE SAVEPOINT active_record_1
605
- Unfinished job found. Updating details.
606
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
607
-  (0.1ms) SAVEPOINT active_record_1
608
-  (0.0ms) RELEASE SAVEPOINT active_record_1
609
-  (0.1ms) SAVEPOINT active_record_1
610
- SQL (23.1ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:46:23 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:46:23 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
611
-  (0.1ms) RELEASE SAVEPOINT active_record_1
612
-  (0.1ms) SAVEPOINT active_record_1
613
- Origin URL changed. Creating new ZenCoder job.
614
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-11-30 21:46:23.784480' WHERE "videos"."id" = 1
615
-  (0.1ms) RELEASE SAVEPOINT active_record_1
616
-  (0.1ms) SAVEPOINT active_record_1
617
- SQL (0.8ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:46:23 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:46:23 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
618
-  (0.1ms) RELEASE SAVEPOINT active_record_1
619
-  (0.0ms) SAVEPOINT active_record_1
620
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:46:23 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:46:23 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
621
-  (0.1ms) RELEASE SAVEPOINT active_record_1
622
-  (0.1ms) SAVEPOINT active_record_1
623
- SQL (0.8ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:46:23 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 21:46:23 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
624
-  (0.1ms) RELEASE SAVEPOINT active_record_1
625
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
626
-  (0.1ms) SAVEPOINT active_record_1
627
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:46:24 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:46:24 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
628
-  (0.1ms) RELEASE SAVEPOINT active_record_1
629
- Unfinished job found. Updating details.
630
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
631
-  (0.1ms) SAVEPOINT active_record_1
632
-  (0.0ms) RELEASE SAVEPOINT active_record_1
633
-  (0.1ms) SAVEPOINT active_record_1
634
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:46:24 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:46:24 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
635
-  (0.1ms) RELEASE SAVEPOINT active_record_1
636
- Unfinished job found. Updating details.
637
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
638
-  (0.1ms) SAVEPOINT active_record_1
639
- SQL (1.3ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:46:24 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Wed, 30 Nov 2011 21:46:24 UTC +00:00], ["url", "http://s3.com/1/2/3.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
640
-  (0.1ms) RELEASE SAVEPOINT active_record_1
641
-  (0.1ms) SAVEPOINT active_record_1
642
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:46:24 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:46:24 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
643
-  (0.1ms) RELEASE SAVEPOINT active_record_1
644
- Unfinished job found. Updating details.
645
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
646
-  (0.1ms) SAVEPOINT active_record_1
647
-  (0.0ms) RELEASE SAVEPOINT active_record_1
648
-  (0.1ms) SAVEPOINT active_record_1
649
- SQL (23.2ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:47:02 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:47:02 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
650
-  (0.1ms) RELEASE SAVEPOINT active_record_1
651
-  (0.0ms) SAVEPOINT active_record_1
652
- Origin URL changed. Creating new ZenCoder job.
653
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-11-30 21:47:02.319072' WHERE "videos"."id" = 1
654
-  (0.1ms) RELEASE SAVEPOINT active_record_1
655
-  (0.1ms) SAVEPOINT active_record_1
656
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:47:02 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:47:02 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
657
-  (0.1ms) RELEASE SAVEPOINT active_record_1
658
-  (0.1ms) SAVEPOINT active_record_1
659
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:47:02 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:47:02 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
660
-  (0.1ms) RELEASE SAVEPOINT active_record_1
661
-  (0.1ms) SAVEPOINT active_record_1
662
- SQL (0.8ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:47:02 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 21:47:02 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
663
-  (0.1ms) RELEASE SAVEPOINT active_record_1
664
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
665
-  (0.1ms) SAVEPOINT active_record_1
666
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:47:02 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:47:02 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
667
-  (0.1ms) RELEASE SAVEPOINT active_record_1
668
- Unfinished job found. Updating details.
669
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
670
-  (0.1ms) SAVEPOINT active_record_1
671
-  (0.0ms) RELEASE SAVEPOINT active_record_1
672
-  (0.1ms) SAVEPOINT active_record_1
673
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:47:02 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:47:02 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
674
-  (0.1ms) RELEASE SAVEPOINT active_record_1
675
- Unfinished job found. Updating details.
676
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
677
-  (0.1ms) SAVEPOINT active_record_1
678
- SQL (1.3ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:47:02 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Wed, 30 Nov 2011 21:47:02 UTC +00:00], ["url", "http://s3.com/1/2/3.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
679
-  (0.1ms) RELEASE SAVEPOINT active_record_1
680
-  (0.1ms) SAVEPOINT active_record_1
681
- SQL (1.3ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 21:47:02 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 21:47:02 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
682
-  (0.1ms) RELEASE SAVEPOINT active_record_1
683
- Unfinished job found. Updating details.
684
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
685
-  (0.1ms) SAVEPOINT active_record_1
686
-  (0.0ms) RELEASE SAVEPOINT active_record_1
687
-  (0.1ms) SAVEPOINT active_record_1
688
- SQL (23.1ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:17:09 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:17:09 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
689
-  (0.1ms) RELEASE SAVEPOINT active_record_1
690
-  (0.0ms) SAVEPOINT active_record_1
691
- Origin URL changed. Creating new ZenCoder job.
692
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-11-30 22:17:09.963192' WHERE "videos"."id" = 1
693
-  (0.1ms) RELEASE SAVEPOINT active_record_1
694
-  (0.1ms) SAVEPOINT active_record_1
695
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:17:09 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:17:09 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
696
-  (0.1ms) RELEASE SAVEPOINT active_record_1
697
-  (0.0ms) SAVEPOINT active_record_1
698
- SQL (1.0ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:17:09 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:17:09 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
699
-  (0.1ms) RELEASE SAVEPOINT active_record_1
700
-  (0.1ms) SAVEPOINT active_record_1
701
- SQL (0.8ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:17:10 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 22:17:10 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
702
-  (0.1ms) RELEASE SAVEPOINT active_record_1
703
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
704
-  (0.1ms) SAVEPOINT active_record_1
705
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:17:10 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:17:10 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
706
-  (0.1ms) RELEASE SAVEPOINT active_record_1
707
- Unfinished job found. Updating details.
708
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
709
-  (0.1ms) SAVEPOINT active_record_1
710
-  (0.0ms) RELEASE SAVEPOINT active_record_1
711
-  (0.1ms) SAVEPOINT active_record_1
712
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:17:10 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:17:10 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
713
-  (0.1ms) RELEASE SAVEPOINT active_record_1
714
- Unfinished job found. Updating details.
715
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
716
-  (0.1ms) SAVEPOINT active_record_1
717
- SQL (1.3ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:17:10 UTC +00:00], ["duration_sec", nil], ["error_message", nil], ["file_size", nil], ["format", "flv"], ["height", nil], ["state", nil], ["updated_at", Wed, 30 Nov 2011 22:17:10 UTC +00:00], ["url", "http://s3.com/1/2/3.flv"], ["video_id", 1], ["width", nil], ["zencoder_file_id", nil]]
718
-  (0.1ms) RELEASE SAVEPOINT active_record_1
719
-  (0.1ms) SAVEPOINT active_record_1
720
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:17:10 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:17:10 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
721
-  (0.1ms) RELEASE SAVEPOINT active_record_1
722
- Unfinished job found. Updating details.
723
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
724
-  (0.1ms) SAVEPOINT active_record_1
725
-  (0.0ms) RELEASE SAVEPOINT active_record_1
726
-  (0.1ms) SAVEPOINT active_record_1
727
- SQL (22.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:17:49 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:17:49 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
728
-  (0.1ms) RELEASE SAVEPOINT active_record_1
729
-  (0.0ms) SAVEPOINT active_record_1
730
- Origin URL changed. Creating new ZenCoder job.
731
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-11-30 22:17:49.910040' WHERE "videos"."id" = 1
732
-  (0.1ms) RELEASE SAVEPOINT active_record_1
733
-  (0.1ms) SAVEPOINT active_record_1
734
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:17:49 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:17:49 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
735
-  (0.1ms) RELEASE SAVEPOINT active_record_1
736
-  (0.0ms) SAVEPOINT active_record_1
737
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:17:49 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:17:49 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
738
-  (0.1ms) RELEASE SAVEPOINT active_record_1
739
-  (0.1ms) SAVEPOINT active_record_1
740
- SQL (0.8ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:17:50 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 22:17:50 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
741
-  (0.1ms) RELEASE SAVEPOINT active_record_1
742
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
743
-  (0.1ms) SAVEPOINT active_record_1
744
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:17:50 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:17:50 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
745
-  (0.1ms) RELEASE SAVEPOINT active_record_1
746
- Unfinished job found. Updating details.
747
-  (0.1ms) SAVEPOINT active_record_1
748
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-11-30 22:17:50.136480' WHERE "videos"."id" = 1
749
-  (0.1ms) RELEASE SAVEPOINT active_record_1
750
-  (0.1ms) SAVEPOINT active_record_1
751
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:17:50 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:17:50 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
752
-  (0.1ms) RELEASE SAVEPOINT active_record_1
753
- Unfinished job found. Updating details.
754
-  (0.1ms) SAVEPOINT active_record_1
755
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 22:17:50.144258' WHERE "videos"."id" = 1
756
-  (0.1ms) RELEASE SAVEPOINT active_record_1
757
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
758
-  (0.1ms) SAVEPOINT active_record_1
759
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:17:50 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:17:50 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
760
-  (0.1ms) RELEASE SAVEPOINT active_record_1
761
- Unfinished job found. Updating details.
762
-  (0.1ms) SAVEPOINT active_record_1
763
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 22:17:50.165688' WHERE "videos"."id" = 1
764
-  (0.1ms) RELEASE SAVEPOINT active_record_1
765
-  (0.1ms) SAVEPOINT active_record_1
766
- SQL (22.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:18:35 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:18:35 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
767
-  (0.1ms) RELEASE SAVEPOINT active_record_1
768
-  (0.0ms) SAVEPOINT active_record_1
769
- Origin URL changed. Creating new ZenCoder job.
770
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-11-30 22:18:35.661133' WHERE "videos"."id" = 1
771
-  (0.1ms) RELEASE SAVEPOINT active_record_1
772
-  (0.1ms) SAVEPOINT active_record_1
773
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:18:35 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:18:35 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
774
-  (0.1ms) RELEASE SAVEPOINT active_record_1
775
-  (0.0ms) SAVEPOINT active_record_1
776
- SQL (1.0ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:18:35 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:18:35 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
777
-  (0.1ms) RELEASE SAVEPOINT active_record_1
778
-  (0.1ms) SAVEPOINT active_record_1
779
- SQL (0.8ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:18:35 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 22:18:35 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
780
-  (0.1ms) RELEASE SAVEPOINT active_record_1
781
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
782
-  (0.1ms) SAVEPOINT active_record_1
783
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:18:35 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:18:35 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
784
-  (0.1ms) RELEASE SAVEPOINT active_record_1
785
- Unfinished job found. Updating details.
786
-  (0.1ms) SAVEPOINT active_record_1
787
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-11-30 22:18:35.887799' WHERE "videos"."id" = 1
788
-  (0.1ms) RELEASE SAVEPOINT active_record_1
789
-  (0.1ms) SAVEPOINT active_record_1
790
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:18:35 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:18:35 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
791
-  (0.1ms) RELEASE SAVEPOINT active_record_1
792
- Unfinished job found. Updating details.
793
-  (0.1ms) SAVEPOINT active_record_1
794
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 22:18:35.895368' WHERE "videos"."id" = 1
795
-  (0.1ms) RELEASE SAVEPOINT active_record_1
796
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
797
-  (0.1ms) SAVEPOINT active_record_1
798
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:18:35 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:18:35 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
799
-  (0.1ms) RELEASE SAVEPOINT active_record_1
800
- Unfinished job found. Updating details.
801
-  (0.1ms) SAVEPOINT active_record_1
802
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 22:18:35.916765' WHERE "videos"."id" = 1
803
-  (0.1ms) RELEASE SAVEPOINT active_record_1
804
-  (0.1ms) SAVEPOINT active_record_1
805
- SQL (22.8ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:27:27 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:27:27 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
806
-  (0.1ms) RELEASE SAVEPOINT active_record_1
807
-  (0.1ms) SAVEPOINT active_record_1
808
- Origin URL changed. Creating new ZenCoder job.
809
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-11-30 22:27:27.243386' WHERE "videos"."id" = 1
810
-  (0.1ms) RELEASE SAVEPOINT active_record_1
811
-  (0.1ms) SAVEPOINT active_record_1
812
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:27:27 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:27:27 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
813
-  (0.1ms) RELEASE SAVEPOINT active_record_1
814
-  (0.0ms) SAVEPOINT active_record_1
815
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:27:27 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:27:27 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
816
-  (0.1ms) RELEASE SAVEPOINT active_record_1
817
-  (0.1ms) SAVEPOINT active_record_1
818
- SQL (0.9ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:27:27 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 22:27:27 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
819
-  (0.1ms) RELEASE SAVEPOINT active_record_1
820
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
821
-  (0.1ms) SAVEPOINT active_record_1
822
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:27:27 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:27:27 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
823
-  (0.1ms) RELEASE SAVEPOINT active_record_1
824
- Unfinished job found. Updating details.
825
-  (0.1ms) SAVEPOINT active_record_1
826
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:27:27 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:27:27 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
827
-  (0.1ms) RELEASE SAVEPOINT active_record_1
828
- Unfinished job found. Updating details.
829
-  (0.1ms) SAVEPOINT active_record_1
830
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:27:27 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:27:27 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
831
-  (0.1ms) RELEASE SAVEPOINT active_record_1
832
- Unfinished job found. Updating details.
833
-  (0.1ms) SAVEPOINT active_record_1
834
- SQL (22.7ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:27:57 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:27:57 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
835
-  (0.1ms) RELEASE SAVEPOINT active_record_1
836
-  (0.0ms) SAVEPOINT active_record_1
837
- Origin URL changed. Creating new ZenCoder job.
838
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-11-30 22:27:57.226071' WHERE "videos"."id" = 1
839
-  (0.1ms) RELEASE SAVEPOINT active_record_1
840
-  (0.1ms) SAVEPOINT active_record_1
841
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:27:57 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:27:57 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
842
-  (0.1ms) RELEASE SAVEPOINT active_record_1
843
-  (0.0ms) SAVEPOINT active_record_1
844
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:27:57 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:27:57 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
845
-  (0.1ms) RELEASE SAVEPOINT active_record_1
846
-  (0.1ms) SAVEPOINT active_record_1
847
- SQL (0.8ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:27:57 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 22:27:57 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
848
-  (0.1ms) RELEASE SAVEPOINT active_record_1
849
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
850
-  (0.1ms) SAVEPOINT active_record_1
851
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:27:57 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:27:57 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
852
-  (0.1ms) RELEASE SAVEPOINT active_record_1
853
- Unfinished job found. Updating details.
854
-  (0.1ms) SAVEPOINT active_record_1
855
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:27:57 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:27:57 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
856
-  (0.1ms) RELEASE SAVEPOINT active_record_1
857
- Unfinished job found. Updating details.
858
-  (0.1ms) SAVEPOINT active_record_1
859
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:27:57 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:27:57 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
860
-  (0.1ms) RELEASE SAVEPOINT active_record_1
861
- Unfinished job found. Updating details.
862
-  (0.1ms) SAVEPOINT active_record_1
863
- SQL (22.8ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:30:58 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:30:58 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
864
-  (0.1ms) RELEASE SAVEPOINT active_record_1
865
-  (0.0ms) SAVEPOINT active_record_1
866
- Origin URL changed. Creating new ZenCoder job.
867
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-11-30 22:30:58.286272' WHERE "videos"."id" = 1
868
-  (0.1ms) RELEASE SAVEPOINT active_record_1
869
-  (0.1ms) SAVEPOINT active_record_1
870
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:30:58 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:30:58 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
871
-  (0.1ms) RELEASE SAVEPOINT active_record_1
872
-  (0.0ms) SAVEPOINT active_record_1
873
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:30:58 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:30:58 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
874
-  (0.1ms) RELEASE SAVEPOINT active_record_1
875
-  (0.1ms) SAVEPOINT active_record_1
876
- SQL (0.8ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:30:58 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 22:30:58 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
877
-  (0.1ms) RELEASE SAVEPOINT active_record_1
878
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
879
-  (0.1ms) SAVEPOINT active_record_1
880
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:30:58 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:30:58 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
881
-  (0.1ms) RELEASE SAVEPOINT active_record_1
882
- Unfinished job found. Updating details.
883
-  (0.1ms) SAVEPOINT active_record_1
884
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-11-30 22:30:58.512151' WHERE "videos"."id" = 1
885
-  (0.1ms) RELEASE SAVEPOINT active_record_1
886
-  (0.1ms) SAVEPOINT active_record_1
887
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:30:58 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:30:58 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
888
-  (0.1ms) RELEASE SAVEPOINT active_record_1
889
- Unfinished job found. Updating details.
890
-  (0.1ms) SAVEPOINT active_record_1
891
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 22:30:58.520051' WHERE "videos"."id" = 1
892
-  (0.1ms) RELEASE SAVEPOINT active_record_1
893
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
894
-  (0.1ms) SAVEPOINT active_record_1
895
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:30:58 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:30:58 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
896
-  (0.1ms) RELEASE SAVEPOINT active_record_1
897
- Unfinished job found. Updating details.
898
-  (0.1ms) SAVEPOINT active_record_1
899
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 22:30:58.541783' WHERE "videos"."id" = 1
900
-  (0.1ms) RELEASE SAVEPOINT active_record_1
901
-  (0.1ms) SAVEPOINT active_record_1
902
- SQL (22.5ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:55:17 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:55:17 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
903
-  (0.1ms) RELEASE SAVEPOINT active_record_1
904
-  (0.0ms) SAVEPOINT active_record_1
905
- Origin URL changed. Creating new ZenCoder job.
906
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-11-30 22:55:17.499790' WHERE "videos"."id" = 1
907
-  (0.1ms) RELEASE SAVEPOINT active_record_1
908
-  (0.1ms) SAVEPOINT active_record_1
909
- SQL (0.8ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:55:17 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:55:17 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
910
-  (0.1ms) RELEASE SAVEPOINT active_record_1
911
-  (0.0ms) SAVEPOINT active_record_1
912
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:55:17 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:55:17 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
913
-  (0.1ms) RELEASE SAVEPOINT active_record_1
914
-  (0.1ms) SAVEPOINT active_record_1
915
- SQL (0.9ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:55:17 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 22:55:17 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
916
-  (0.1ms) RELEASE SAVEPOINT active_record_1
917
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
918
-  (0.1ms) SAVEPOINT active_record_1
919
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:55:17 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:55:17 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
920
-  (0.1ms) RELEASE SAVEPOINT active_record_1
921
- Unfinished job found. Updating details.
922
-  (0.1ms) SAVEPOINT active_record_1
923
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-11-30 22:55:17.724778' WHERE "videos"."id" = 1
924
-  (0.1ms) RELEASE SAVEPOINT active_record_1
925
-  (0.1ms) SAVEPOINT active_record_1
926
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:55:17 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:55:17 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
927
-  (0.1ms) RELEASE SAVEPOINT active_record_1
928
- Unfinished job found. Updating details.
929
-  (0.1ms) SAVEPOINT active_record_1
930
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 22:55:17.732443' WHERE "videos"."id" = 1
931
-  (0.1ms) RELEASE SAVEPOINT active_record_1
932
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
933
-  (0.1ms) SAVEPOINT active_record_1
934
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:55:17 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:55:17 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
935
-  (0.1ms) RELEASE SAVEPOINT active_record_1
936
- Unfinished job found. Updating details.
937
-  (0.1ms) SAVEPOINT active_record_1
938
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-11-30 22:55:17.753848' WHERE "videos"."id" = 1
939
-  (0.1ms) RELEASE SAVEPOINT active_record_1
940
-  (0.1ms) SAVEPOINT active_record_1
941
- SQL (22.6ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:58:41 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:58:41 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
942
-  (0.1ms) RELEASE SAVEPOINT active_record_1
943
-  (0.1ms) SAVEPOINT active_record_1
944
- Origin URL changed. Creating new ZenCoder job.
945
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-11-30 22:58:41.391828' WHERE "videos"."id" = 1
946
-  (0.1ms) RELEASE SAVEPOINT active_record_1
947
-  (0.1ms) SAVEPOINT active_record_1
948
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:58:41 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:58:41 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
949
-  (0.1ms) RELEASE SAVEPOINT active_record_1
950
-  (0.0ms) SAVEPOINT active_record_1
951
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:58:41 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:58:41 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
952
-  (0.1ms) RELEASE SAVEPOINT active_record_1
953
-  (0.1ms) SAVEPOINT active_record_1
954
- SQL (0.8ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:58:41 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Wed, 30 Nov 2011 22:58:41 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
955
-  (0.1ms) RELEASE SAVEPOINT active_record_1
956
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
957
-  (0.1ms) SAVEPOINT active_record_1
958
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:58:41 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:58:41 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
959
-  (0.1ms) RELEASE SAVEPOINT active_record_1
960
- Unfinished job found. Updating details.
961
-  (0.1ms) SAVEPOINT active_record_1
962
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:58:41 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:58:41 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
963
-  (0.1ms) RELEASE SAVEPOINT active_record_1
964
- Unfinished job found. Updating details.
965
-  (0.1ms) SAVEPOINT active_record_1
966
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 30 Nov 2011 22:58:41 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Wed, 30 Nov 2011 22:58:41 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
967
-  (0.1ms) RELEASE SAVEPOINT active_record_1
968
- Unfinished job found. Updating details.
969
-  (0.1ms) SAVEPOINT active_record_1
970
- SQL (23.0ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:47:43 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:47:43 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
971
-  (0.1ms) RELEASE SAVEPOINT active_record_1
972
-  (0.1ms) SAVEPOINT active_record_1
973
- Origin URL changed. Creating new ZenCoder job.
974
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-12-01 13:47:43.580333' WHERE "videos"."id" = 1
975
-  (0.1ms) RELEASE SAVEPOINT active_record_1
976
-  (0.1ms) SAVEPOINT active_record_1
977
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:47:43 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:47:43 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
978
-  (0.1ms) RELEASE SAVEPOINT active_record_1
979
-  (0.0ms) SAVEPOINT active_record_1
980
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:47:43 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:47:43 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
981
-  (0.1ms) RELEASE SAVEPOINT active_record_1
982
-  (0.1ms) SAVEPOINT active_record_1
983
- SQL (0.8ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:47:43 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 13:47:43 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
984
-  (0.1ms) RELEASE SAVEPOINT active_record_1
985
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
986
-  (0.1ms) SAVEPOINT active_record_1
987
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:47:43 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:47:43 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
988
-  (0.1ms) RELEASE SAVEPOINT active_record_1
989
- Unfinished job found. Updating details.
990
-  (0.1ms) SAVEPOINT active_record_1
991
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 13:47:43.807696' WHERE "videos"."id" = 1
992
-  (0.1ms) RELEASE SAVEPOINT active_record_1
993
-  (0.1ms) SAVEPOINT active_record_1
994
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:47:43 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:47:43 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
995
-  (0.1ms) RELEASE SAVEPOINT active_record_1
996
- Unfinished job found. Updating details.
997
-  (0.1ms) SAVEPOINT active_record_1
998
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 13:47:43.815299' WHERE "videos"."id" = 1
999
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1000
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
1001
-  (0.1ms) SAVEPOINT active_record_1
1002
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:47:43 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:47:43 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1003
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1004
- Unfinished job found. Updating details.
1005
-  (0.1ms) SAVEPOINT active_record_1
1006
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 13:47:43.825221' WHERE "videos"."id" = 1
1007
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1008
-  (0.1ms) SAVEPOINT active_record_1
1009
- SQL (23.1ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:49:38 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:49:38 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1010
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1011
-  (0.0ms) SAVEPOINT active_record_1
1012
- Origin URL changed. Creating new ZenCoder job.
1013
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-12-01 13:49:38.438327' WHERE "videos"."id" = 1
1014
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1015
-  (0.1ms) SAVEPOINT active_record_1
1016
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:49:38 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:49:38 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
1017
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1018
-  (0.0ms) SAVEPOINT active_record_1
1019
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:49:38 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:49:38 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1020
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1021
-  (0.1ms) SAVEPOINT active_record_1
1022
- SQL (0.9ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:49:38 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 13:49:38 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
1023
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1024
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
1025
-  (0.1ms) SAVEPOINT active_record_1
1026
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:49:38 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:49:38 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
1027
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1028
- Unfinished job found. Updating details.
1029
-  (0.1ms) SAVEPOINT active_record_1
1030
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 13:49:38.667280' WHERE "videos"."id" = 1
1031
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1032
-  (0.1ms) SAVEPOINT active_record_1
1033
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:49:38 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:49:38 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1034
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1035
- Unfinished job found. Updating details.
1036
-  (0.1ms) SAVEPOINT active_record_1
1037
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 13:49:38.674922' WHERE "videos"."id" = 1
1038
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1039
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
1040
-  (0.1ms) SAVEPOINT active_record_1
1041
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:49:38 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:49:38 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1042
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1043
- Unfinished job found. Updating details.
1044
-  (0.1ms) SAVEPOINT active_record_1
1045
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 13:49:38.684896' WHERE "videos"."id" = 1
1046
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1047
-  (0.1ms) SAVEPOINT active_record_1
1048
- SQL (23.2ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:52:00 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:52:00 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1049
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1050
-  (0.0ms) SAVEPOINT active_record_1
1051
- Origin URL changed. Creating new ZenCoder job.
1052
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-12-01 13:52:00.875666' WHERE "videos"."id" = 1
1053
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1054
-  (0.1ms) SAVEPOINT active_record_1
1055
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:52:00 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:52:00 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
1056
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1057
-  (0.0ms) SAVEPOINT active_record_1
1058
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:52:00 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:52:00 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1059
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1060
-  (0.1ms) SAVEPOINT active_record_1
1061
- SQL (0.9ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:52:00 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 13:52:00 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
1062
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1063
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
1064
-  (0.1ms) SAVEPOINT active_record_1
1065
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:52:01 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:52:01 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
1066
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1067
- Unfinished job found. Updating details.
1068
-  (0.1ms) SAVEPOINT active_record_1
1069
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 13:52:01.105296' WHERE "videos"."id" = 1
1070
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1071
-  (0.1ms) SAVEPOINT active_record_1
1072
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:52:01 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:52:01 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1073
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1074
- Unfinished job found. Updating details.
1075
-  (0.1ms) SAVEPOINT active_record_1
1076
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 13:52:01.112943' WHERE "videos"."id" = 1
1077
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1078
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
1079
-  (0.1ms) SAVEPOINT active_record_1
1080
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:52:01 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:52:01 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1081
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1082
- Unfinished job found. Updating details.
1083
-  (0.1ms) SAVEPOINT active_record_1
1084
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 13:52:01.122752' WHERE "videos"."id" = 1
1085
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1086
-  (0.1ms) SAVEPOINT active_record_1
1087
- SQL (23.1ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:53:45 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:53:45 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1088
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1089
-  (0.0ms) SAVEPOINT active_record_1
1090
- Origin URL changed. Creating new ZenCoder job.
1091
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-12-01 13:53:45.549463' WHERE "videos"."id" = 1
1092
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1093
-  (0.1ms) SAVEPOINT active_record_1
1094
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:53:45 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:53:45 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
1095
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1096
-  (0.0ms) SAVEPOINT active_record_1
1097
- SQL (1.0ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:53:45 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:53:45 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1098
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1099
-  (0.1ms) SAVEPOINT active_record_1
1100
- SQL (0.8ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:53:45 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 13:53:45 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
1101
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1102
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
1103
-  (0.1ms) SAVEPOINT active_record_1
1104
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:53:45 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:53:45 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
1105
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1106
- Unfinished job found. Updating details.
1107
-  (0.1ms) SAVEPOINT active_record_1
1108
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 13:53:45.778128' WHERE "videos"."id" = 1
1109
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1110
-  (0.1ms) SAVEPOINT active_record_1
1111
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:53:45 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:53:45 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1112
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1113
- Unfinished job found. Updating details.
1114
-  (0.1ms) SAVEPOINT active_record_1
1115
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 13:53:45.785890' WHERE "videos"."id" = 1
1116
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1117
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
1118
-  (0.1ms) SAVEPOINT active_record_1
1119
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:53:45 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:53:45 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1120
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1121
- Unfinished job found. Updating details.
1122
-  (0.1ms) SAVEPOINT active_record_1
1123
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 13:53:45.795782' WHERE "videos"."id" = 1
1124
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1125
-  (0.1ms) SAVEPOINT active_record_1
1126
- SQL (23.0ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:55:58 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:55:58 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1127
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1128
-  (0.0ms) SAVEPOINT active_record_1
1129
- Origin URL changed. Creating new ZenCoder job.
1130
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-12-01 13:55:58.977474' WHERE "videos"."id" = 1
1131
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1132
-  (0.1ms) SAVEPOINT active_record_1
1133
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:55:58 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:55:58 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
1134
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1135
-  (0.0ms) SAVEPOINT active_record_1
1136
- SQL (1.0ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:55:58 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:55:58 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1137
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1138
-  (0.1ms) SAVEPOINT active_record_1
1139
- SQL (0.8ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:55:59 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 13:55:59 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
1140
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1141
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
1142
-  (0.1ms) SAVEPOINT active_record_1
1143
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:55:59 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:55:59 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
1144
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1145
- Unfinished job found. Updating details.
1146
-  (0.1ms) SAVEPOINT active_record_1
1147
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 13:55:59.206216' WHERE "videos"."id" = 1
1148
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1149
-  (0.1ms) SAVEPOINT active_record_1
1150
- SQL (1.0ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:55:59 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:55:59 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1151
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1152
- Unfinished job found. Updating details.
1153
-  (0.1ms) SAVEPOINT active_record_1
1154
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 13:55:59.214041' WHERE "videos"."id" = 1
1155
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1156
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
1157
-  (0.1ms) SAVEPOINT active_record_1
1158
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 13:55:59 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 13:55:59 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1159
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1160
- Unfinished job found. Updating details.
1161
-  (0.1ms) SAVEPOINT active_record_1
1162
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 13:55:59.236774' WHERE "videos"."id" = 1
1163
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1164
- VideoFileThumbnail Load (0.2ms) SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
1165
-  (0.1ms) SAVEPOINT active_record_1
1166
- SQL (22.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:00:25 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:00:25 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1167
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1168
-  (0.0ms) SAVEPOINT active_record_1
1169
- Origin URL changed. Creating new ZenCoder job.
1170
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-12-01 14:00:25.697231' WHERE "videos"."id" = 1
1171
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1172
-  (0.1ms) SAVEPOINT active_record_1
1173
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:00:25 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:00:25 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
1174
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1175
-  (0.0ms) SAVEPOINT active_record_1
1176
- SQL (1.0ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:00:25 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:00:25 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1177
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1178
-  (0.1ms) SAVEPOINT active_record_1
1179
- SQL (0.8ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:00:25 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:00:25 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
1180
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1181
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
1182
-  (0.1ms) SAVEPOINT active_record_1
1183
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:00:25 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:00:25 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
1184
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1185
- Unfinished job found. Updating details.
1186
-  (0.1ms) SAVEPOINT active_record_1
1187
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:00:25.924988' WHERE "videos"."id" = 1
1188
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1189
-  (0.1ms) SAVEPOINT active_record_1
1190
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:00:25 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:00:25 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1191
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1192
- Unfinished job found. Updating details.
1193
-  (0.1ms) SAVEPOINT active_record_1
1194
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:00:25.932656' WHERE "videos"."id" = 1
1195
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1196
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
1197
-  (0.1ms) SAVEPOINT active_record_1
1198
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:00:25 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:00:25 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1199
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1200
- Unfinished job found. Updating details.
1201
-  (0.1ms) SAVEPOINT active_record_1
1202
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:00:25.955291' WHERE "videos"."id" = 1
1203
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1204
- VideoFileThumbnail Load (0.2ms) SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
1205
-  (0.1ms) SAVEPOINT active_record_1
1206
- SQL (22.8ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:02:22 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:02:22 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1207
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1208
-  (0.1ms) SAVEPOINT active_record_1
1209
- Origin URL changed. Creating new ZenCoder job.
1210
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-12-01 14:02:22.996867' WHERE "videos"."id" = 1
1211
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1212
-  (0.1ms) SAVEPOINT active_record_1
1213
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:02:23 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:02:23 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
1214
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1215
-  (0.0ms) SAVEPOINT active_record_1
1216
- SQL (1.0ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:02:23 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:02:23 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1217
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1218
-  (0.1ms) SAVEPOINT active_record_1
1219
- SQL (0.8ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:02:23 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:02:23 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
1220
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1221
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
1222
-  (0.1ms) SAVEPOINT active_record_1
1223
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:02:23 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:02:23 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
1224
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1225
- Unfinished job found. Updating details.
1226
-  (0.1ms) SAVEPOINT active_record_1
1227
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:02:23.225021' WHERE "videos"."id" = 1
1228
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1229
-  (0.1ms) SAVEPOINT active_record_1
1230
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:02:23 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:02:23 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1231
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1232
- Unfinished job found. Updating details.
1233
-  (0.1ms) SAVEPOINT active_record_1
1234
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:02:23.232701' WHERE "videos"."id" = 1
1235
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1236
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
1237
-  (0.1ms) SAVEPOINT active_record_1
1238
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:02:23 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:02:23 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1239
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1240
- Unfinished job found. Updating details.
1241
-  (0.1ms) SAVEPOINT active_record_1
1242
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:02:23.255427' WHERE "videos"."id" = 1
1243
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1244
- VideoFileThumbnail Load (0.2ms) SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
1245
-  (0.1ms) SAVEPOINT active_record_1
1246
- SQL (22.7ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:03:19 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:03:19 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1247
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1248
-  (0.1ms) SAVEPOINT active_record_1
1249
- Origin URL changed. Creating new ZenCoder job.
1250
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-12-01 14:03:19.135742' WHERE "videos"."id" = 1
1251
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1252
-  (0.1ms) SAVEPOINT active_record_1
1253
- SQL (0.8ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:03:19 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:03:19 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
1254
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1255
-  (0.0ms) SAVEPOINT active_record_1
1256
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:03:19 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:03:19 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1257
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1258
-  (0.1ms) SAVEPOINT active_record_1
1259
- SQL (0.8ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:03:19 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:03:19 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
1260
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1261
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
1262
-  (0.1ms) SAVEPOINT active_record_1
1263
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:03:19 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:03:19 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
1264
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1265
- Unfinished job found. Updating details.
1266
-  (0.1ms) SAVEPOINT active_record_1
1267
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:03:19.363157' WHERE "videos"."id" = 1
1268
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1269
-  (0.1ms) SAVEPOINT active_record_1
1270
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:03:19 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:03:19 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1271
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1272
- Unfinished job found. Updating details.
1273
-  (0.1ms) SAVEPOINT active_record_1
1274
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:03:19.370811' WHERE "videos"."id" = 1
1275
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1276
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
1277
-  (0.1ms) SAVEPOINT active_record_1
1278
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:03:19 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:03:19 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1279
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1280
- Unfinished job found. Updating details.
1281
-  (0.1ms) SAVEPOINT active_record_1
1282
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:03:19.393649' WHERE "videos"."id" = 1
1283
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1284
- VideoFileThumbnail Load (0.2ms) SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
1285
-  (0.1ms) SAVEPOINT active_record_1
1286
- SQL (23.0ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:05:31 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:05:31 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1287
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1288
-  (0.1ms) SAVEPOINT active_record_1
1289
- Origin URL changed. Creating new ZenCoder job.
1290
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-12-01 14:05:31.842999' WHERE "videos"."id" = 1
1291
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1292
-  (0.1ms) SAVEPOINT active_record_1
1293
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:05:31 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:05:31 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
1294
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1295
-  (0.0ms) SAVEPOINT active_record_1
1296
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:05:31 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:05:31 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1297
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1298
-  (0.1ms) SAVEPOINT active_record_1
1299
- SQL (0.8ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:05:31 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:05:31 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
1300
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1301
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
1302
-  (0.1ms) SAVEPOINT active_record_1
1303
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:05:32 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:05:32 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
1304
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1305
- Unfinished job found. Updating details.
1306
-  (0.1ms) SAVEPOINT active_record_1
1307
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:05:32.072302' WHERE "videos"."id" = 1
1308
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1309
-  (0.1ms) SAVEPOINT active_record_1
1310
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:05:32 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:05:32 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1311
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1312
- Unfinished job found. Updating details.
1313
-  (0.1ms) SAVEPOINT active_record_1
1314
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:05:32.080038' WHERE "videos"."id" = 1
1315
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1316
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
1317
-  (0.1ms) SAVEPOINT active_record_1
1318
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:05:32 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:05:32 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1319
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1320
- Unfinished job found. Updating details.
1321
-  (0.1ms) SAVEPOINT active_record_1
1322
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:05:32.102740' WHERE "videos"."id" = 1
1323
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1324
- VideoFileThumbnail Load (0.2ms) SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
1325
-  (0.1ms) SAVEPOINT active_record_1
1326
- SQL (23.0ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:06:14 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:06:14 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1327
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1328
-  (0.0ms) SAVEPOINT active_record_1
1329
- Origin URL changed. Creating new ZenCoder job.
1330
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-12-01 14:06:14.155295' WHERE "videos"."id" = 1
1331
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1332
-  (0.1ms) SAVEPOINT active_record_1
1333
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:06:14 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:06:14 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
1334
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1335
-  (0.0ms) SAVEPOINT active_record_1
1336
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:06:14 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:06:14 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1337
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1338
-  (0.1ms) SAVEPOINT active_record_1
1339
- SQL (0.8ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:06:14 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:06:14 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
1340
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1341
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
1342
-  (0.1ms) SAVEPOINT active_record_1
1343
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:06:14 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:06:14 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
1344
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1345
- Unfinished job found. Updating details.
1346
-  (0.1ms) SAVEPOINT active_record_1
1347
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:06:14.383471' WHERE "videos"."id" = 1
1348
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1349
-  (0.1ms) SAVEPOINT active_record_1
1350
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:06:14 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:06:14 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1351
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1352
- Unfinished job found. Updating details.
1353
-  (0.1ms) SAVEPOINT active_record_1
1354
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:06:14.391372' WHERE "videos"."id" = 1
1355
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1356
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
1357
-  (0.1ms) SAVEPOINT active_record_1
1358
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:06:14 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:06:14 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1359
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1360
- Unfinished job found. Updating details.
1361
-  (0.1ms) SAVEPOINT active_record_1
1362
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:06:14.413561' WHERE "videos"."id" = 1
1363
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1364
- VideoFileThumbnail Load (0.2ms) SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
1365
-  (0.1ms) SAVEPOINT active_record_1
1366
- SQL (22.7ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:08:46 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:08:46 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1367
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1368
-  (0.1ms) SAVEPOINT active_record_1
1369
- Origin URL changed. Creating new ZenCoder job.
1370
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-12-01 14:08:46.689323' WHERE "videos"."id" = 1
1371
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1372
-  (0.1ms) SAVEPOINT active_record_1
1373
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:08:46 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:08:46 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
1374
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1375
-  (0.0ms) SAVEPOINT active_record_1
1376
- SQL (1.0ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:08:46 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:08:46 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1377
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1378
-  (0.1ms) SAVEPOINT active_record_1
1379
- SQL (0.8ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:08:46 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:08:46 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
1380
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1381
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
1382
-  (0.1ms) SAVEPOINT active_record_1
1383
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:08:46 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:08:46 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
1384
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1385
- Unfinished job found. Updating details.
1386
-  (0.1ms) SAVEPOINT active_record_1
1387
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:08:46.916685' WHERE "videos"."id" = 1
1388
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1389
-  (0.1ms) SAVEPOINT active_record_1
1390
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:08:46 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:08:46 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1391
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1392
- Unfinished job found. Updating details.
1393
-  (0.1ms) SAVEPOINT active_record_1
1394
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:08:46.924657' WHERE "videos"."id" = 1
1395
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1396
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
1397
-  (0.1ms) SAVEPOINT active_record_1
1398
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:08:46 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:08:46 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1399
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1400
- Unfinished job found. Updating details.
1401
-  (0.1ms) SAVEPOINT active_record_1
1402
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:08:46.946931' WHERE "videos"."id" = 1
1403
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1404
- VideoFileThumbnail Load (0.2ms) SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
1405
-  (0.1ms) SAVEPOINT active_record_1
1406
- SQL (23.4ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:10:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:10:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1407
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1408
-  (0.1ms) SAVEPOINT active_record_1
1409
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-12-01 14:10:53.080963' WHERE "videos"."id" = 1
1410
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1411
-  (0.1ms) SAVEPOINT active_record_1
1412
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:10:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:10:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
1413
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1414
-  (0.0ms) SAVEPOINT active_record_1
1415
- SQL (1.1ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:10:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:10:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1416
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1417
-  (0.1ms) SAVEPOINT active_record_1
1418
- SQL (0.8ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:10:53 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:10:53 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
1419
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1420
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
1421
-  (0.1ms) SAVEPOINT active_record_1
1422
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:10:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:10:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
1423
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1424
- Unfinished job found. Updating details.
1425
-  (0.1ms) SAVEPOINT active_record_1
1426
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:10:53.314436' WHERE "videos"."id" = 1
1427
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1428
-  (0.1ms) SAVEPOINT active_record_1
1429
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:10:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:10:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1430
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1431
- Unfinished job found. Updating details.
1432
-  (0.1ms) SAVEPOINT active_record_1
1433
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:10:53.322201' WHERE "videos"."id" = 1
1434
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1435
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
1436
-  (0.2ms) SAVEPOINT active_record_1
1437
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:10:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:10:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1438
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1439
- Unfinished job found. Updating details.
1440
-  (0.1ms) SAVEPOINT active_record_1
1441
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:10:53.345501' WHERE "videos"."id" = 1
1442
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1443
- VideoFileThumbnail Load (0.2ms) SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
1444
-  (0.1ms) SAVEPOINT active_record_1
1445
- SQL (22.8ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:12:26 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:12:26 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1446
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1447
-  (0.1ms) SAVEPOINT active_record_1
1448
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-12-01 14:12:26.130623' WHERE "videos"."id" = 1
1449
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1450
-  (0.1ms) SAVEPOINT active_record_1
1451
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:12:26 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:12:26 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
1452
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1453
-  (0.0ms) SAVEPOINT active_record_1
1454
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:12:26 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:12:26 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1455
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1456
-  (0.1ms) SAVEPOINT active_record_1
1457
- SQL (0.9ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:12:26 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:12:26 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
1458
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1459
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
1460
-  (0.1ms) SAVEPOINT active_record_1
1461
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:12:26 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:12:26 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
1462
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1463
- Unfinished job found. Updating details.
1464
-  (0.1ms) SAVEPOINT active_record_1
1465
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:12:26.358052' WHERE "videos"."id" = 1
1466
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1467
-  (0.1ms) SAVEPOINT active_record_1
1468
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:12:26 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:12:26 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1469
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1470
- Unfinished job found. Updating details.
1471
-  (0.1ms) SAVEPOINT active_record_1
1472
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:12:26.365802' WHERE "videos"."id" = 1
1473
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1474
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
1475
-  (0.1ms) SAVEPOINT active_record_1
1476
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:12:26 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:12:26 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1477
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1478
- Unfinished job found. Updating details.
1479
-  (0.1ms) SAVEPOINT active_record_1
1480
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:12:26.388158' WHERE "videos"."id" = 1
1481
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1482
- VideoFileThumbnail Load (0.2ms) SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
1483
-  (0.1ms) SAVEPOINT active_record_1
1484
- SQL (22.5ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:12:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:12:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1485
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1486
-  (0.1ms) SAVEPOINT active_record_1
1487
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-12-01 14:12:53.824717' WHERE "videos"."id" = 1
1488
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1489
-  (0.1ms) SAVEPOINT active_record_1
1490
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:12:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:12:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
1491
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1492
-  (0.0ms) SAVEPOINT active_record_1
1493
- SQL (1.0ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:12:53 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:12:53 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1494
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1495
-  (0.1ms) SAVEPOINT active_record_1
1496
- SQL (0.8ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:12:53 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:12:53 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
1497
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1498
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
1499
-  (0.1ms) SAVEPOINT active_record_1
1500
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:12:54 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:12:54 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
1501
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1502
- Unfinished job found. Updating details.
1503
-  (0.1ms) SAVEPOINT active_record_1
1504
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:12:54.053302' WHERE "videos"."id" = 1
1505
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1506
-  (0.1ms) SAVEPOINT active_record_1
1507
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:12:54 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:12:54 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1508
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1509
- Unfinished job found. Updating details.
1510
-  (0.1ms) SAVEPOINT active_record_1
1511
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:12:54.061220' WHERE "videos"."id" = 1
1512
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1513
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
1514
-  (0.1ms) SAVEPOINT active_record_1
1515
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:12:54 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:12:54 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1516
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1517
- Unfinished job found. Updating details.
1518
-  (0.1ms) SAVEPOINT active_record_1
1519
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:12:54.083658' WHERE "videos"."id" = 1
1520
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1521
- VideoFileThumbnail Load (0.2ms) SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
1522
-  (0.1ms) SAVEPOINT active_record_1
1523
- SQL (22.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:13:34 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:13:34 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1524
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1525
-  (0.1ms) SAVEPOINT active_record_1
1526
- Origin URL changed. Creating new ZenCoder job.
1527
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-12-01 14:13:34.288073' WHERE "videos"."id" = 1
1528
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1529
-  (0.1ms) SAVEPOINT active_record_1
1530
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:13:34 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:13:34 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
1531
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1532
-  (0.0ms) SAVEPOINT active_record_1
1533
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:13:34 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:13:34 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1534
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1535
-  (0.1ms) SAVEPOINT active_record_1
1536
- SQL (0.8ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:13:34 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:13:34 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
1537
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1538
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
1539
-  (0.1ms) SAVEPOINT active_record_1
1540
- SQL (1.0ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:13:34 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:13:34 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
1541
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1542
- Unfinished job found. Updating details.
1543
-  (0.1ms) SAVEPOINT active_record_1
1544
-  (0.4ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:13:34.516139' WHERE "videos"."id" = 1
1545
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1546
-  (0.1ms) SAVEPOINT active_record_1
1547
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:13:34 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:13:34 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1548
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1549
- Unfinished job found. Updating details.
1550
-  (0.1ms) SAVEPOINT active_record_1
1551
-  (0.4ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:13:34.524788' WHERE "videos"."id" = 1
1552
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1553
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
1554
-  (0.1ms) SAVEPOINT active_record_1
1555
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:13:34 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:13:34 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1556
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1557
- Unfinished job found. Updating details.
1558
-  (0.1ms) SAVEPOINT active_record_1
1559
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:13:34.548160' WHERE "videos"."id" = 1
1560
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1561
- VideoFileThumbnail Load (0.2ms) SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
1562
-  (0.1ms) SAVEPOINT active_record_1
1563
- SQL (22.8ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:13:54 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:13:54 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1564
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1565
-  (0.1ms) SAVEPOINT active_record_1
1566
- Origin URL changed. Creating new ZenCoder job.
1567
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "updated_at" = '2011-12-01 14:13:54.300472' WHERE "videos"."id" = 1
1568
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1569
-  (0.1ms) SAVEPOINT active_record_1
1570
- SQL (1.1ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:13:54 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:13:54 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
1571
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1572
-  (0.0ms) SAVEPOINT active_record_1
1573
- SQL (1.0ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:13:54 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:13:54 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1574
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1575
-  (0.1ms) SAVEPOINT active_record_1
1576
- SQL (0.8ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:13:54 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:13:54 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
1577
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1578
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
1579
-  (0.1ms) SAVEPOINT active_record_1
1580
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:13:54 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:13:54 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
1581
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1582
- Unfinished job found. Updating details.
1583
-  (0.1ms) SAVEPOINT active_record_1
1584
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:13:54.529812' WHERE "videos"."id" = 1
1585
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1586
-  (0.1ms) SAVEPOINT active_record_1
1587
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:13:54 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:13:54 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1588
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1589
- Unfinished job found. Updating details.
1590
-  (0.1ms) SAVEPOINT active_record_1
1591
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:13:54.537618' WHERE "videos"."id" = 1
1592
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1593
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
1594
-  (0.1ms) SAVEPOINT active_record_1
1595
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:13:54 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:13:54 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1596
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1597
- Unfinished job found. Updating details.
1598
-  (0.1ms) SAVEPOINT active_record_1
1599
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:13:54.560330' WHERE "videos"."id" = 1
1600
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1601
- VideoFileThumbnail Load (0.2ms) SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
1602
-  (0.1ms) SAVEPOINT active_record_1
1603
- SQL (22.6ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:14:20 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:14:20 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1604
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1605
-  (0.1ms) SAVEPOINT active_record_1
1606
- Origin URL changed. Creating new ZenCoder job.
1607
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 14:14:20.694388', "updated_at" = '2011-12-01 14:14:20.694700' WHERE "videos"."id" = 1
1608
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1609
-  (0.1ms) SAVEPOINT active_record_1
1610
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:14:20 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:14:20 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
1611
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1612
-  (0.1ms) SAVEPOINT active_record_1
1613
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:14:20 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:14:20 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1614
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1615
-  (0.1ms) SAVEPOINT active_record_1
1616
- SQL (0.9ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:14:20 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:14:20 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
1617
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1618
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
1619
-  (0.1ms) SAVEPOINT active_record_1
1620
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:14:20 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:14:20 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
1621
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1622
- Unfinished job found. Updating details.
1623
-  (0.1ms) SAVEPOINT active_record_1
1624
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:14:20.921318' WHERE "videos"."id" = 1
1625
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1626
-  (0.1ms) SAVEPOINT active_record_1
1627
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:14:20 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:14:20 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1628
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1629
- Unfinished job found. Updating details.
1630
-  (0.1ms) SAVEPOINT active_record_1
1631
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:14:20.929075' WHERE "videos"."id" = 1
1632
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1633
- VideoFile Load (0.2ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1
1634
-  (0.1ms) SAVEPOINT active_record_1
1635
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:14:20 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:14:20 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1636
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1637
- Unfinished job found. Updating details.
1638
-  (0.1ms) SAVEPOINT active_record_1
1639
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:14:20.951379' WHERE "videos"."id" = 1
1640
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1641
- VideoFileThumbnail Load (0.2ms) SELECT "video_file_thumbnails".* FROM "video_file_thumbnails" WHERE "video_file_thumbnails"."video_id" = 1
1642
-  (0.1ms) SAVEPOINT active_record_1
1643
- SQL (23.2ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:16:58 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:16:58 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1644
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1645
-  (0.1ms) SAVEPOINT active_record_1
1646
- Origin URL changed. Creating new ZenCoder job.
1647
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 14:16:58.281337', "updated_at" = '2011-12-01 14:16:58.281637' WHERE "videos"."id" = 1
1648
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1649
-  (0.1ms) SAVEPOINT active_record_1
1650
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:16:58 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:16:58 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
1651
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1652
-  (0.0ms) SAVEPOINT active_record_1
1653
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:16:58 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:16:58 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1654
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1655
-  (0.1ms) SAVEPOINT active_record_1
1656
- SQL (0.8ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:16:58 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:16:58 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
1657
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1658
-  (0.1ms) SAVEPOINT active_record_1
1659
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:16:58 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:16:58 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
1660
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1661
- Unfinished job found. Updating details.
1662
-  (0.1ms) SAVEPOINT active_record_1
1663
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'makin progress', "updated_at" = '2011-12-01 14:16:58.468469' WHERE "videos"."id" = 1
1664
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1665
-  (0.1ms) SAVEPOINT active_record_1
1666
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:16:58 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:16:58 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1667
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1668
- Unfinished job found. Updating details.
1669
-  (0.1ms) SAVEPOINT active_record_1
1670
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:16:58.476925' WHERE "videos"."id" = 1
1671
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1672
-  (0.1ms) SAVEPOINT active_record_1
1673
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:16:58 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:16:58 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1674
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1675
- Unfinished job found. Updating details.
1676
-  (0.1ms) SAVEPOINT active_record_1
1677
-  (0.3ms) UPDATE "videos" SET "zencoder_job_status" = 'finished', "updated_at" = '2011-12-01 14:16:58.486396' WHERE "videos"."id" = 1
1678
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1679
-  (0.1ms) SAVEPOINT active_record_1
1680
- SQL (22.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:18:25 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:18:25 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1681
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1682
-  (0.1ms) SAVEPOINT active_record_1
1683
- Origin URL changed. Creating new ZenCoder job.
1684
-  (0.3ms) UPDATE "videos" SET "origin_url" = 'http://foo.com/1/2/4', "zencoder_job_id" = '123', "zencoder_job_status" = 'new', "zencoder_job_created" = '2011-12-01 14:18:25.731376', "updated_at" = '2011-12-01 14:18:25.731721' WHERE "videos"."id" = 1
1685
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1686
-  (0.1ms) SAVEPOINT active_record_1
1687
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:18:25 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:18:25 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "finished"]]
1688
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1689
-  (0.0ms) SAVEPOINT active_record_1
1690
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:18:25 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:18:25 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", nil]]
1691
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1692
-  (0.1ms) SAVEPOINT active_record_1
1693
- SQL (0.8ms) INSERT INTO "video_files" ("created_at", "duration_sec", "error_message", "file_size", "format", "height", "state", "updated_at", "url", "video_id", "width", "zencoder_file_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:18:25 UTC +00:00], ["duration_sec", 120], ["error_message", nil], ["file_size", 19293819], ["format", "webm"], ["height", 600], ["state", "finished"], ["updated_at", Thu, 01 Dec 2011 14:18:25 UTC +00:00], ["url", "http://parallaxp.s3.amazonaws.com/videos/zc/video-title/file.1.off"], ["video_id", 1], ["width", 800], ["zencoder_file_id", 12345329]]
1694
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1695
- VideoFile Load (0.3ms) SELECT "video_files".* FROM "video_files" WHERE "video_files"."video_id" = 1 AND "video_files"."format" = 'webm' LIMIT 1
1696
-  (0.1ms) SAVEPOINT active_record_1
1697
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:18:25 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:18:25 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "new"]]
1698
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1699
- Unfinished job found. Updating details.
1700
-  (0.1ms) SAVEPOINT active_record_1
1701
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:18:25 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:18:25 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1702
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1703
- Unfinished job found. Updating details.
1704
-  (0.1ms) SAVEPOINT active_record_1
1705
- SQL (0.9ms) INSERT INTO "videos" ("created_at", "origin_url", "title", "updated_at", "zencoder_job_created", "zencoder_job_finished", "zencoder_job_id", "zencoder_job_status") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 01 Dec 2011 14:18:25 UTC +00:00], ["origin_url", nil], ["title", "At the Foo Bar"], ["updated_at", Thu, 01 Dec 2011 14:18:25 UTC +00:00], ["zencoder_job_created", nil], ["zencoder_job_finished", nil], ["zencoder_job_id", nil], ["zencoder_job_status", "processing"]]
1706
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1707