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