attached 0.5.3 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. data/README.rdoc +3 -2
  2. data/lib/attached.rb +5 -0
  3. data/lib/attached/attachment.rb +20 -0
  4. data/lib/attached/version.rb +1 -1
  5. data/test/dummy/db/development.sqlite3 +0 -0
  6. data/test/dummy/db/production.sqlite3 +0 -0
  7. data/test/dummy/db/schema.rb +4 -4
  8. data/test/dummy/db/test.sqlite3 +0 -0
  9. data/test/dummy/log/development.log +35 -24
  10. data/test/dummy/log/test.log +248 -426
  11. data/test/dummy/public/system/audios/files/full/{151d9dff-7259-41a3-9fc3-988a3099fe22.aac → 145812bc-ebc6-473b-8fd5-5eeb09ecd472.aac} +0 -0
  12. data/test/dummy/public/system/audios/files/full/{2b5e47b9-b441-4c49-a98f-5bf89f19848e.aac → 749c8645-6940-44d6-aa21-ee5f1fc27ba3.aac} +0 -0
  13. data/test/dummy/public/system/audios/files/large/{151d9dff-7259-41a3-9fc3-988a3099fe22.aac → 145812bc-ebc6-473b-8fd5-5eeb09ecd472.aac} +0 -0
  14. data/test/dummy/public/system/audios/files/large/{2b5e47b9-b441-4c49-a98f-5bf89f19848e.aac → 749c8645-6940-44d6-aa21-ee5f1fc27ba3.aac} +0 -0
  15. data/test/dummy/public/system/audios/files/original/{151d9dff-7259-41a3-9fc3-988a3099fe22.wav → 145812bc-ebc6-473b-8fd5-5eeb09ecd472.wav} +0 -0
  16. data/test/dummy/public/system/audios/files/original/{2b5e47b9-b441-4c49-a98f-5bf89f19848e.wav → 749c8645-6940-44d6-aa21-ee5f1fc27ba3.wav} +0 -0
  17. data/test/dummy/public/system/audios/files/small/{151d9dff-7259-41a3-9fc3-988a3099fe22.aac → 145812bc-ebc6-473b-8fd5-5eeb09ecd472.aac} +0 -0
  18. data/test/dummy/public/system/audios/files/small/{2b5e47b9-b441-4c49-a98f-5bf89f19848e.aac → 749c8645-6940-44d6-aa21-ee5f1fc27ba3.aac} +0 -0
  19. data/test/dummy/public/system/images/files/full/030f7d0e-1c89-43e7-b9b3-c00bc0304a42.jpg +0 -0
  20. data/test/dummy/public/system/images/files/full/0c424f00-5750-46dc-adc3-c9504a07b5cd.jpg +0 -0
  21. data/test/dummy/public/system/images/files/full/{15f09efb-0d03-44b3-a372-5ae156e8898e.jpg → 1d487ceb-4a4d-465e-9090-b803664b0453.jpg} +0 -0
  22. data/test/dummy/public/system/images/files/full/39b2b131-3635-4b3f-8fe3-c86b2228a4b1.jpg +0 -0
  23. data/test/dummy/public/system/images/files/full/{7a1dbda7-f7f7-4b13-a7ae-be38c43f76a3.jpg → 62893101-c755-40a2-8fff-fa7c96989db3.jpg} +0 -0
  24. data/test/dummy/public/system/images/files/full/af2b2586-b144-4d62-9bd2-a38cd9eab3dc.jpg +0 -0
  25. data/test/dummy/public/system/images/files/large/030f7d0e-1c89-43e7-b9b3-c00bc0304a42.jpg +0 -0
  26. data/test/dummy/public/system/images/files/large/0c424f00-5750-46dc-adc3-c9504a07b5cd.jpg +0 -0
  27. data/test/dummy/public/system/images/files/large/{15f09efb-0d03-44b3-a372-5ae156e8898e.jpg → 1d487ceb-4a4d-465e-9090-b803664b0453.jpg} +0 -0
  28. data/test/dummy/public/system/images/files/large/39b2b131-3635-4b3f-8fe3-c86b2228a4b1.jpg +0 -0
  29. data/test/dummy/public/system/images/files/large/{7a1dbda7-f7f7-4b13-a7ae-be38c43f76a3.jpg → 62893101-c755-40a2-8fff-fa7c96989db3.jpg} +0 -0
  30. data/test/dummy/public/system/images/files/large/af2b2586-b144-4d62-9bd2-a38cd9eab3dc.jpg +0 -0
  31. data/test/dummy/public/system/images/files/original/030f7d0e-1c89-43e7-b9b3-c00bc0304a42.png +0 -0
  32. data/test/dummy/public/system/images/files/original/0c424f00-5750-46dc-adc3-c9504a07b5cd.png +0 -0
  33. data/test/dummy/public/system/images/files/original/{15f09efb-0d03-44b3-a372-5ae156e8898e.png → 1d487ceb-4a4d-465e-9090-b803664b0453.png} +0 -0
  34. data/test/dummy/public/system/images/files/original/39b2b131-3635-4b3f-8fe3-c86b2228a4b1.png +0 -0
  35. data/test/dummy/public/system/images/files/original/{7a1dbda7-f7f7-4b13-a7ae-be38c43f76a3.png → 62893101-c755-40a2-8fff-fa7c96989db3.png} +0 -0
  36. data/test/dummy/public/system/images/files/original/af2b2586-b144-4d62-9bd2-a38cd9eab3dc.png +0 -0
  37. data/test/dummy/public/system/images/files/small/030f7d0e-1c89-43e7-b9b3-c00bc0304a42.jpg +0 -0
  38. data/test/dummy/public/system/images/files/small/0c424f00-5750-46dc-adc3-c9504a07b5cd.jpg +0 -0
  39. data/test/dummy/public/system/images/files/small/{15f09efb-0d03-44b3-a372-5ae156e8898e.jpg → 1d487ceb-4a4d-465e-9090-b803664b0453.jpg} +0 -0
  40. data/test/dummy/public/system/images/files/small/39b2b131-3635-4b3f-8fe3-c86b2228a4b1.jpg +0 -0
  41. data/test/dummy/public/system/images/files/small/{7a1dbda7-f7f7-4b13-a7ae-be38c43f76a3.jpg → 62893101-c755-40a2-8fff-fa7c96989db3.jpg} +0 -0
  42. data/test/dummy/public/system/images/files/small/af2b2586-b144-4d62-9bd2-a38cd9eab3dc.jpg +0 -0
  43. data/test/dummy/public/system/images/files/thumb/030f7d0e-1c89-43e7-b9b3-c00bc0304a42.jpg +0 -0
  44. data/test/dummy/public/system/images/files/thumb/0c424f00-5750-46dc-adc3-c9504a07b5cd.jpg +0 -0
  45. data/test/dummy/public/system/images/files/thumb/{15f09efb-0d03-44b3-a372-5ae156e8898e.jpg → 1d487ceb-4a4d-465e-9090-b803664b0453.jpg} +0 -0
  46. data/test/dummy/public/system/images/files/thumb/39b2b131-3635-4b3f-8fe3-c86b2228a4b1.jpg +0 -0
  47. data/test/dummy/public/system/images/files/thumb/{7a1dbda7-f7f7-4b13-a7ae-be38c43f76a3.jpg → 62893101-c755-40a2-8fff-fa7c96989db3.jpg} +0 -0
  48. data/test/dummy/public/system/images/files/thumb/af2b2586-b144-4d62-9bd2-a38cd9eab3dc.jpg +0 -0
  49. metadata +82 -96
  50. data/test/dummy/public/system/audios/files/full/33203ced-129f-454c-870a-dc87a2809859.aac +0 -0
  51. data/test/dummy/public/system/audios/files/full/c03bdf7c-ce26-4a31-9c23-d947b2986fa7.aac +0 -0
  52. data/test/dummy/public/system/audios/files/large/33203ced-129f-454c-870a-dc87a2809859.aac +0 -0
  53. data/test/dummy/public/system/audios/files/large/c03bdf7c-ce26-4a31-9c23-d947b2986fa7.aac +0 -0
  54. data/test/dummy/public/system/audios/files/original/33203ced-129f-454c-870a-dc87a2809859.wav +0 -0
  55. data/test/dummy/public/system/audios/files/original/c03bdf7c-ce26-4a31-9c23-d947b2986fa7.wav +0 -0
  56. data/test/dummy/public/system/audios/files/small/33203ced-129f-454c-870a-dc87a2809859.aac +0 -0
  57. data/test/dummy/public/system/audios/files/small/c03bdf7c-ce26-4a31-9c23-d947b2986fa7.aac +0 -0
  58. data/test/dummy/public/system/images/files/full/84b585ce-9430-4761-8fb1-d94302eb33bd.jpg +0 -0
  59. data/test/dummy/public/system/images/files/full/b8e19d15-db0f-42e7-9372-5f563486928a.jpg +0 -0
  60. data/test/dummy/public/system/images/files/full/baa48120-b3b9-4d2a-830a-e6ebc4db7802.jpg +0 -0
  61. data/test/dummy/public/system/images/files/full/caac47c3-f3c8-4ca9-a682-d79e8c1b5b29.jpg +0 -0
  62. data/test/dummy/public/system/images/files/large/84b585ce-9430-4761-8fb1-d94302eb33bd.jpg +0 -0
  63. data/test/dummy/public/system/images/files/large/b8e19d15-db0f-42e7-9372-5f563486928a.jpg +0 -0
  64. data/test/dummy/public/system/images/files/large/baa48120-b3b9-4d2a-830a-e6ebc4db7802.jpg +0 -0
  65. data/test/dummy/public/system/images/files/large/caac47c3-f3c8-4ca9-a682-d79e8c1b5b29.jpg +0 -0
  66. data/test/dummy/public/system/images/files/original/84b585ce-9430-4761-8fb1-d94302eb33bd.png +0 -0
  67. data/test/dummy/public/system/images/files/original/b8e19d15-db0f-42e7-9372-5f563486928a.png +0 -0
  68. data/test/dummy/public/system/images/files/original/baa48120-b3b9-4d2a-830a-e6ebc4db7802.png +0 -0
  69. data/test/dummy/public/system/images/files/original/caac47c3-f3c8-4ca9-a682-d79e8c1b5b29.png +0 -0
  70. data/test/dummy/public/system/images/files/small/84b585ce-9430-4761-8fb1-d94302eb33bd.jpg +0 -0
  71. data/test/dummy/public/system/images/files/small/b8e19d15-db0f-42e7-9372-5f563486928a.jpg +0 -0
  72. data/test/dummy/public/system/images/files/small/baa48120-b3b9-4d2a-830a-e6ebc4db7802.jpg +0 -0
  73. data/test/dummy/public/system/images/files/small/caac47c3-f3c8-4ca9-a682-d79e8c1b5b29.jpg +0 -0
  74. data/test/dummy/public/system/images/files/thumb/84b585ce-9430-4761-8fb1-d94302eb33bd.jpg +0 -0
  75. data/test/dummy/public/system/images/files/thumb/b8e19d15-db0f-42e7-9372-5f563486928a.jpg +0 -0
  76. data/test/dummy/public/system/images/files/thumb/baa48120-b3b9-4d2a-830a-e6ebc4db7802.jpg +0 -0
  77. data/test/dummy/public/system/images/files/thumb/caac47c3-f3c8-4ca9-a682-d79e8c1b5b29.jpg +0 -0
data/README.rdoc CHANGED
@@ -6,8 +6,9 @@ Attached is a Ruby on Rails file attachment tool that lets users upload to the c
6
6
 
7
7
  The gem is tested with:
8
8
 
9
- * Ruby on Rails 3.1.2
10
- * Ruby (MRI) 1.9.3 (p0)
9
+ * Ruby on Rails 3.1.7
10
+ * Ruby on Rails 3.2.7
11
+ * Ruby (MRI) 1.9.3 (p194)
11
12
  * Ruby (MRI) 1.9.2 (p290)
12
13
  * Ruby (MRI) 1.8.7 (p352)
13
14
  * Ruby (REE) 1.8.7 (2011.03)
data/lib/attached.rb CHANGED
@@ -5,6 +5,11 @@ require 'attached/railtie'
5
5
  module Attached
6
6
 
7
7
 
8
+ def self.mock!
9
+ Fog.mock!
10
+ end
11
+
12
+
8
13
  def self.included(base)
9
14
  base.extend ClassMethods
10
15
  base.class_attribute :attached_options
@@ -1,3 +1,5 @@
1
+ require 'open-uri'
2
+
1
3
  require 'identifier'
2
4
 
3
5
  require 'attached/storage'
@@ -175,6 +177,24 @@ module Attached
175
177
  end
176
178
 
177
179
 
180
+ # Assign an attachment to a file.
181
+ #
182
+ # Usage:
183
+ #
184
+ # @object.avatar.url = "https://.../file"
185
+
186
+ def url=(url)
187
+ extension = File.extname(url)
188
+
189
+ file = Tempfile.new(["", extension])
190
+ file.binmode
191
+
192
+ file << open(url).read
193
+
194
+ self.assign(file)
195
+ end
196
+
197
+
178
198
  # Save an attachment.
179
199
  #
180
200
  # Usage:
@@ -1,3 +1,3 @@
1
1
  module Attached
2
- VERSION = "0.5.3"
2
+ VERSION = "0.5.4"
3
3
  end
Binary file
File without changes
@@ -18,8 +18,8 @@ ActiveRecord::Schema.define(:version => 20101223191846) do
18
18
  t.string "file_identifier"
19
19
  t.string "file_extension"
20
20
  t.integer "file_size"
21
- t.datetime "created_at"
22
- t.datetime "updated_at"
21
+ t.datetime "created_at", :null => false
22
+ t.datetime "updated_at", :null => false
23
23
  end
24
24
 
25
25
  create_table "images", :force => true do |t|
@@ -27,8 +27,8 @@ ActiveRecord::Schema.define(:version => 20101223191846) do
27
27
  t.string "file_identifier"
28
28
  t.string "file_extension"
29
29
  t.integer "file_size"
30
- t.datetime "created_at"
31
- t.datetime "updated_at"
30
+ t.datetime "created_at", :null => false
31
+ t.datetime "updated_at", :null => false
32
32
  end
33
33
 
34
34
  end
Binary file
@@ -1,37 +1,48 @@
1
1
  Connecting to database specified by database.yml
2
-  (2.2ms) select sqlite_version(*)
3
-  (1.6ms) CREATE TABLE "audios" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "file_identifier" varchar(255), "file_extension" varchar(255), "file_size" integer, "created_at" datetime, "updated_at" datetime)
4
-  (1.3ms) CREATE TABLE "images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "file_identifier" varchar(255), "file_extension" varchar(255), "file_size" integer, "created_at" datetime, "updated_at" datetime) 
5
-  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
2
+  (0.1ms) select sqlite_version(*)
3
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
6
4
   (0.0ms) PRAGMA index_list("schema_migrations")
7
5
   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
8
-  (0.1ms) SELECT version FROM "schema_migrations"
9
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20101223191846')
10
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20101223191836')
11
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
6
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
7
+ Migrating to CreateAudios (20101223191836)
8
+  (0.0ms) begin transaction
9
+  (0.6ms) CREATE TABLE "audios" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "file_identifier" varchar(255), "file_extension" varchar(255), "file_size" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
10
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101223191836')
11
+  (0.6ms) commit transaction
12
+ Migrating to CreateImages (20101223191846)
13
+  (0.0ms) begin transaction
14
+  (0.5ms) CREATE TABLE "images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "file_identifier" varchar(255), "file_extension" varchar(255), "file_size" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
15
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101223191846')
16
+  (0.6ms) commit transaction
17
+  (0.3ms) select sqlite_version(*)
18
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
19
+  (0.0ms) PRAGMA index_list("audios")
20
+  (0.0ms) PRAGMA index_list("images")
12
21
  Connecting to database specified by database.yml
13
-  (1.9ms) select sqlite_version(*)
22
+  (2.1ms) select sqlite_version(*)
14
23
   (1.2ms) DROP TABLE "audios"
15
-  (1.0ms) CREATE TABLE "audios" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "file_identifier" varchar(255), "file_extension" varchar(255), "file_size" integer, "created_at" datetime, "updated_at" datetime) 
24
+  (0.8ms) CREATE TABLE "audios" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "file_identifier" varchar(255), "file_extension" varchar(255), "file_size" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
16
25
   (0.9ms) DROP TABLE "images"
17
-  (0.9ms) CREATE TABLE "images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "file_identifier" varchar(255), "file_extension" varchar(255), "file_size" integer, "created_at" datetime, "updated_at" datetime) 
26
+  (0.8ms) CREATE TABLE "images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "file_identifier" varchar(255), "file_extension" varchar(255), "file_size" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
18
27
   (0.1ms) SELECT version FROM "schema_migrations"
19
28
   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
20
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
21
- Migrating to CreateAudios (20101223191836)
22
- Migrating to CreateImages (20101223191846)
23
-  (0.4ms) select sqlite_version(*)
24
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
25
-  (0.0ms) PRAGMA index_list("audios")
26
-  (0.0ms) PRAGMA index_list("images")
27
29
  Connecting to database specified by database.yml
28
30
   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
29
-  (0.5ms) select sqlite_version(*)
30
-  (1.2ms) CREATE TABLE "audios" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "file_identifier" varchar(255), "file_extension" varchar(255), "file_size" integer, "created_at" datetime, "updated_at" datetime) 
31
-  (1.4ms) CREATE TABLE "images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "file_identifier" varchar(255), "file_extension" varchar(255), "file_size" integer, "created_at" datetime, "updated_at" datetime)
31
+  (0.3ms) select sqlite_version(*)
32
+  (1.1ms) CREATE TABLE "audios" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "file_identifier" varchar(255), "file_extension" varchar(255), "file_size" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
33
+  (0.8ms) CREATE TABLE "images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "file_identifier" varchar(255), "file_extension" varchar(255), "file_size" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
32
34
   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
33
35
   (0.0ms) PRAGMA index_list("schema_migrations")
34
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
36
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
35
37
   (0.1ms) SELECT version FROM "schema_migrations"
36
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20101223191846')
37
-  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20101223191836')
38
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20101223191846')
39
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20101223191836')
40
+ Connecting to database specified by database.yml
41
+ Connecting to database specified by database.yml
42
+ Connecting to database specified by database.yml
43
+ Connecting to database specified by database.yml
44
+ Connecting to database specified by database.yml
45
+ Connecting to database specified by database.yml
46
+ Connecting to database specified by database.yml
47
+ Connecting to database specified by database.yml
48
+ Connecting to database specified by database.yml
@@ -1,152 +1,34 @@
1
1
  Connecting to database specified by database.yml
2
-  (0.5ms) begin transaction
2
+  (0.6ms) begin transaction
3
3
   (0.1ms) rollback transaction
4
4
   (0.1ms) begin transaction
5
-  (0.1ms) rollback transaction
6
-  (0.0ms) begin transaction
7
-  (0.1ms) rollback transaction
8
-  (0.0ms) begin transaction
9
-  (0.1ms) rollback transaction
10
-  (0.0ms) begin transaction
11
-  (0.1ms) rollback transaction
12
-  (0.1ms) begin transaction
13
-  (0.0ms) rollback transaction
14
-  (0.0ms) begin transaction
15
-  (0.0ms) rollback transaction
16
-  (0.1ms) begin transaction
17
-  (0.0ms) rollback transaction
18
-  (0.1ms) begin transaction
19
-  (0.0ms) rollback transaction
20
-  (0.1ms) begin transaction
21
-  (0.0ms) rollback transaction
22
-  (0.1ms) begin transaction
23
-  (0.0ms) rollback transaction
24
-  (0.1ms) begin transaction
25
-  (0.0ms) rollback transaction
26
-  (0.1ms) begin transaction
27
-  (0.0ms) rollback transaction
28
-  (0.1ms) begin transaction
29
-  (0.0ms) rollback transaction
30
-  (0.1ms) begin transaction
31
-  (0.1ms) rollback transaction
32
-  (0.1ms) begin transaction
33
-  (0.0ms) rollback transaction
34
-  (0.0ms) begin transaction
35
-  (0.0ms) rollback transaction
36
-  (0.0ms) begin transaction
37
-  (0.0ms) rollback transaction
38
-  (0.0ms) begin transaction
39
-  (0.0ms) rollback transaction
40
-  (0.0ms) begin transaction
41
-  (0.0ms) rollback transaction
42
-  (0.1ms) begin transaction
43
-  (0.0ms) rollback transaction
44
-  (0.1ms) begin transaction
45
-  (0.0ms) rollback transaction
46
-  (0.1ms) begin transaction
47
-  (0.0ms) rollback transaction
48
-  (0.1ms) begin transaction
49
-  (0.0ms) rollback transaction
50
-  (0.1ms) begin transaction
51
-  (0.1ms) rollback transaction
52
-  (0.1ms) begin transaction
53
-  (0.0ms) rollback transaction
54
-  (0.1ms) begin transaction
55
-  (0.0ms) rollback transaction
56
-  (0.1ms) begin transaction
57
- Processing by MainController#index as HTML
58
- Completed 200 OK in 67ms (Views: 66.8ms | ActiveRecord: 0.0ms)
59
-  (0.1ms) rollback transaction
60
- Connecting to database specified by database.yml
61
-  (0.4ms) begin transaction
62
-  (0.1ms) rollback transaction
63
-  (0.1ms) begin transaction
64
-  (0.1ms) rollback transaction
65
-  (0.0ms) begin transaction
66
-  (0.1ms) rollback transaction
67
-  (0.0ms) begin transaction
68
-  (0.1ms) rollback transaction
69
-  (0.0ms) begin transaction
70
-  (0.0ms) rollback transaction
71
-  (0.0ms) begin transaction
72
-  (0.0ms) rollback transaction
73
-  (0.0ms) begin transaction
74
-  (0.1ms) rollback transaction
75
-  (0.1ms) begin transaction
76
-  (0.0ms) rollback transaction
77
-  (0.1ms) begin transaction
78
-  (0.0ms) rollback transaction
79
-  (0.1ms) begin transaction
80
-  (0.0ms) rollback transaction
81
-  (0.0ms) begin transaction
82
-  (0.0ms) rollback transaction
83
-  (0.1ms) begin transaction
84
-  (0.0ms) rollback transaction
85
-  (0.1ms) begin transaction
86
-  (0.0ms) rollback transaction
87
-  (0.1ms) begin transaction
88
-  (0.0ms) rollback transaction
89
-  (0.1ms) begin transaction
90
-  (0.0ms) rollback transaction
91
-  (0.0ms) begin transaction
92
-  (0.0ms) rollback transaction
93
-  (0.0ms) begin transaction
94
-  (0.0ms) rollback transaction
95
-  (0.0ms) begin transaction
96
-  (0.0ms) rollback transaction
97
-  (0.0ms) begin transaction
98
-  (0.0ms) rollback transaction
99
-  (0.0ms) begin transaction
100
-  (0.0ms) rollback transaction
101
-  (0.1ms) begin transaction
102
-  (0.0ms) rollback transaction
103
-  (0.1ms) begin transaction
104
-  (0.0ms) rollback transaction
105
-  (0.1ms) begin transaction
106
-  (0.0ms) rollback transaction
107
-  (0.1ms) begin transaction
108
-  (0.0ms) rollback transaction
109
-  (0.0ms) begin transaction
110
-  (0.0ms) rollback transaction
111
-  (0.1ms) begin transaction
112
-  (0.0ms) rollback transaction
113
-  (0.1ms) begin transaction
114
-  (0.0ms) rollback transaction
115
-  (0.1ms) begin transaction
116
- Processing by MainController#index as HTML
117
- Completed 200 OK in 49ms (Views: 48.4ms | ActiveRecord: 0.0ms)
118
-  (0.1ms) rollback transaction
119
- Connecting to database specified by database.yml
120
-  (0.5ms) begin transaction
121
-  (0.1ms) rollback transaction
5
+  (0.2ms) rollback transaction
122
6
   (0.1ms) begin transaction
123
-  (0.1ms) rollback transaction
124
-  (0.0ms) begin transaction
125
7
   (0.1ms) SAVEPOINT active_record_1
126
8
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
127
-  (0.0ms) rollback transaction
128
-  (0.0ms) begin transaction
129
-  (0.1ms) rollback transaction
130
-  (0.0ms) begin transaction
131
-  (0.1ms) rollback transaction
9
+  (0.2ms) rollback transaction
132
10
   (0.1ms) begin transaction
133
11
   (0.2ms) rollback transaction
134
12
   (0.1ms) begin transaction
135
13
   (0.1ms) rollback transaction
136
14
   (0.1ms) begin transaction
137
- Fixture Delete (0.7ms) DELETE FROM "audios"
138
- Fixture Insert (0.5ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2012-07-16 05:42:22', '2012-07-16 05:42:22', 410859157)
139
- Fixture Delete (0.3ms) DELETE FROM "images"
140
- Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2012-07-16 05:42:22', '2012-07-16 05:42:22', 87884898)
141
-  (1.0ms) commit transaction
15
+  (0.1ms) rollback transaction
142
16
   (0.1ms) begin transaction
17
+  (0.2ms) rollback transaction
18
+  (0.2ms) begin transaction
19
+ Fixture Delete (0.5ms) DELETE FROM "audios"
20
+ Fixture Insert (15.6ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2012-07-28 18:54:05', '2012-07-28 18:54:05', 410859157)
21
+ Fixture Delete (0.2ms) DELETE FROM "images"
22
+ Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2012-07-28 18:54:05', '2012-07-28 18:54:05', 87884898)
23
+  (3.9ms) commit transaction
24
+  (4.3ms) begin transaction
143
25
  Audio Load (0.5ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
144
-  (0.2ms) SELECT COUNT(*) FROM "audios" 
26
+  (0.4ms) SELECT COUNT(*) FROM "audios" 
145
27
  Processing by AudiosController#create as HTML
146
- Parameters: {"audio"=>{"name"=>"Audio", "file"=>#<Rack::Test::UploadedFile:0x007f92fb841738 @content_type="audio/wav", @original_filename="audio.wav", @tempfile=#<File:/var/folders/pv/qnsr0jxs5sx937gln5xmfprm0000gn/T/audio.wav20120715-43658-b8d2yz>>}}
147
- Completed 500 Internal Server Error in 8ms
148
-  (0.2ms) rollback transaction
149
-  (0.0ms) begin transaction
28
+ Parameters: {"audio"=>{"name"=>"Audio", "file"=>#<Rack::Test::UploadedFile:0x007f83e15bd148 @content_type="audio/wav", @original_filename="audio.wav", @tempfile=#<File:/var/folders/cz/w72mmkxj48q1hn3n3xbyr7c80000gn/T/audio.wav20120728-18896-1os1ej7>>}}
29
+ Completed 500 Internal Server Error in 9ms
30
+  (0.3ms) rollback transaction
31
+  (0.1ms) begin transaction
150
32
  Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
151
33
   (0.2ms) SELECT COUNT(*) FROM "audios" 
152
34
  Processing by AudiosController#destroy as HTML
@@ -154,341 +36,281 @@ Processing by AudiosController#destroy as HTML
154
36
  Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
155
37
   (0.1ms) SAVEPOINT active_record_1
156
38
  [attached] destroy attached
157
- SQL (0.4ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]
158
-  (0.0ms) RELEASE SAVEPOINT active_record_1
39
+ SQL (0.5ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]
40
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159
41
  Redirected to http://test.host/audios
160
- Completed 302 Found in 24ms (ActiveRecord: 0.0ms)
42
+ Completed 302 Found in 28ms (ActiveRecord: 0.0ms)
161
43
   (0.2ms) SELECT COUNT(*) FROM "audios"
162
-  (0.3ms) rollback transaction
163
-  (0.0ms) begin transaction
44
+  (0.5ms) rollback transaction
45
+  (0.1ms) begin transaction
164
46
  Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
165
47
  Processing by AudiosController#edit as HTML
166
48
  Parameters: {"id"=>"410859157"}
167
49
  Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
168
- Rendered audios/_form.html.haml (7.9ms)
169
- Completed 200 OK in 31ms (Views: 29.0ms | ActiveRecord: 0.1ms)
50
+ Rendered audios/_form.html.haml (9.0ms)
51
+ Completed 200 OK in 27ms (Views: 24.6ms | ActiveRecord: 0.1ms)
170
52
   (0.1ms) rollback transaction
171
-  (0.1ms) begin transaction
53
+  (0.0ms) begin transaction
172
54
  Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
173
55
  Processing by AudiosController#index as HTML
174
- Audio Load (0.3ms) SELECT "audios".* FROM "audios"
175
- Completed 200 OK in 15ms (Views: 13.5ms | ActiveRecord: 0.3ms)
56
+ Audio Load (0.2ms) SELECT "audios".* FROM "audios"
57
+ Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.2ms)
176
58
   (0.1ms) rollback transaction
177
59
   (0.0ms) begin transaction
178
- Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
60
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
179
61
  Processing by AudiosController#new as HTML
180
- Rendered audios/_form.html.haml (4.5ms)
181
- Completed 200 OK in 13ms (Views: 11.6ms | ActiveRecord: 0.0ms)
182
-  (0.1ms) rollback transaction
183
-  (0.0ms) begin transaction
62
+ Rendered audios/_form.html.haml (4.4ms)
63
+ Completed 200 OK in 12ms (Views: 11.2ms | ActiveRecord: 0.0ms)
64
+  (0.2ms) rollback transaction
65
+  (0.1ms) begin transaction
184
66
  Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
185
67
  Processing by AudiosController#show as HTML
186
68
  Parameters: {"id"=>"410859157"}
187
- Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
188
- Completed 200 OK in 10ms (Views: 8.0ms | ActiveRecord: 0.2ms)
69
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
70
+ Completed 200 OK in 10ms (Views: 7.8ms | ActiveRecord: 0.1ms)
189
71
   (0.1ms) rollback transaction
190
-  (0.0ms) begin transaction
191
- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
72
+  (0.1ms) begin transaction
73
+ Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
192
74
  Processing by AudiosController#update as HTML
193
- Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2012-07-16 05:42:22 UTC", "updated_at"=>"2012-07-16 05:42:22 UTC"}, "id"=>"410859157"}
75
+ Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2012-07-28 18:54:05 UTC", "updated_at"=>"2012-07-28 18:54:05 UTC"}, "id"=>"410859157"}
194
76
  Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
195
77
  WARNING: Can't mass-assign protected attributes: id
196
78
   (0.1ms) SAVEPOINT active_record_1
197
79
  [attached] save attached
198
80
   (0.0ms) RELEASE SAVEPOINT active_record_1
199
81
  Redirected to http://test.host/audios/410859157
200
- Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
201
-  (0.1ms) rollback transaction
202
-  (0.1ms) begin transaction
203
-  (0.2ms) SAVEPOINT active_record_1
204
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
82
+ Completed 302 Found in 10ms (ActiveRecord: 0.0ms)
205
83
   (0.1ms) rollback transaction
206
84
   (0.1ms) begin transaction
207
-  (0.1ms) SAVEPOINT active_record_1
208
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
209
-  (0.0ms) rollback transaction
85
+  (0.2ms) rollback transaction
210
86
   (0.0ms) begin transaction
211
87
   (0.1ms) SAVEPOINT active_record_1
212
88
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
213
89
   (0.0ms) rollback transaction
90
+  (0.1ms) begin transaction
91
+  (0.1ms) rollback transaction
214
92
   (0.0ms) begin transaction
215
-  (0.1ms) SAVEPOINT active_record_1
216
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
217
93
   (0.1ms) rollback transaction
218
94
   (0.1ms) begin transaction
219
-  (0.1ms) SAVEPOINT active_record_1
220
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
221
-  (0.0ms) rollback transaction
95
+  (0.1ms) rollback transaction
222
96
   (0.0ms) begin transaction
223
-  (0.1ms) SAVEPOINT active_record_1
224
- [attached] save attached
225
- SQL (1.0ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Jul 2012 05:42:23 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "caac47c3-f3c8-4ca9-a682-d79e8c1b5b29"], ["file_size", 399085], ["name", nil], ["updated_at", Mon, 16 Jul 2012 05:42:23 UTC +00:00]]
226
-  (0.1ms) RELEASE SAVEPOINT active_record_1
227
-  (0.3ms) rollback transaction
228
-  (0.1ms) begin transaction
229
- Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
230
-  (0.1ms) SELECT COUNT(*) FROM "images"
97
+  (0.1ms) rollback transaction
98
+  (0.1ms) begin transaction
99
+ Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
100
+  (0.1ms) SELECT COUNT(*) FROM "images" 
231
101
  Processing by ImagesController#create as HTML
232
- Parameters: {"image"=>{"name"=>"Image", "file"=>#<Rack::Test::UploadedFile:0x007f92fc97dee8 @content_type="image/png", @original_filename="image.png", @tempfile=#<File:/var/folders/pv/qnsr0jxs5sx937gln5xmfprm0000gn/T/image.png20120715-43658-1efx15q>>}}
233
-  (0.2ms) SAVEPOINT active_record_1
234
- [attached] save attached
235
- SQL (1.5ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Jul 2012 05:42:23 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "7a1dbda7-f7f7-4b13-a7ae-be38c43f76a3"], ["file_size", 399085], ["name", "Image"], ["updated_at", Mon, 16 Jul 2012 05:42:23 UTC +00:00]]
236
-  (0.1ms) RELEASE SAVEPOINT active_record_1
237
-  (0.0ms) SAVEPOINT active_record_1
238
- [attached] save attached
239
-  (0.1ms) RELEASE SAVEPOINT active_record_1
240
- Redirected to http://test.host/images/87884899
241
- Completed 302 Found in 265ms (ActiveRecord: 0.0ms)
242
-  (0.1ms) SELECT COUNT(*) FROM "images"
243
-  (1.9ms) rollback transaction
244
-  (0.1ms) begin transaction
245
- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
246
-  (0.1ms) SELECT COUNT(*) FROM "images"
102
+ Parameters: {"image"=>{"name"=>"Image", "file"=>#<Rack::Test::UploadedFile:0x007f83e45f99d8 @content_type="image/png", @original_filename="image.png", @tempfile=#<File:/var/folders/cz/w72mmkxj48q1hn3n3xbyr7c80000gn/T/image.png20120728-18896-11suuej>>}}
103
+ Completed 500 Internal Server Error in 8ms
104
+  (0.2ms) rollback transaction
105
+  (0.0ms) begin transaction
106
+ Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
107
+  (0.1ms) SELECT COUNT(*) FROM "images" 
247
108
  Processing by ImagesController#destroy as HTML
248
109
  Parameters: {"id"=>"87884898"}
249
- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
250
-  (0.1ms) SAVEPOINT active_record_1
110
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
111
+  (0.1ms) SAVEPOINT active_record_1
251
112
  [attached] destroy attached
252
- SQL (0.4ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]
253
-  (0.0ms) RELEASE SAVEPOINT active_record_1
113
+ SQL (0.4ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]
114
+  (0.1ms) RELEASE SAVEPOINT active_record_1
254
115
  Redirected to http://test.host/images
255
116
  Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
256
-  (0.1ms) SELECT COUNT(*) FROM "images" 
257
-  (0.2ms) rollback transaction
258
-  (0.0ms) begin transaction
259
- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
117
+  (0.1ms) SELECT COUNT(*) FROM "images"
118
+  (0.4ms) rollback transaction
119
+  (0.0ms) begin transaction
120
+ Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
260
121
  Processing by ImagesController#edit as HTML
261
122
  Parameters: {"id"=>"87884898"}
262
- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
263
- Rendered images/_form.html.haml (7.5ms)
264
- Completed 200 OK in 17ms (Views: 14.4ms | ActiveRecord: 0.1ms)
265
-  (0.1ms) rollback transaction
266
-  (0.1ms) begin transaction
267
- Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
123
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
124
+ Rendered images/_form.html.haml (8.3ms)
125
+ Completed 200 OK in 17ms (Views: 15.9ms | ActiveRecord: 0.1ms)
126
+  (0.1ms) rollback transaction
127
+  (0.0ms) begin transaction
128
+ Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
268
129
  Processing by ImagesController#index as HTML
269
- Image Load (0.2ms) SELECT "images".* FROM "images" 
270
- Completed 200 OK in 13ms (Views: 11.0ms | ActiveRecord: 0.2ms)
130
+ Image Load (0.2ms) SELECT "images".* FROM "images"
131
+ Completed 200 OK in 95ms (Views: 93.0ms | ActiveRecord: 0.2ms)
132
+  (0.1ms) rollback transaction
133
+  (0.0ms) begin transaction
134
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
135
+ Processing by ImagesController#new as HTML
136
+ Rendered images/_form.html.haml (2.8ms)
137
+ Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.0ms)
271
138
   (0.1ms) rollback transaction
272
139
   (0.0ms) begin transaction
273
140
  Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
274
- Processing by ImagesController#new as HTML
275
- Rendered images/_form.html.haml (3.8ms)
276
- Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.0ms)
277
-  (0.1ms) rollback transaction
278
-  (0.1ms) begin transaction
279
- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
280
141
  Processing by ImagesController#show as HTML
281
142
  Parameters: {"id"=>"87884898"}
282
- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
283
- Completed 200 OK in 10ms (Views: 8.2ms | ActiveRecord: 0.1ms)
284
-  (0.1ms) rollback transaction
285
-  (0.1ms) begin transaction
286
- Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
143
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
144
+ Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.1ms)
145
+  (0.1ms) rollback transaction
146
+  (0.1ms) begin transaction
147
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
287
148
  Processing by ImagesController#update as HTML
288
- Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2012-07-16 05:42:22 UTC", "updated_at"=>"2012-07-16 05:42:22 UTC"}, "id"=>"87884898"}
289
- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
149
+ Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2012-07-28 18:54:05 UTC", "updated_at"=>"2012-07-28 18:54:05 UTC"}, "id"=>"87884898"}
150
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
290
151
  Redirected to http://test.host/images/87884898
291
- Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
292
-  (0.1ms) rollback transaction
293
-  (0.1ms) begin transaction
152
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
153
+  (0.1ms) rollback transaction
154
+  (0.1ms) begin transaction
294
155
  Processing by MainController#index as HTML
295
- Completed 200 OK in 9ms (Views: 8.6ms | ActiveRecord: 0.0ms)
296
-  (0.1ms) rollback transaction
156
+ Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)
157
+  (0.1ms) rollback transaction
297
158
  Connecting to database specified by database.yml
298
159
   (0.4ms) begin transaction
299
160
   (0.0ms) rollback transaction
300
161
   (0.0ms) begin transaction
162
+  (0.3ms) rollback transaction
163
+  (0.1ms) begin transaction
301
164
   (0.1ms) SAVEPOINT active_record_1
302
165
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
303
166
   (0.1ms) rollback transaction
167
+  (0.1ms) begin transaction
168
+  (0.1ms) rollback transaction
304
169
   (0.0ms) begin transaction
305
-  (0.0ms) SAVEPOINT active_record_1
306
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
307
-  (0.0ms) rollback transaction
308
-  (0.0ms) begin transaction
309
-  (0.1ms) SAVEPOINT active_record_1
310
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
311
-  (0.0ms) rollback transaction
312
-  (0.0ms) begin transaction
313
-  (0.2ms) SAVEPOINT active_record_1
314
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
315
-  (0.0ms) rollback transaction
316
-  (0.0ms) begin transaction
317
-  (0.2ms) SAVEPOINT active_record_1
318
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
319
170
   (0.1ms) rollback transaction
320
171
   (0.1ms) begin transaction
321
-  (0.2ms) SAVEPOINT active_record_1
322
- [attached] save attached
323
- SQL (9.4ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Jul 2012 05:43:52 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "33203ced-129f-454c-870a-dc87a2809859"], ["file_size", 1055276], ["name", nil], ["updated_at", Mon, 16 Jul 2012 05:43:52 UTC +00:00]]
324
-  (0.1ms) RELEASE SAVEPOINT active_record_1
325
-  (0.3ms) rollback transaction
326
-  (0.1ms) begin transaction
327
- Fixture Delete (0.3ms) DELETE FROM "audios"
328
- Fixture Insert (0.2ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2012-07-16 05:43:52', '2012-07-16 05:43:52', 410859157)
329
- Fixture Delete (0.1ms) DELETE FROM "images"
330
- Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2012-07-16 05:43:52', '2012-07-16 05:43:52', 87884898)
331
-  (1.2ms) commit transaction
332
-  (0.1ms) begin transaction
333
- Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
334
-  (0.2ms) SELECT COUNT(*) FROM "audios"
172
+  (0.1ms) rollback transaction
173
+  (0.0ms) begin transaction
174
+  (0.2ms) rollback transaction
175
+  (0.2ms) begin transaction
176
+ Fixture Delete (0.5ms) DELETE FROM "audios"
177
+ Fixture Insert (0.3ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2012-07-28 18:56:20', '2012-07-28 18:56:20', 410859157)
178
+ Fixture Delete (0.2ms) DELETE FROM "images"
179
+ Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2012-07-28 18:56:20', '2012-07-28 18:56:20', 87884898)
180
+  (4.4ms) commit transaction
181
+  (0.1ms) begin transaction
182
+ Audio Load (0.6ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
183
+  (0.4ms) SELECT COUNT(*) FROM "audios" 
335
184
  Processing by AudiosController#create as HTML
336
- Parameters: {"audio"=>{"name"=>"Audio", "file"=>#<Rack::Test::UploadedFile:0x007fdebab011c0 @content_type="audio/wav", @original_filename="audio.wav", @tempfile=#<File:/var/folders/pv/qnsr0jxs5sx937gln5xmfprm0000gn/T/audio.wav20120715-49463-as2kuf>>}}
337
-  (0.4ms) SAVEPOINT active_record_1
338
- [attached] save attached
339
- SQL (0.6ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Jul 2012 05:43:53 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "2b5e47b9-b441-4c49-a98f-5bf89f19848e"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Mon, 16 Jul 2012 05:43:53 UTC +00:00]]
340
-  (0.1ms) RELEASE SAVEPOINT active_record_1
341
- Redirected to http://test.host/audios/410859158
342
- Completed 302 Found in 684ms (ActiveRecord: 0.0ms)
343
-  (0.2ms) SELECT COUNT(*) FROM "audios"
344
-  (0.5ms) rollback transaction
345
-  (0.1ms) begin transaction
346
- Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
347
-  (0.2ms) SELECT COUNT(*) FROM "audios"
185
+ Parameters: {"audio"=>{"name"=>"Audio", "file"=>#<Rack::Test::UploadedFile:0x007fc5f42c34d8 @content_type="audio/wav", @original_filename="audio.wav", @tempfile=#<File:/var/folders/cz/w72mmkxj48q1hn3n3xbyr7c80000gn/T/audio.wav20120728-19027-1gqi5u8>>}}
186
+ Completed 500 Internal Server Error in 8ms
187
+  (0.2ms) rollback transaction
188
+  (0.1ms) begin transaction
189
+ Audio Load (0.3ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
190
+  (0.1ms) SELECT COUNT(*) FROM "audios" 
348
191
  Processing by AudiosController#destroy as HTML
349
192
  Parameters: {"id"=>"410859157"}
350
- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
351
-  (0.1ms) SAVEPOINT active_record_1
193
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
194
+  (0.1ms) SAVEPOINT active_record_1
352
195
  [attached] destroy attached
353
- SQL (0.4ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]
354
-  (0.1ms) RELEASE SAVEPOINT active_record_1
196
+ SQL (0.4ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]
197
+  (0.0ms) RELEASE SAVEPOINT active_record_1
355
198
  Redirected to http://test.host/audios
356
- Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
357
-  (0.1ms) SELECT COUNT(*) FROM "audios" 
358
-  (0.4ms) rollback transaction
359
-  (0.1ms) begin transaction
360
- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
199
+ Completed 302 Found in 35ms (ActiveRecord: 0.0ms)
200
+  (0.2ms) SELECT COUNT(*) FROM "audios"
201
+  (0.5ms) rollback transaction
202
+  (0.1ms) begin transaction
203
+ Audio Load (0.5ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
361
204
  Processing by AudiosController#edit as HTML
362
205
  Parameters: {"id"=>"410859157"}
363
- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
364
- Rendered audios/_form.html.haml (5.4ms)
365
- Completed 200 OK in 21ms (Views: 19.1ms | ActiveRecord: 0.1ms)
366
-  (0.1ms) rollback transaction
367
-  (0.0ms) begin transaction
368
- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
369
- Processing by AudiosController#index as HTML
370
- Audio Load (0.2ms) SELECT "audios".* FROM "audios" 
371
- Completed 200 OK in 10ms (Views: 8.9ms | ActiveRecord: 0.2ms)
372
-  (0.1ms) rollback transaction
373
-  (0.0ms) begin transaction
374
- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
375
- Processing by AudiosController#new as HTML
376
- Rendered audios/_form.html.haml (2.5ms)
377
- Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms)
206
+ Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
207
+ Rendered audios/_form.html.haml (8.8ms)
208
+ Completed 200 OK in 28ms (Views: 25.4ms | ActiveRecord: 0.2ms)
378
209
   (0.1ms) rollback transaction
379
210
   (0.0ms) begin transaction
380
- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
211
+ Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
212
+ Processing by AudiosController#index as HTML
213
+ Audio Load (0.3ms) SELECT "audios".* FROM "audios"
214
+ Completed 200 OK in 15ms (Views: 13.1ms | ActiveRecord: 0.3ms)
215
+  (0.2ms) rollback transaction
216
+  (0.1ms) begin transaction
217
+ Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
218
+ Processing by AudiosController#new as HTML
219
+ Rendered audios/_form.html.haml (4.2ms)
220
+ Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.0ms)
221
+  (0.1ms) rollback transaction
222
+  (0.1ms) begin transaction
223
+ Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
381
224
  Processing by AudiosController#show as HTML
382
225
  Parameters: {"id"=>"410859157"}
383
- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
384
- Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.1ms)
385
-  (0.1ms) rollback transaction
386
-  (0.0ms) begin transaction
387
- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
226
+ Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
227
+ Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.2ms)
228
+  (0.1ms) rollback transaction
229
+  (0.0ms) begin transaction
230
+ Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
388
231
  Processing by AudiosController#update as HTML
389
- Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2012-07-16 05:43:52 UTC", "updated_at"=>"2012-07-16 05:43:52 UTC"}, "id"=>"410859157"}
390
- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
232
+ Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2012-07-28 18:56:20 UTC", "updated_at"=>"2012-07-28 18:56:20 UTC"}, "id"=>"410859157"}
233
+ Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
391
234
  WARNING: Can't mass-assign protected attributes: id
392
-  (0.1ms) SAVEPOINT active_record_1
393
- [attached] save attached
394
-  (0.0ms) RELEASE SAVEPOINT active_record_1
395
- Redirected to http://test.host/audios/410859157
396
- Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
397
-  (0.1ms) rollback transaction
398
-  (0.1ms) begin transaction
399
-  (0.2ms) SAVEPOINT active_record_1
400
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
401
-  (0.1ms) rollback transaction
402
-  (0.1ms) begin transaction
403
-  (0.1ms) SAVEPOINT active_record_1
404
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
405
-  (0.1ms) rollback transaction
406
-  (0.0ms) begin transaction
407
-  (0.3ms) SAVEPOINT active_record_1
408
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
409
-  (0.0ms) rollback transaction
410
-  (0.1ms) begin transaction
411
-  (0.2ms) SAVEPOINT active_record_1
412
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
413
-  (0.0ms) rollback transaction
414
-  (0.0ms) begin transaction
415
-  (0.4ms) SAVEPOINT active_record_1
416
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
417
-  (0.0ms) rollback transaction
418
-  (0.0ms) begin transaction
419
-  (0.2ms) SAVEPOINT active_record_1
235
+  (0.1ms) SAVEPOINT active_record_1
420
236
  [attached] save attached
421
- SQL (0.8ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Jul 2012 05:43:53 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "b8e19d15-db0f-42e7-9372-5f563486928a"], ["file_size", 399085], ["name", nil], ["updated_at", Mon, 16 Jul 2012 05:43:53 UTC +00:00]]
422
237
   (0.1ms) RELEASE SAVEPOINT active_record_1
423
-  (0.3ms) rollback transaction
238
+ Redirected to http://test.host/audios/410859157
239
+ Completed 302 Found in 10ms (ActiveRecord: 0.0ms)
240
+  (0.1ms) rollback transaction
424
241
   (0.1ms) begin transaction
425
- Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
242
+  (0.1ms) rollback transaction
243
+  (0.1ms) begin transaction
244
+  (0.1ms) SAVEPOINT active_record_1
245
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
246
+  (0.1ms) rollback transaction
247
+  (0.1ms) begin transaction
248
+  (0.1ms) rollback transaction
249
+  (0.1ms) begin transaction
250
+  (0.1ms) rollback transaction
251
+  (0.0ms) begin transaction
252
+  (0.1ms) rollback transaction
253
+  (0.1ms) begin transaction
254
+  (0.1ms) rollback transaction
255
+  (0.1ms) begin transaction
256
+ Image Load (0.4ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
426
257
   (0.1ms) SELECT COUNT(*) FROM "images" 
427
258
  Processing by ImagesController#create as HTML
428
- Parameters: {"image"=>{"name"=>"Image", "file"=>#<Rack::Test::UploadedFile:0x007fdebbcc5a00 @content_type="image/png", @original_filename="image.png", @tempfile=#<File:/var/folders/pv/qnsr0jxs5sx937gln5xmfprm0000gn/T/image.png20120715-49463-10l1in1>>}}
429
-  (0.3ms) SAVEPOINT active_record_1
430
- [attached] save attached
431
- SQL (0.6ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Jul 2012 05:43:53 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "baa48120-b3b9-4d2a-830a-e6ebc4db7802"], ["file_size", 399085], ["name", "Image"], ["updated_at", Mon, 16 Jul 2012 05:43:53 UTC +00:00]]
432
-  (0.0ms) RELEASE SAVEPOINT active_record_1
433
-  (0.0ms) SAVEPOINT active_record_1
434
- [attached] save attached
435
-  (0.1ms) RELEASE SAVEPOINT active_record_1
436
- Redirected to http://test.host/images/87884899
437
- Completed 302 Found in 274ms (ActiveRecord: 0.0ms)
438
-  (0.1ms) SELECT COUNT(*) FROM "images" 
439
-  (0.6ms) rollback transaction
259
+ Parameters: {"image"=>{"name"=>"Image", "file"=>#<Rack::Test::UploadedFile:0x007fc5f4797f18 @content_type="image/png", @original_filename="image.png", @tempfile=#<File:/var/folders/cz/w72mmkxj48q1hn3n3xbyr7c80000gn/T/image.png20120728-19027-1f5titz>>}}
260
+ Completed 500 Internal Server Error in 8ms
261
+  (0.2ms) rollback transaction
440
262
   (0.0ms) begin transaction
441
- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
442
-  (0.1ms) SELECT COUNT(*) FROM "images" 
263
+ Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
264
+  (0.2ms) SELECT COUNT(*) FROM "images" 
443
265
  Processing by ImagesController#destroy as HTML
444
266
  Parameters: {"id"=>"87884898"}
445
267
  Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
446
-  (0.0ms) SAVEPOINT active_record_1
268
+  (0.1ms) SAVEPOINT active_record_1
447
269
  [attached] destroy attached
448
- SQL (0.3ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]
449
-  (0.0ms) RELEASE SAVEPOINT active_record_1
270
+ SQL (0.4ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]
271
+  (0.1ms) RELEASE SAVEPOINT active_record_1
450
272
  Redirected to http://test.host/images
451
- Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
452
-  (0.1ms) SELECT COUNT(*) FROM "images"
453
-  (0.6ms) rollback transaction
454
-  (0.0ms) begin transaction
455
- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
273
+ Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
274
+  (0.2ms) SELECT COUNT(*) FROM "images"
275
+  (0.5ms) rollback transaction
276
+  (0.1ms) begin transaction
277
+ Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
456
278
  Processing by ImagesController#edit as HTML
457
279
  Parameters: {"id"=>"87884898"}
458
280
  Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
459
- Rendered images/_form.html.haml (5.3ms)
460
- Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.1ms)
281
+ Rendered images/_form.html.haml (8.8ms)
282
+ Completed 200 OK in 17ms (Views: 15.3ms | ActiveRecord: 0.1ms)
461
283
   (0.1ms) rollback transaction
462
-  (0.0ms) begin transaction
284
+  (0.1ms) begin transaction
463
285
  Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
464
286
  Processing by ImagesController#index as HTML
465
287
  Image Load (0.2ms) SELECT "images".* FROM "images"
466
- Completed 200 OK in 11ms (Views: 9.6ms | ActiveRecord: 0.2ms)
288
+ Completed 200 OK in 98ms (Views: 96.8ms | ActiveRecord: 0.2ms)
467
289
   (0.1ms) rollback transaction
468
290
   (0.0ms) begin transaction
469
291
  Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
470
292
  Processing by ImagesController#new as HTML
471
- Rendered images/_form.html.haml (2.9ms)
472
- Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.0ms)
473
-  (0.2ms) rollback transaction
474
-  (0.0ms) begin transaction
293
+ Rendered images/_form.html.haml (3.0ms)
294
+ Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.0ms)
295
+  (0.1ms) rollback transaction
296
+  (0.1ms) begin transaction
475
297
  Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
476
298
  Processing by ImagesController#show as HTML
477
299
  Parameters: {"id"=>"87884898"}
478
300
  Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
479
- Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.1ms)
301
+ Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.1ms)
480
302
   (0.1ms) rollback transaction
481
303
   (0.0ms) begin transaction
482
304
  Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
483
305
  Processing by ImagesController#update as HTML
484
- Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2012-07-16 05:43:52 UTC", "updated_at"=>"2012-07-16 05:43:52 UTC"}, "id"=>"87884898"}
306
+ Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2012-07-28 18:56:20 UTC", "updated_at"=>"2012-07-28 18:56:20 UTC"}, "id"=>"87884898"}
485
307
  Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
486
308
  Redirected to http://test.host/images/87884898
487
309
  Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
488
310
   (0.1ms) rollback transaction
489
311
   (0.1ms) begin transaction
490
312
  Processing by MainController#index as HTML
491
- Completed 200 OK in 5ms (Views: 5.0ms | ActiveRecord: 0.0ms)
313
+ Completed 200 OK in 8ms (Views: 7.8ms | ActiveRecord: 0.0ms)
492
314
   (0.1ms) rollback transaction
493
315
  Connecting to database specified by database.yml
494
316
   (0.4ms) begin transaction
@@ -497,45 +319,45 @@ Connecting to database specified by database.yml
497
319
   (0.1ms) SAVEPOINT active_record_1
498
320
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
499
321
   (0.1ms) rollback transaction
500
-  (0.1ms) begin transaction
501
-  (0.1ms) SAVEPOINT active_record_1
322
+  (0.0ms) begin transaction
323
+  (0.0ms) SAVEPOINT active_record_1
502
324
   (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
503
325
   (0.0ms) rollback transaction
504
326
   (0.0ms) begin transaction
505
-  (0.2ms) SAVEPOINT active_record_1
327
+  (0.1ms) SAVEPOINT active_record_1
506
328
   (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
507
329
   (0.0ms) rollback transaction
508
330
   (0.0ms) begin transaction
509
-  (0.2ms) SAVEPOINT active_record_1
331
+  (0.1ms) SAVEPOINT active_record_1
510
332
   (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
511
333
   (0.0ms) rollback transaction
512
334
   (0.0ms) begin transaction
513
-  (0.3ms) SAVEPOINT active_record_1
514
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
335
+  (0.1ms) SAVEPOINT active_record_1
336
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
515
337
   (0.0ms) rollback transaction
516
338
   (0.0ms) begin transaction
517
-  (0.3ms) SAVEPOINT active_record_1
339
+  (0.1ms) SAVEPOINT active_record_1
518
340
  [attached] save attached
519
- SQL (7.8ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Jul 2012 05:44:32 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "c03bdf7c-ce26-4a31-9c23-d947b2986fa7"], ["file_size", 1055276], ["name", nil], ["updated_at", Mon, 16 Jul 2012 05:44:32 UTC +00:00]]
341
+ SQL (11.8ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 28 Jul 2012 19:58:52 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "145812bc-ebc6-473b-8fd5-5eeb09ecd472"], ["file_size", 1055276], ["name", nil], ["updated_at", Sat, 28 Jul 2012 19:58:52 UTC +00:00]]
520
342
   (0.1ms) RELEASE SAVEPOINT active_record_1
521
-  (0.4ms) rollback transaction
343
+  (0.5ms) rollback transaction
522
344
   (0.1ms) begin transaction
523
345
  Fixture Delete (0.2ms) DELETE FROM "audios"
524
- Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2012-07-16 05:44:32', '2012-07-16 05:44:32', 410859157)
525
- Fixture Delete (0.1ms) DELETE FROM "images"
526
- Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2012-07-16 05:44:32', '2012-07-16 05:44:32', 87884898)
527
-  (0.8ms) commit transaction
346
+ Fixture Insert (0.1ms) INSERT INTO "audios" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Audio', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.wav', 399085, '2012-07-28 19:58:52', '2012-07-28 19:58:52', 410859157)
347
+ Fixture Delete (0.5ms) DELETE FROM "images"
348
+ Fixture Insert (0.1ms) INSERT INTO "images" ("name", "file_identifier", "file_extension", "file_size", "created_at", "updated_at", "id") VALUES ('Image', '7f110c2f-5474-dcbf-bd79-b284b489cb7a', '.png', 399085, '2012-07-28 19:58:52', '2012-07-28 19:58:52', 87884898)
349
+  (1.0ms) commit transaction
528
350
   (0.1ms) begin transaction
529
351
  Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
530
352
   (0.1ms) SELECT COUNT(*) FROM "audios"
531
353
  Processing by AudiosController#create as HTML
532
- Parameters: {"audio"=>{"name"=>"Audio", "file"=>#<Rack::Test::UploadedFile:0x007fad2d31b3e8 @content_type="audio/wav", @original_filename="audio.wav", @tempfile=#<File:/var/folders/pv/qnsr0jxs5sx937gln5xmfprm0000gn/T/audio.wav20120715-49754-1ypuumg>>}}
533
-  (0.3ms) SAVEPOINT active_record_1
354
+ Parameters: {"audio"=>{"name"=>"Audio", "file"=>#<Rack::Test::UploadedFile:0x007f8efeb9a2f0 @content_type="audio/wav", @original_filename="audio.wav", @tempfile=#<File:/var/folders/cz/w72mmkxj48q1hn3n3xbyr7c80000gn/T/audio.wav20120728-15261-bq8xaw>>}}
355
+  (0.2ms) SAVEPOINT active_record_1
534
356
  [attached] save attached
535
- SQL (0.6ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Jul 2012 05:44:33 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "151d9dff-7259-41a3-9fc3-988a3099fe22"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Mon, 16 Jul 2012 05:44:33 UTC +00:00]]
357
+ SQL (0.5ms) INSERT INTO "audios" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 28 Jul 2012 19:58:53 UTC +00:00], ["file_extension", ".wav"], ["file_identifier", "749c8645-6940-44d6-aa21-ee5f1fc27ba3"], ["file_size", 1055276], ["name", "Audio"], ["updated_at", Sat, 28 Jul 2012 19:58:53 UTC +00:00]]
536
358
   (0.1ms) RELEASE SAVEPOINT active_record_1
537
359
  Redirected to http://test.host/audios/410859158
538
- Completed 302 Found in 710ms (ActiveRecord: 0.0ms)
360
+ Completed 302 Found in 733ms (ActiveRecord: 0.0ms)
539
361
   (0.1ms) SELECT COUNT(*) FROM "audios"
540
362
   (0.6ms) rollback transaction
541
363
   (0.0ms) begin transaction
@@ -546,50 +368,50 @@ Processing by AudiosController#destroy as HTML
546
368
  Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
547
369
   (0.1ms) SAVEPOINT active_record_1
548
370
  [attached] destroy attached
549
- SQL (0.4ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]
371
+ SQL (0.3ms) DELETE FROM "audios" WHERE "audios"."id" = ? [["id", 410859157]]
550
372
   (0.0ms) RELEASE SAVEPOINT active_record_1
551
373
  Redirected to http://test.host/audios
552
374
  Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
553
375
   (0.1ms) SELECT COUNT(*) FROM "audios" 
554
-  (0.4ms) rollback transaction
555
-  (0.0ms) begin transaction
376
+  (0.5ms) rollback transaction
377
+  (0.1ms) begin transaction
556
378
  Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
557
379
  Processing by AudiosController#edit as HTML
558
380
  Parameters: {"id"=>"410859157"}
559
381
  Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
560
- Rendered audios/_form.html.haml (7.2ms)
561
- Completed 200 OK in 23ms (Views: 21.3ms | ActiveRecord: 0.1ms)
382
+ Rendered audios/_form.html.haml (7.0ms)
383
+ Completed 200 OK in 25ms (Views: 23.0ms | ActiveRecord: 0.1ms)
562
384
   (0.1ms) rollback transaction
563
385
   (0.0ms) begin transaction
564
386
  Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
565
387
  Processing by AudiosController#index as HTML
566
388
  Audio Load (0.2ms) SELECT "audios".* FROM "audios" 
567
- Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.2ms)
389
+ Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.2ms)
568
390
   (0.1ms) rollback transaction
569
391
   (0.0ms) begin transaction
570
- Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
392
+ Audio Load (0.2ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
571
393
  Processing by AudiosController#new as HTML
572
- Rendered audios/_form.html.haml (2.4ms)
573
- Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms)
394
+ Rendered audios/_form.html.haml (3.7ms)
395
+ Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.0ms)
574
396
   (0.1ms) rollback transaction
575
397
   (0.0ms) begin transaction
576
398
  Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
577
399
  Processing by AudiosController#show as HTML
578
400
  Parameters: {"id"=>"410859157"}
579
401
  Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
580
- Completed 200 OK in 67ms (Views: 65.0ms | ActiveRecord: 0.1ms)
402
+ Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 0.1ms)
581
403
   (0.1ms) rollback transaction
582
404
   (0.0ms) begin transaction
583
405
  Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", 410859157]]
584
406
  Processing by AudiosController#update as HTML
585
- Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2012-07-16 05:44:32 UTC", "updated_at"=>"2012-07-16 05:44:32 UTC"}, "id"=>"410859157"}
407
+ Parameters: {"audio"=>{"id"=>"410859157", "name"=>"Audio", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".wav", "file_size"=>"399085", "created_at"=>"2012-07-28 19:58:52 UTC", "updated_at"=>"2012-07-28 19:58:52 UTC"}, "id"=>"410859157"}
586
408
  Audio Load (0.1ms) SELECT "audios".* FROM "audios" WHERE "audios"."id" = ? LIMIT 1 [["id", "410859157"]]
587
409
  WARNING: Can't mass-assign protected attributes: id
588
410
   (0.1ms) SAVEPOINT active_record_1
589
411
  [attached] save attached
590
412
   (0.0ms) RELEASE SAVEPOINT active_record_1
591
413
  Redirected to http://test.host/audios/410859157
592
- Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
414
+ Completed 302 Found in 10ms (ActiveRecord: 0.0ms)
593
415
   (0.1ms) rollback transaction
594
416
   (0.1ms) begin transaction
595
417
   (0.2ms) SAVEPOINT active_record_1
@@ -598,42 +420,42 @@ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
598
420
   (0.1ms) begin transaction
599
421
   (0.0ms) SAVEPOINT active_record_1
600
422
   (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
423
+  (0.1ms) rollback transaction
424
+  (0.1ms) begin transaction
425
+  (0.1ms) SAVEPOINT active_record_1
426
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
601
427
   (0.0ms) rollback transaction
602
428
   (0.0ms) begin transaction
603
-  (0.2ms) SAVEPOINT active_record_1
429
+  (0.1ms) SAVEPOINT active_record_1
604
430
   (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
605
431
   (0.0ms) rollback transaction
606
-  (0.1ms) begin transaction
607
-  (0.3ms) SAVEPOINT active_record_1
432
+  (0.0ms) begin transaction
433
+  (0.1ms) SAVEPOINT active_record_1
608
434
   (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
609
435
   (0.0ms) rollback transaction
610
436
   (0.0ms) begin transaction
611
-  (0.3ms) SAVEPOINT active_record_1
612
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
613
-  (0.1ms) rollback transaction
614
-  (0.1ms) begin transaction
615
-  (0.3ms) SAVEPOINT active_record_1
437
+  (0.1ms) SAVEPOINT active_record_1
616
438
  [attached] save attached
617
- SQL (1.0ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Jul 2012 05:44:34 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "15f09efb-0d03-44b3-a372-5ae156e8898e"], ["file_size", 399085], ["name", nil], ["updated_at", Mon, 16 Jul 2012 05:44:34 UTC +00:00]]
439
+ SQL (1.2ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 28 Jul 2012 19:58:54 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "1d487ceb-4a4d-465e-9090-b803664b0453"], ["file_size", 399085], ["name", nil], ["updated_at", Sat, 28 Jul 2012 19:58:54 UTC +00:00]]
618
440
   (0.1ms) RELEASE SAVEPOINT active_record_1
619
-  (0.4ms) rollback transaction
441
+  (0.5ms) rollback transaction
620
442
   (0.1ms) begin transaction
621
- Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
622
-  (0.1ms) SELECT COUNT(*) FROM "images" 
443
+ Image Load (0.3ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
444
+  (0.2ms) SELECT COUNT(*) FROM "images" 
623
445
  Processing by ImagesController#create as HTML
624
- Parameters: {"image"=>{"name"=>"Image", "file"=>#<Rack::Test::UploadedFile:0x007fad2d37eda8 @content_type="image/png", @original_filename="image.png", @tempfile=#<File:/var/folders/pv/qnsr0jxs5sx937gln5xmfprm0000gn/T/image.png20120715-49754-936n1n>>}}
625
-  (0.3ms) SAVEPOINT active_record_1
446
+ Parameters: {"image"=>{"name"=>"Image", "file"=>#<Rack::Test::UploadedFile:0x007f8efc6294f8 @content_type="image/png", @original_filename="image.png", @tempfile=#<File:/var/folders/cz/w72mmkxj48q1hn3n3xbyr7c80000gn/T/image.png20120728-15261-1910kjp>>}}
447
+  (0.2ms) SAVEPOINT active_record_1
626
448
  [attached] save attached
627
- SQL (0.7ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Jul 2012 05:44:34 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "84b585ce-9430-4761-8fb1-d94302eb33bd"], ["file_size", 399085], ["name", "Image"], ["updated_at", Mon, 16 Jul 2012 05:44:34 UTC +00:00]]
449
+ SQL (0.8ms) INSERT INTO "images" ("created_at", "file_extension", "file_identifier", "file_size", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 28 Jul 2012 19:58:54 UTC +00:00], ["file_extension", ".png"], ["file_identifier", "62893101-c755-40a2-8fff-fa7c96989db3"], ["file_size", 399085], ["name", "Image"], ["updated_at", Sat, 28 Jul 2012 19:58:54 UTC +00:00]]
628
450
   (0.1ms) RELEASE SAVEPOINT active_record_1
629
-  (0.0ms) SAVEPOINT active_record_1
451
+  (0.1ms) SAVEPOINT active_record_1
630
452
  [attached] save attached
631
453
   (0.1ms) RELEASE SAVEPOINT active_record_1
632
454
  Redirected to http://test.host/images/87884899
633
- Completed 302 Found in 241ms (ActiveRecord: 0.0ms)
455
+ Completed 302 Found in 277ms (ActiveRecord: 0.0ms)
634
456
   (0.1ms) SELECT COUNT(*) FROM "images" 
635
-  (0.4ms) rollback transaction
636
-  (0.0ms) begin transaction
457
+  (0.5ms) rollback transaction
458
+  (0.1ms) begin transaction
637
459
  Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
638
460
   (0.1ms) SELECT COUNT(*) FROM "images" 
639
461
  Processing by ImagesController#destroy as HTML
@@ -641,43 +463,43 @@ Processing by ImagesController#destroy as HTML
641
463
  Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
642
464
   (0.1ms) SAVEPOINT active_record_1
643
465
  [attached] destroy attached
644
- SQL (0.4ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]
645
-  (0.1ms) RELEASE SAVEPOINT active_record_1
466
+ SQL (0.3ms) DELETE FROM "images" WHERE "images"."id" = ? [["id", 87884898]]
467
+  (0.0ms) RELEASE SAVEPOINT active_record_1
646
468
  Redirected to http://test.host/images
647
469
  Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
648
470
   (0.1ms) SELECT COUNT(*) FROM "images"
649
-  (0.4ms) rollback transaction
650
-  (0.1ms) begin transaction
471
+  (0.5ms) rollback transaction
472
+  (0.0ms) begin transaction
651
473
  Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
652
474
  Processing by ImagesController#edit as HTML
653
475
  Parameters: {"id"=>"87884898"}
654
476
  Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
655
- Rendered images/_form.html.haml (6.0ms)
656
- Completed 200 OK in 14ms (Views: 12.3ms | ActiveRecord: 0.1ms)
657
-  (0.1ms) rollback transaction
658
-  (0.0ms) begin transaction
659
- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
477
+ Rendered images/_form.html.haml (5.3ms)
478
+ Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 0.1ms)
479
+  (0.2ms) rollback transaction
480
+  (0.1ms) begin transaction
481
+ Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
660
482
  Processing by ImagesController#index as HTML
661
483
  Image Load (0.2ms) SELECT "images".* FROM "images"
662
- Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.2ms)
663
-  (0.2ms) rollback transaction
484
+ Completed 200 OK in 12ms (Views: 9.6ms | ActiveRecord: 0.2ms)
485
+  (0.1ms) rollback transaction
664
486
   (0.0ms) begin transaction
665
- Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
487
+ Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
666
488
  Processing by ImagesController#new as HTML
667
- Rendered images/_form.html.haml (2.5ms)
668
- Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)
489
+ Rendered images/_form.html.haml (3.7ms)
490
+ Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.0ms)
669
491
   (0.1ms) rollback transaction
670
492
   (0.0ms) begin transaction
671
- Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
493
+ Image Load (0.2ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
672
494
  Processing by ImagesController#show as HTML
673
495
  Parameters: {"id"=>"87884898"}
674
496
  Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
675
- Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.1ms)
497
+ Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.1ms)
676
498
   (0.1ms) rollback transaction
677
499
   (0.0ms) begin transaction
678
500
  Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", 87884898]]
679
501
  Processing by ImagesController#update as HTML
680
- Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2012-07-16 05:44:32 UTC", "updated_at"=>"2012-07-16 05:44:32 UTC"}, "id"=>"87884898"}
502
+ Parameters: {"image"=>{"id"=>"87884898", "name"=>"Image", "file_identifier"=>"7f110c2f-5474-dcbf-bd79-b284b489cb7a", "file_extension"=>".png", "file_size"=>"399085", "created_at"=>"2012-07-28 19:58:52 UTC", "updated_at"=>"2012-07-28 19:58:52 UTC"}, "id"=>"87884898"}
681
503
  Image Load (0.1ms) SELECT "images".* FROM "images" WHERE "images"."id" = ? LIMIT 1 [["id", "87884898"]]
682
504
  Redirected to http://test.host/images/87884898
683
505
  Completed 302 Found in 3ms (ActiveRecord: 0.0ms)