rails_uploads 0.2.5 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.rdoc CHANGED
@@ -63,9 +63,9 @@ The validation works very similar to paperclip:
63
63
 
64
64
  If you want to translate the errores the keys are:
65
65
  errors.messages.attachment_presence
66
- errors.messages.attachment_size_in # :less_than and :greater_than
67
- errors.messages.attachment_size_less_than # :less_than
68
- errors.messages.attachment_size_greater_than # :greater_than
66
+ errors.messages.attachment_size_in # :max and :min
67
+ errors.messages.attachment_size_less_than # :count
68
+ errors.messages.attachment_size_greater_than # :count
69
69
  errors.messages.attachment_content_type # :types
70
70
 
71
71
  In your views:
@@ -76,6 +76,9 @@ In your views:
76
76
  In your forms:
77
77
  = f.file_field :attr
78
78
 
79
+ If your file it's optional:
80
+ = f.check_box :delete_attr
81
+
79
82
  = FAQ
80
83
 
81
84
  == How can I use a cdn with this plugin?
@@ -91,12 +94,12 @@ Use this rake task after create the s3.yml file:
91
94
  == How can I clean a preset?
92
95
 
93
96
  Use this rake task:
94
- rake uploads:preset:clean MODEL=models PRESETS=first_preset,second_preset
97
+ rake uploads:presets:clean MODEL=models PRESETS=first_preset,second_preset
95
98
 
96
99
  == How can I refresh a preset?
97
100
 
98
101
  Use this rake task:
99
- rake uploads:preset:refresh MODEL=models PRESETS=first_preset,second_preset
102
+ rake uploads:presets:refresh MODEL=models PRESETS=first_preset,second_preset
100
103
 
101
104
  == How to migrate from versions before 0.1.0?
102
105
 
@@ -0,0 +1,8 @@
1
+ en:
2
+ errors:
3
+ messages:
4
+ attachment_presence: "can't be blank"
5
+ attachment_content_type: "the allowed types are: %{types}"
6
+ attachment_size_less_than: "size must be less than %{count}"
7
+ attachment_size_greater_than: "size must be greater than %{count}"
8
+ attachment_size_in: "size must be between %{min} and %{max}"
@@ -0,0 +1,8 @@
1
+ es:
2
+ errors:
3
+ messages:
4
+ attachment_presence: "no puede estar vacío"
5
+ attachment_content_type: "los formatos permitidos son: %{types}"
6
+ attachment_size_less_than: "debe pesar menos de %{count}"
7
+ attachment_size_greater_than: "debe pesar más de %{count}"
8
+ attachment_size_in: "debe pesar entre %{min} y %{max}"
@@ -17,6 +17,10 @@ module RailsUploads
17
17
  @stored_attachments = []
18
18
  @deleted_attachments = []
19
19
  self.class.attachments.each do |attr, options|
20
+ if @attributes[attr.to_s].present? and send("delete_#{attr}") == '1'
21
+ send "#{attr}_will_change!"
22
+ @attributes[attr.to_s] = nil
23
+ end
20
24
  if changed_attributes.has_key? attr.to_s
21
25
  stored = attributes[attr.to_s]
22
26
  deleted = changed_attributes[attr.to_s]
@@ -34,7 +38,7 @@ module RailsUploads
34
38
  end
35
39
 
36
40
  def add_changed_attachment(source, options, type)
37
- (type == :stored ? @stored_attachments : @deleted_attachments) << build_attachment_instance(source, options)
41
+ (type == :stored ? @stored_attachments : @deleted_attachments) << (source.is_a?(String) ? build_attachment_instance(source, options) : source)
38
42
  end
39
43
 
40
44
  def store_attachments
@@ -114,7 +118,8 @@ module RailsUploads
114
118
  @attachments[attr] = build_attachment_instance(value, options)
115
119
  super(@attachments[attr].filename)
116
120
  end
117
- end
121
+ end
122
+ attr_accessor "delete_#{attr}".to_sym
118
123
  end
119
124
 
120
125
  def define_attachable_attribute_method_get(attr, options)
@@ -49,7 +49,7 @@ module RailsUploads
49
49
  def resize_to_fill(max_width, max_height)
50
50
  width, height = dimensions
51
51
  scale = [max_width/width.to_f, max_height/height.to_f].max
52
- convert resize: "#{(scale*width).to_i}x#{(scale*height).to_i}", gravity: 'center', crop: "#{max_width}x#{max_height}+0+0"
52
+ convert resize: "#{(scale*width).ceil}x#{(scale*height).ceil}", gravity: 'center', crop: "#{max_width}x#{max_height}+0+0"
53
53
  end
54
54
 
55
55
  def resize_to_fit(max_width, max_height)
@@ -33,6 +33,10 @@ module RailsUploads
33
33
  return false if is_deleted?
34
34
  storage.exists? path(*args)
35
35
  end
36
+
37
+ def is_deleted?
38
+ @deleted
39
+ end
36
40
 
37
41
  def size(*args)
38
42
  return 0 if is_deleted?
@@ -98,10 +102,6 @@ module RailsUploads
98
102
  @stored
99
103
  end
100
104
 
101
- def is_deleted?
102
- @deleted
103
- end
104
-
105
105
  def destination_path(*args)
106
106
  ::File.join 'uploads', store_path(*args), filename
107
107
  end
@@ -3,7 +3,7 @@ class AttachmentContentTypeValidator < RailsUploads::Validators::Base
3
3
  def validate_each(record, attribute, value)
4
4
  if value.present? and not value.is_default?
5
5
  unless options[:in].include? value.extname.from(1)
6
- add_error record, attribute, 'errors.messages.attachment_content_type', types: options[:in].join(', ')
6
+ add_error record, attribute, 'errors.messages.attachment_content_type', types: options[:in].to_sentence
7
7
  end
8
8
  end
9
9
  end
@@ -1,17 +1,18 @@
1
1
  class AttachmentSizeValidator < RailsUploads::Validators::Base
2
-
2
+ include ActionView::Helpers::NumberHelper
3
+
3
4
  def validate_each(record, attribute, value)
4
5
  if value.present? and not value.is_default?
5
6
  if options.has_key? :in
6
7
  unless options[:in].include? value.size
7
- add_error record, attribute, 'attachment_size_in', greater_than: options[:in].begin, less_than: options[:in].end
8
+ add_error record, attribute, 'attachment_size_in', min: number_to_human_size(options[:in].begin), max: number_to_human_size(options[:in].end)
8
9
  end
9
10
  else
10
11
  if options.has_key? :less_than and value.size > options[:less_than]
11
- add_error record, attribute, 'attachment_size_less_than', less_than: options[:less_than]
12
+ add_error record, attribute, 'attachment_size_less_than', count: number_to_human_size(options[:less_than])
12
13
  end
13
14
  if options.has_key? :greater_than and value.size < options[:greater_than]
14
- add_error record, attribute, 'attachment_size_greater_than', greater_than: options[:greater_than]
15
+ add_error record, attribute, 'attachment_size_greater_than', count: number_to_human_size(options[:greater_than])
15
16
  end
16
17
  end
17
18
  end
@@ -1,5 +1,5 @@
1
1
  module RailsUploads
2
2
 
3
- VERSION = '0.2.5'
3
+ VERSION = '0.2.6'
4
4
 
5
5
  end
@@ -3,10 +3,3 @@
3
3
 
4
4
  en:
5
5
  hello: "Hello world"
6
- errors:
7
- messages:
8
- attachment_presence: "File not found"
9
- attachment_content_type: "File content type invalid only %{types}"
10
- attachment_size_less_than: "File size must be less than %{less_than}"
11
- attachment_size_greater_than: "File size must be greater than %{greater_than}"
12
- attachment_size_in: "File size must be between %{greater_than} and %{less_than}"
@@ -23333,3 +23333,1080 @@ Completed 302 Found in 66ms (ActiveRecord: 0.0ms)
23333
23333
   (0.1ms) rollback transaction
23334
23334
   (0.1ms) begin transaction
23335
23335
   (0.1ms) rollback transaction
23336
+ Connecting to database specified by database.yml
23337
+  (2.1ms) select sqlite_version(*)
23338
+  (0.3ms) CREATE TABLE "file_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
23339
+  (0.1ms) CREATE TABLE "image_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
23340
+  (0.2ms) CREATE TABLE "validation_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_presence" varchar(255), "file_content_type" varchar(255), "file_size" varchar(255), "file_all" varchar(255), "file_default" varchar(255), "image_presence" varchar(255), "image_content_type" varchar(255), "image_size" varchar(255), "image_all" varchar(255), "image_default" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
23341
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
23342
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
23343
+  (0.0ms) SELECT version FROM "schema_migrations"
23344
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130124013431')
23345
+  (0.1ms) begin transaction
23346
+  (0.1ms) SAVEPOINT active_record_1
23347
+ SQL (7.8ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 14:54:37 UTC +00:00], ["file", "13708760773532770.txt"], ["updated_at", Mon, 10 Jun 2013 14:54:37 UTC +00:00]]
23348
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23349
+  (0.0ms) SAVEPOINT active_record_1
23350
+ SQL (0.1ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
23351
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23352
+  (0.1ms) rollback transaction
23353
+  (0.0ms) begin transaction
23354
+  (0.0ms) rollback transaction
23355
+  (0.0ms) begin transaction
23356
+  (0.1ms) rollback transaction
23357
+  (0.0ms) begin transaction
23358
+  (0.0ms) rollback transaction
23359
+  (0.1ms) begin transaction
23360
+ Started GET "/uploads/images/small/13708760774285782.jpg" for 127.0.0.1 at 2013-06-10 11:54:37 -0300
23361
+ Processing by RailsUploads::PresetsController#generate as JPEG
23362
+ Parameters: {"status"=>404, "preset"=>"small", "image"=>"13708760774285782"}
23363
+ Redirected to http://www.example.com/uploads/images/small/13708760774285782.jpg
23364
+ Completed 302 Found in 65ms (ActiveRecord: 0.0ms)
23365
+  (0.1ms) rollback transaction
23366
+  (0.1ms) begin transaction
23367
+  (0.1ms) SAVEPOINT active_record_1
23368
+ SQL (0.6ms) INSERT INTO "image_uploads" ("created_at", "image", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 14:54:37 UTC +00:00], ["image", "13708760777315168.jpg"], ["updated_at", Mon, 10 Jun 2013 14:54:37 UTC +00:00]]
23369
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23370
+  (0.0ms) SAVEPOINT active_record_1
23371
+ SQL (0.1ms) DELETE FROM "image_uploads" WHERE "image_uploads"."id" = ? [["id", 1]]
23372
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23373
+  (0.1ms) rollback transaction
23374
+  (0.2ms) begin transaction
23375
+  (0.1ms) rollback transaction
23376
+  (0.0ms) begin transaction
23377
+  (0.1ms) rollback transaction
23378
+  (0.1ms) begin transaction
23379
+  (0.1ms) SAVEPOINT active_record_1
23380
+ SQL (0.4ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 14:54:38 UTC +00:00], ["file", "13708760781919170.jpg"], ["updated_at", Mon, 10 Jun 2013 14:54:38 UTC +00:00]]
23381
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23382
+  (0.0ms) SAVEPOINT active_record_1
23383
+  (0.1ms) UPDATE "file_uploads" SET "file" = '13708760781983990.txt', "updated_at" = '2013-06-10 14:54:38.201592' WHERE "file_uploads"."id" = 1
23384
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23385
+  (0.0ms) SAVEPOINT active_record_1
23386
+ SQL (0.1ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
23387
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23388
+  (0.1ms) rollback transaction
23389
+  (0.1ms) begin transaction
23390
+  (0.0ms) SAVEPOINT active_record_1
23391
+ SQL (0.3ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 14:54:38 UTC +00:00], ["file", nil], ["updated_at", Mon, 10 Jun 2013 14:54:38 UTC +00:00]]
23392
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23393
+  (0.0ms) SAVEPOINT active_record_1
23394
+ SQL (0.0ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
23395
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23396
+  (0.0ms) SAVEPOINT active_record_1
23397
+ SQL (0.2ms) INSERT INTO "image_uploads" ("created_at", "image", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 14:54:38 UTC +00:00], ["image", nil], ["updated_at", Mon, 10 Jun 2013 14:54:38 UTC +00:00]]
23398
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23399
+  (0.0ms) SAVEPOINT active_record_1
23400
+ SQL (0.0ms) DELETE FROM "image_uploads" WHERE "image_uploads"."id" = ? [["id", 1]]
23401
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23402
+  (0.1ms) rollback transaction
23403
+  (0.1ms) begin transaction
23404
+  (0.1ms) rollback transaction
23405
+  (0.1ms) begin transaction
23406
+  (0.0ms) rollback transaction
23407
+  (0.1ms) begin transaction
23408
+  (0.0ms) rollback transaction
23409
+  (0.1ms) begin transaction
23410
+  (0.1ms) rollback transaction
23411
+ Connecting to database specified by database.yml
23412
+  (1.9ms) select sqlite_version(*)
23413
+  (0.2ms) CREATE TABLE "file_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
23414
+  (0.1ms) CREATE TABLE "image_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
23415
+  (0.1ms) CREATE TABLE "validation_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_presence" varchar(255), "file_content_type" varchar(255), "file_size" varchar(255), "file_all" varchar(255), "file_default" varchar(255), "image_presence" varchar(255), "image_content_type" varchar(255), "image_size" varchar(255), "image_all" varchar(255), "image_default" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
23416
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
23417
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
23418
+  (0.1ms) SELECT version FROM "schema_migrations"
23419
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130124013431')
23420
+  (0.1ms) begin transaction
23421
+  (0.0ms) SAVEPOINT active_record_1
23422
+ SQL (7.2ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 15:04:08 UTC +00:00], ["file", "13708766480743858.txt"], ["updated_at", Mon, 10 Jun 2013 15:04:08 UTC +00:00]]
23423
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23424
+  (0.0ms) SAVEPOINT active_record_1
23425
+ SQL (0.1ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
23426
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23427
+  (0.1ms) rollback transaction
23428
+  (0.0ms) begin transaction
23429
+  (0.1ms) rollback transaction
23430
+  (0.1ms) begin transaction
23431
+  (0.1ms) rollback transaction
23432
+  (0.0ms) begin transaction
23433
+  (0.1ms) rollback transaction
23434
+  (0.1ms) begin transaction
23435
+ Started GET "/uploads/images/small/13708766481347740.jpg" for 127.0.0.1 at 2013-06-10 12:04:08 -0300
23436
+ Processing by RailsUploads::PresetsController#generate as JPEG
23437
+ Parameters: {"status"=>404, "preset"=>"small", "image"=>"13708766481347740"}
23438
+ Redirected to http://www.example.com/uploads/images/small/13708766481347740.jpg
23439
+ Completed 302 Found in 65ms (ActiveRecord: 0.0ms)
23440
+  (0.1ms) rollback transaction
23441
+  (0.1ms) begin transaction
23442
+  (0.1ms) SAVEPOINT active_record_1
23443
+ SQL (0.6ms) INSERT INTO "image_uploads" ("created_at", "image", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 15:04:08 UTC +00:00], ["image", "13708766483487658.jpg"], ["updated_at", Mon, 10 Jun 2013 15:04:08 UTC +00:00]]
23444
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23445
+  (0.0ms) SAVEPOINT active_record_1
23446
+ SQL (0.1ms) DELETE FROM "image_uploads" WHERE "image_uploads"."id" = ? [["id", 1]]
23447
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23448
+  (0.1ms) rollback transaction
23449
+  (0.1ms) begin transaction
23450
+  (0.1ms) rollback transaction
23451
+  (0.1ms) begin transaction
23452
+  (0.1ms) rollback transaction
23453
+  (0.1ms) begin transaction
23454
+  (0.0ms) SAVEPOINT active_record_1
23455
+ SQL (0.4ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 15:04:08 UTC +00:00], ["file", "13708766488124092.jpg"], ["updated_at", Mon, 10 Jun 2013 15:04:08 UTC +00:00]]
23456
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23457
+  (0.0ms) SAVEPOINT active_record_1
23458
+  (0.1ms) UPDATE "file_uploads" SET "file" = '13708766488187972.txt', "updated_at" = '2013-06-10 15:04:08.821797' WHERE "file_uploads"."id" = 1
23459
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23460
+  (0.0ms) SAVEPOINT active_record_1
23461
+ SQL (0.1ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
23462
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23463
+  (0.1ms) rollback transaction
23464
+  (0.0ms) begin transaction
23465
+  (0.0ms) SAVEPOINT active_record_1
23466
+ SQL (0.3ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 15:04:08 UTC +00:00], ["file", nil], ["updated_at", Mon, 10 Jun 2013 15:04:08 UTC +00:00]]
23467
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23468
+  (0.0ms) SAVEPOINT active_record_1
23469
+ SQL (0.0ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
23470
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23471
+  (0.0ms) SAVEPOINT active_record_1
23472
+ SQL (0.2ms) INSERT INTO "image_uploads" ("created_at", "image", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 15:04:08 UTC +00:00], ["image", nil], ["updated_at", Mon, 10 Jun 2013 15:04:08 UTC +00:00]]
23473
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23474
+  (0.0ms) SAVEPOINT active_record_1
23475
+ SQL (0.0ms) DELETE FROM "image_uploads" WHERE "image_uploads"."id" = ? [["id", 1]]
23476
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23477
+  (0.1ms) rollback transaction
23478
+  (0.1ms) begin transaction
23479
+  (0.1ms) rollback transaction
23480
+  (0.1ms) begin transaction
23481
+  (0.1ms) rollback transaction
23482
+  (0.0ms) begin transaction
23483
+  (0.0ms) rollback transaction
23484
+  (0.1ms) begin transaction
23485
+  (0.0ms) rollback transaction
23486
+ Connecting to database specified by database.yml
23487
+  (1.9ms) select sqlite_version(*)
23488
+  (0.3ms) CREATE TABLE "file_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
23489
+  (0.1ms) CREATE TABLE "image_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
23490
+  (0.1ms) CREATE TABLE "validation_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_presence" varchar(255), "file_content_type" varchar(255), "file_size" varchar(255), "file_all" varchar(255), "file_default" varchar(255), "image_presence" varchar(255), "image_content_type" varchar(255), "image_size" varchar(255), "image_all" varchar(255), "image_default" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
23491
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
23492
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
23493
+  (0.1ms) SELECT version FROM "schema_migrations"
23494
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130124013431')
23495
+  (0.1ms) begin transaction
23496
+  (0.1ms) SAVEPOINT active_record_1
23497
+ SQL (7.6ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 15:05:17 UTC +00:00], ["file", "13708767177961840.txt"], ["updated_at", Mon, 10 Jun 2013 15:05:17 UTC +00:00]]
23498
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23499
+  (0.0ms) SAVEPOINT active_record_1
23500
+ SQL (0.1ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
23501
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23502
+  (0.1ms) rollback transaction
23503
+  (0.0ms) begin transaction
23504
+  (0.1ms) rollback transaction
23505
+  (0.1ms) begin transaction
23506
+  (0.1ms) rollback transaction
23507
+  (0.1ms) begin transaction
23508
+  (0.0ms) rollback transaction
23509
+  (0.1ms) begin transaction
23510
+ Started GET "/uploads/images/small/13708767178675048.jpg" for 127.0.0.1 at 2013-06-10 12:05:17 -0300
23511
+ Processing by RailsUploads::PresetsController#generate as JPEG
23512
+ Parameters: {"status"=>404, "preset"=>"small", "image"=>"13708767178675048"}
23513
+ Redirected to http://www.example.com/uploads/images/small/13708767178675048.jpg
23514
+ Completed 302 Found in 65ms (ActiveRecord: 0.0ms)
23515
+  (0.1ms) rollback transaction
23516
+  (0.1ms) begin transaction
23517
+  (0.1ms) SAVEPOINT active_record_1
23518
+ SQL (0.6ms) INSERT INTO "image_uploads" ("created_at", "image", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 15:05:18 UTC +00:00], ["image", "13708767180759590.jpg"], ["updated_at", Mon, 10 Jun 2013 15:05:18 UTC +00:00]]
23519
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23520
+  (0.0ms) SAVEPOINT active_record_1
23521
+ SQL (0.1ms) DELETE FROM "image_uploads" WHERE "image_uploads"."id" = ? [["id", 1]]
23522
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23523
+  (0.1ms) rollback transaction
23524
+  (0.1ms) begin transaction
23525
+  (0.1ms) rollback transaction
23526
+  (0.0ms) begin transaction
23527
+  (0.1ms) rollback transaction
23528
+  (0.1ms) begin transaction
23529
+  (0.1ms) SAVEPOINT active_record_1
23530
+ SQL (0.5ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 15:05:18 UTC +00:00], ["file", "13708767185384400.jpg"], ["updated_at", Mon, 10 Jun 2013 15:05:18 UTC +00:00]]
23531
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23532
+  (0.0ms) SAVEPOINT active_record_1
23533
+  (0.1ms) UPDATE "file_uploads" SET "file" = '13708767185450670.txt', "updated_at" = '2013-06-10 15:05:18.548185' WHERE "file_uploads"."id" = 1
23534
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23535
+  (0.0ms) SAVEPOINT active_record_1
23536
+ SQL (0.1ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
23537
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23538
+  (0.1ms) rollback transaction
23539
+  (0.0ms) begin transaction
23540
+  (0.0ms) SAVEPOINT active_record_1
23541
+ SQL (0.3ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 15:05:18 UTC +00:00], ["file", nil], ["updated_at", Mon, 10 Jun 2013 15:05:18 UTC +00:00]]
23542
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23543
+  (0.0ms) SAVEPOINT active_record_1
23544
+ SQL (0.0ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
23545
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23546
+  (0.0ms) SAVEPOINT active_record_1
23547
+ SQL (0.2ms) INSERT INTO "image_uploads" ("created_at", "image", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 15:05:18 UTC +00:00], ["image", nil], ["updated_at", Mon, 10 Jun 2013 15:05:18 UTC +00:00]]
23548
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23549
+  (0.0ms) SAVEPOINT active_record_1
23550
+ SQL (0.1ms) DELETE FROM "image_uploads" WHERE "image_uploads"."id" = ? [["id", 1]]
23551
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23552
+  (0.0ms) rollback transaction
23553
+  (0.1ms) begin transaction
23554
+  (0.1ms) rollback transaction
23555
+  (0.1ms) begin transaction
23556
+  (0.0ms) rollback transaction
23557
+  (0.0ms) begin transaction
23558
+  (0.0ms) rollback transaction
23559
+  (0.0ms) begin transaction
23560
+  (0.0ms) rollback transaction
23561
+ Connecting to database specified by database.yml
23562
+  (1.9ms) select sqlite_version(*)
23563
+  (0.2ms) CREATE TABLE "file_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
23564
+  (0.1ms) CREATE TABLE "image_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
23565
+  (0.1ms) CREATE TABLE "validation_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_presence" varchar(255), "file_content_type" varchar(255), "file_size" varchar(255), "file_all" varchar(255), "file_default" varchar(255), "image_presence" varchar(255), "image_content_type" varchar(255), "image_size" varchar(255), "image_all" varchar(255), "image_default" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
23566
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
23567
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
23568
+  (0.1ms) SELECT version FROM "schema_migrations"
23569
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130124013431')
23570
+  (0.1ms) begin transaction
23571
+  (0.0ms) SAVEPOINT active_record_1
23572
+ SQL (7.2ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 15:05:49 UTC +00:00], ["file", "13708767491163850.txt"], ["updated_at", Mon, 10 Jun 2013 15:05:49 UTC +00:00]]
23573
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23574
+  (0.0ms) SAVEPOINT active_record_1
23575
+ SQL (0.1ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
23576
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23577
+  (0.1ms) rollback transaction
23578
+  (0.1ms) begin transaction
23579
+  (0.2ms) rollback transaction
23580
+  (0.1ms) begin transaction
23581
+  (0.1ms) rollback transaction
23582
+  (0.1ms) begin transaction
23583
+  (0.1ms) rollback transaction
23584
+  (0.1ms) begin transaction
23585
+ Started GET "/uploads/images/small/13708767491835652.jpg" for 127.0.0.1 at 2013-06-10 12:05:49 -0300
23586
+ Processing by RailsUploads::PresetsController#generate as JPEG
23587
+ Parameters: {"status"=>404, "preset"=>"small", "image"=>"13708767491835652"}
23588
+ Redirected to http://www.example.com/uploads/images/small/13708767491835652.jpg
23589
+ Completed 302 Found in 65ms (ActiveRecord: 0.0ms)
23590
+  (0.1ms) rollback transaction
23591
+  (0.1ms) begin transaction
23592
+  (0.1ms) SAVEPOINT active_record_1
23593
+ SQL (0.5ms) INSERT INTO "image_uploads" ("created_at", "image", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 15:05:49 UTC +00:00], ["image", "13708767493888588.jpg"], ["updated_at", Mon, 10 Jun 2013 15:05:49 UTC +00:00]]
23594
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23595
+  (0.0ms) SAVEPOINT active_record_1
23596
+ SQL (0.2ms) DELETE FROM "image_uploads" WHERE "image_uploads"."id" = ? [["id", 1]]
23597
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23598
+  (0.1ms) rollback transaction
23599
+  (0.1ms) begin transaction
23600
+  (0.1ms) rollback transaction
23601
+  (0.0ms) begin transaction
23602
+  (0.1ms) rollback transaction
23603
+  (0.1ms) begin transaction
23604
+  (0.0ms) SAVEPOINT active_record_1
23605
+ SQL (0.4ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 15:05:49 UTC +00:00], ["file", "13708767498498208.jpg"], ["updated_at", Mon, 10 Jun 2013 15:05:49 UTC +00:00]]
23606
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23607
+  (0.0ms) SAVEPOINT active_record_1
23608
+  (0.1ms) UPDATE "file_uploads" SET "file" = '13708767498563300.txt', "updated_at" = '2013-06-10 15:05:49.859360' WHERE "file_uploads"."id" = 1
23609
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23610
+  (0.0ms) SAVEPOINT active_record_1
23611
+ SQL (0.1ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
23612
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23613
+  (0.1ms) rollback transaction
23614
+  (0.1ms) begin transaction
23615
+  (0.0ms) SAVEPOINT active_record_1
23616
+ SQL (0.3ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 15:05:49 UTC +00:00], ["file", nil], ["updated_at", Mon, 10 Jun 2013 15:05:49 UTC +00:00]]
23617
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23618
+  (0.0ms) SAVEPOINT active_record_1
23619
+ SQL (0.0ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
23620
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23621
+  (0.0ms) SAVEPOINT active_record_1
23622
+ SQL (0.2ms) INSERT INTO "image_uploads" ("created_at", "image", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 15:05:49 UTC +00:00], ["image", nil], ["updated_at", Mon, 10 Jun 2013 15:05:49 UTC +00:00]]
23623
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23624
+  (0.0ms) SAVEPOINT active_record_1
23625
+ SQL (0.0ms) DELETE FROM "image_uploads" WHERE "image_uploads"."id" = ? [["id", 1]]
23626
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23627
+  (0.1ms) rollback transaction
23628
+  (0.1ms) begin transaction
23629
+  (0.1ms) rollback transaction
23630
+  (0.1ms) begin transaction
23631
+  (0.0ms) rollback transaction
23632
+  (0.0ms) begin transaction
23633
+  (0.0ms) rollback transaction
23634
+  (0.0ms) begin transaction
23635
+  (0.1ms) rollback transaction
23636
+ Connecting to database specified by database.yml
23637
+  (8.9ms) select sqlite_version(*)
23638
+  (0.3ms) CREATE TABLE "file_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
23639
+  (0.1ms) CREATE TABLE "image_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
23640
+  (0.2ms) CREATE TABLE "validation_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_presence" varchar(255), "file_content_type" varchar(255), "file_size" varchar(255), "file_all" varchar(255), "file_default" varchar(255), "image_presence" varchar(255), "image_content_type" varchar(255), "image_size" varchar(255), "image_all" varchar(255), "image_default" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
23641
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
23642
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
23643
+  (0.0ms) SELECT version FROM "schema_migrations"
23644
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130124013431')
23645
+  (0.1ms) begin transaction
23646
+  (0.1ms) SAVEPOINT active_record_1
23647
+ SQL (26.2ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:47:57 UTC +00:00], ["file", "13708828773665120.txt"], ["updated_at", Mon, 10 Jun 2013 16:47:57 UTC +00:00]]
23648
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23649
+  (0.0ms) SAVEPOINT active_record_1
23650
+ SQL (0.1ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
23651
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23652
+  (0.1ms) rollback transaction
23653
+  (0.0ms) begin transaction
23654
+  (0.1ms) rollback transaction
23655
+  (0.1ms) begin transaction
23656
+  (0.1ms) rollback transaction
23657
+  (0.1ms) begin transaction
23658
+  (0.0ms) rollback transaction
23659
+  (0.1ms) begin transaction
23660
+ Started GET "/uploads/images/small/13708828774553430.jpg" for 127.0.0.1 at 2013-06-10 13:47:57 -0300
23661
+ Processing by RailsUploads::PresetsController#generate as JPEG
23662
+ Parameters: {"status"=>404, "preset"=>"small", "image"=>"13708828774553430"}
23663
+ Redirected to http://www.example.com/uploads/images/small/13708828774553430.jpg
23664
+ Completed 302 Found in 67ms (ActiveRecord: 0.0ms)
23665
+  (0.1ms) rollback transaction
23666
+  (0.1ms) begin transaction
23667
+  (0.1ms) SAVEPOINT active_record_1
23668
+ SQL (0.6ms) INSERT INTO "image_uploads" ("created_at", "image", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:47:58 UTC +00:00], ["image", "13708828780808080.jpg"], ["updated_at", Mon, 10 Jun 2013 16:47:58 UTC +00:00]]
23669
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23670
+  (0.0ms) SAVEPOINT active_record_1
23671
+ SQL (0.1ms) DELETE FROM "image_uploads" WHERE "image_uploads"."id" = ? [["id", 1]]
23672
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23673
+  (0.1ms) rollback transaction
23674
+  (0.1ms) begin transaction
23675
+  (0.1ms) rollback transaction
23676
+  (0.1ms) begin transaction
23677
+  (0.1ms) rollback transaction
23678
+  (0.1ms) begin transaction
23679
+  (0.1ms) SAVEPOINT active_record_1
23680
+ SQL (0.4ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:47:58 UTC +00:00], ["file", "13708828785492820.jpg"], ["updated_at", Mon, 10 Jun 2013 16:47:58 UTC +00:00]]
23681
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23682
+  (0.0ms) SAVEPOINT active_record_1
23683
+  (0.2ms) UPDATE "file_uploads" SET "file" = '13708828785560040.txt', "updated_at" = '2013-06-10 16:47:58.559505' WHERE "file_uploads"."id" = 1
23684
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23685
+  (0.0ms) SAVEPOINT active_record_1
23686
+ SQL (0.1ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
23687
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23688
+  (0.1ms) rollback transaction
23689
+  (0.1ms) begin transaction
23690
+  (0.0ms) SAVEPOINT active_record_1
23691
+ SQL (0.3ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:47:58 UTC +00:00], ["file", nil], ["updated_at", Mon, 10 Jun 2013 16:47:58 UTC +00:00]]
23692
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23693
+  (0.0ms) SAVEPOINT active_record_1
23694
+ SQL (0.1ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
23695
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23696
+  (0.0ms) SAVEPOINT active_record_1
23697
+ SQL (0.2ms) INSERT INTO "image_uploads" ("created_at", "image", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:47:58 UTC +00:00], ["image", nil], ["updated_at", Mon, 10 Jun 2013 16:47:58 UTC +00:00]]
23698
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23699
+  (0.0ms) SAVEPOINT active_record_1
23700
+ SQL (0.0ms) DELETE FROM "image_uploads" WHERE "image_uploads"."id" = ? [["id", 1]]
23701
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23702
+  (0.0ms) rollback transaction
23703
+  (0.1ms) begin transaction
23704
+  (0.1ms) rollback transaction
23705
+  (0.0ms) begin transaction
23706
+  (0.1ms) rollback transaction
23707
+  (0.0ms) begin transaction
23708
+  (0.1ms) rollback transaction
23709
+  (0.0ms) begin transaction
23710
+  (0.1ms) rollback transaction
23711
+ Connecting to database specified by database.yml
23712
+  (2.1ms) select sqlite_version(*)
23713
+  (0.3ms) CREATE TABLE "file_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
23714
+  (0.1ms) CREATE TABLE "image_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
23715
+  (0.3ms) CREATE TABLE "validation_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_presence" varchar(255), "file_content_type" varchar(255), "file_size" varchar(255), "file_all" varchar(255), "file_default" varchar(255), "image_presence" varchar(255), "image_content_type" varchar(255), "image_size" varchar(255), "image_all" varchar(255), "image_default" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
23716
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
23717
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
23718
+  (0.0ms) SELECT version FROM "schema_migrations"
23719
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130124013431')
23720
+  (0.1ms) begin transaction
23721
+  (0.1ms) SAVEPOINT active_record_1
23722
+ SQL (8.0ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:49:38 UTC +00:00], ["file", "13708829781777170.txt"], ["updated_at", Mon, 10 Jun 2013 16:49:38 UTC +00:00]]
23723
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23724
+  (0.0ms) SAVEPOINT active_record_1
23725
+ SQL (0.1ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
23726
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23727
+  (0.1ms) rollback transaction
23728
+  (0.0ms) begin transaction
23729
+  (0.1ms) rollback transaction
23730
+  (0.1ms) begin transaction
23731
+  (0.1ms) rollback transaction
23732
+  (0.0ms) begin transaction
23733
+  (0.1ms) rollback transaction
23734
+  (0.1ms) begin transaction
23735
+ Started GET "/uploads/images/small/13708829782439602.jpg" for 127.0.0.1 at 2013-06-10 13:49:38 -0300
23736
+ Processing by RailsUploads::PresetsController#generate as JPEG
23737
+ Parameters: {"status"=>404, "preset"=>"small", "image"=>"13708829782439602"}
23738
+ Redirected to http://www.example.com/uploads/images/small/13708829782439602.jpg
23739
+ Completed 302 Found in 66ms (ActiveRecord: 0.0ms)
23740
+  (0.1ms) rollback transaction
23741
+  (0.1ms) begin transaction
23742
+  (0.1ms) SAVEPOINT active_record_1
23743
+ SQL (0.5ms) INSERT INTO "image_uploads" ("created_at", "image", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:49:38 UTC +00:00], ["image", "13708829784573550.jpg"], ["updated_at", Mon, 10 Jun 2013 16:49:38 UTC +00:00]]
23744
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23745
+  (0.1ms) SAVEPOINT active_record_1
23746
+ SQL (0.2ms) DELETE FROM "image_uploads" WHERE "image_uploads"."id" = ? [["id", 1]]
23747
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23748
+  (0.1ms) rollback transaction
23749
+  (0.1ms) begin transaction
23750
+  (0.1ms) rollback transaction
23751
+  (0.1ms) begin transaction
23752
+  (0.1ms) rollback transaction
23753
+  (0.1ms) begin transaction
23754
+  (0.1ms) SAVEPOINT active_record_1
23755
+ SQL (0.5ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:49:38 UTC +00:00], ["file", "13708829789697620.jpg"], ["updated_at", Mon, 10 Jun 2013 16:49:38 UTC +00:00]]
23756
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23757
+  (0.0ms) SAVEPOINT active_record_1
23758
+  (0.1ms) UPDATE "file_uploads" SET "file" = '13708829789771650.txt', "updated_at" = '2013-06-10 16:49:38.980599' WHERE "file_uploads"."id" = 1
23759
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23760
+  (0.0ms) SAVEPOINT active_record_1
23761
+ SQL (0.1ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
23762
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23763
+  (0.1ms) rollback transaction
23764
+  (0.0ms) begin transaction
23765
+  (0.0ms) SAVEPOINT active_record_1
23766
+ SQL (0.3ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:49:38 UTC +00:00], ["file", nil], ["updated_at", Mon, 10 Jun 2013 16:49:38 UTC +00:00]]
23767
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23768
+  (0.0ms) SAVEPOINT active_record_1
23769
+ SQL (0.1ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
23770
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23771
+  (0.0ms) SAVEPOINT active_record_1
23772
+ SQL (0.2ms) INSERT INTO "image_uploads" ("created_at", "image", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:49:38 UTC +00:00], ["image", nil], ["updated_at", Mon, 10 Jun 2013 16:49:38 UTC +00:00]]
23773
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23774
+  (0.0ms) SAVEPOINT active_record_1
23775
+ SQL (0.1ms) DELETE FROM "image_uploads" WHERE "image_uploads"."id" = ? [["id", 1]]
23776
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23777
+  (0.1ms) rollback transaction
23778
+  (0.1ms) begin transaction
23779
+  (0.1ms) rollback transaction
23780
+  (0.1ms) begin transaction
23781
+  (0.1ms) rollback transaction
23782
+  (0.0ms) begin transaction
23783
+  (0.1ms) rollback transaction
23784
+  (0.1ms) begin transaction
23785
+  (0.1ms) rollback transaction
23786
+ Connecting to database specified by database.yml
23787
+  (1.9ms) select sqlite_version(*)
23788
+  (0.3ms) CREATE TABLE "file_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
23789
+  (0.1ms) CREATE TABLE "image_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
23790
+  (0.1ms) CREATE TABLE "validation_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_presence" varchar(255), "file_content_type" varchar(255), "file_size" varchar(255), "file_all" varchar(255), "file_default" varchar(255), "image_presence" varchar(255), "image_content_type" varchar(255), "image_size" varchar(255), "image_all" varchar(255), "image_default" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
23791
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
23792
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
23793
+  (0.0ms) SELECT version FROM "schema_migrations"
23794
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130124013431')
23795
+  (0.1ms) begin transaction
23796
+  (0.1ms) SAVEPOINT active_record_1
23797
+ SQL (7.9ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:52:43 UTC +00:00], ["file", "13708831634309508.txt"], ["updated_at", Mon, 10 Jun 2013 16:52:43 UTC +00:00]]
23798
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23799
+  (0.0ms) SAVEPOINT active_record_1
23800
+ SQL (0.2ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
23801
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23802
+  (0.1ms) rollback transaction
23803
+  (0.1ms) begin transaction
23804
+  (0.1ms) rollback transaction
23805
+  (0.1ms) begin transaction
23806
+  (0.1ms) rollback transaction
23807
+  (0.1ms) begin transaction
23808
+  (0.1ms) rollback transaction
23809
+  (0.1ms) begin transaction
23810
+ Started GET "/uploads/images/small/13708831634990752.jpg" for 127.0.0.1 at 2013-06-10 13:52:43 -0300
23811
+ Processing by RailsUploads::PresetsController#generate as JPEG
23812
+ Parameters: {"status"=>404, "preset"=>"small", "image"=>"13708831634990752"}
23813
+ Redirected to http://www.example.com/uploads/images/small/13708831634990752.jpg
23814
+ Completed 302 Found in 63ms (ActiveRecord: 0.0ms)
23815
+  (0.1ms) rollback transaction
23816
+  (0.1ms) begin transaction
23817
+  (0.1ms) SAVEPOINT active_record_1
23818
+ SQL (0.6ms) INSERT INTO "image_uploads" ("created_at", "image", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:52:43 UTC +00:00], ["image", "13708831637074430.jpg"], ["updated_at", Mon, 10 Jun 2013 16:52:43 UTC +00:00]]
23819
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23820
+  (0.0ms) SAVEPOINT active_record_1
23821
+ SQL (0.1ms) DELETE FROM "image_uploads" WHERE "image_uploads"."id" = ? [["id", 1]]
23822
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23823
+  (0.1ms) rollback transaction
23824
+  (0.1ms) begin transaction
23825
+  (0.1ms) rollback transaction
23826
+  (0.1ms) begin transaction
23827
+  (0.1ms) rollback transaction
23828
+  (0.1ms) begin transaction
23829
+  (0.0ms) SAVEPOINT active_record_1
23830
+ SQL (0.4ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:52:44 UTC +00:00], ["file", "13708831641772210.jpg"], ["updated_at", Mon, 10 Jun 2013 16:52:44 UTC +00:00]]
23831
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23832
+  (0.0ms) SAVEPOINT active_record_1
23833
+  (0.1ms) UPDATE "file_uploads" SET "file" = '13708831641839318.txt', "updated_at" = '2013-06-10 16:52:44.187048' WHERE "file_uploads"."id" = 1
23834
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23835
+  (0.0ms) SAVEPOINT active_record_1
23836
+ SQL (0.1ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
23837
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23838
+  (0.1ms) rollback transaction
23839
+  (0.0ms) begin transaction
23840
+  (0.0ms) SAVEPOINT active_record_1
23841
+ SQL (0.3ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:52:44 UTC +00:00], ["file", nil], ["updated_at", Mon, 10 Jun 2013 16:52:44 UTC +00:00]]
23842
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23843
+  (0.0ms) SAVEPOINT active_record_1
23844
+ SQL (0.0ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
23845
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23846
+  (0.0ms) SAVEPOINT active_record_1
23847
+ SQL (0.2ms) INSERT INTO "image_uploads" ("created_at", "image", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:52:44 UTC +00:00], ["image", nil], ["updated_at", Mon, 10 Jun 2013 16:52:44 UTC +00:00]]
23848
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23849
+  (0.0ms) SAVEPOINT active_record_1
23850
+ SQL (0.1ms) DELETE FROM "image_uploads" WHERE "image_uploads"."id" = ? [["id", 1]]
23851
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23852
+  (0.0ms) rollback transaction
23853
+  (0.0ms) begin transaction
23854
+  (0.1ms) rollback transaction
23855
+  (0.0ms) begin transaction
23856
+  (0.1ms) rollback transaction
23857
+  (0.0ms) begin transaction
23858
+  (0.0ms) rollback transaction
23859
+  (0.1ms) begin transaction
23860
+  (0.0ms) rollback transaction
23861
+ Connecting to database specified by database.yml
23862
+  (2.1ms) select sqlite_version(*)
23863
+  (0.3ms) CREATE TABLE "file_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
23864
+  (0.2ms) CREATE TABLE "image_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
23865
+  (0.2ms) CREATE TABLE "validation_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_presence" varchar(255), "file_content_type" varchar(255), "file_size" varchar(255), "file_all" varchar(255), "file_default" varchar(255), "image_presence" varchar(255), "image_content_type" varchar(255), "image_size" varchar(255), "image_all" varchar(255), "image_default" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
23866
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
23867
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
23868
+  (0.0ms) SELECT version FROM "schema_migrations"
23869
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130124013431')
23870
+ Connecting to database specified by database.yml
23871
+  (1.9ms) select sqlite_version(*)
23872
+  (0.2ms) CREATE TABLE "file_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
23873
+  (0.1ms) CREATE TABLE "image_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
23874
+  (0.2ms) CREATE TABLE "validation_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_presence" varchar(255), "file_content_type" varchar(255), "file_size" varchar(255), "file_all" varchar(255), "file_default" varchar(255), "image_presence" varchar(255), "image_content_type" varchar(255), "image_size" varchar(255), "image_all" varchar(255), "image_default" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
23875
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
23876
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
23877
+  (0.1ms) SELECT version FROM "schema_migrations"
23878
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130124013431')
23879
+  (0.1ms) begin transaction
23880
+  (0.1ms) SAVEPOINT active_record_1
23881
+ SQL (7.9ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:54:16 UTC +00:00], ["file", "13708832563863740.txt"], ["updated_at", Mon, 10 Jun 2013 16:54:16 UTC +00:00]]
23882
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23883
+  (0.0ms) SAVEPOINT active_record_1
23884
+ SQL (0.1ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
23885
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23886
+  (0.1ms) rollback transaction
23887
+  (0.0ms) begin transaction
23888
+  (0.2ms) rollback transaction
23889
+  (0.1ms) begin transaction
23890
+  (0.1ms) rollback transaction
23891
+  (0.1ms) begin transaction
23892
+  (0.1ms) rollback transaction
23893
+  (0.1ms) begin transaction
23894
+ Started GET "/uploads/images/small/13708832564574552.jpg" for 127.0.0.1 at 2013-06-10 13:54:16 -0300
23895
+ Processing by RailsUploads::PresetsController#generate as JPEG
23896
+ Parameters: {"status"=>404, "preset"=>"small", "image"=>"13708832564574552"}
23897
+ Redirected to http://www.example.com/uploads/images/small/13708832564574552.jpg
23898
+ Completed 302 Found in 64ms (ActiveRecord: 0.0ms)
23899
+  (0.1ms) rollback transaction
23900
+  (0.1ms) begin transaction
23901
+  (0.1ms) SAVEPOINT active_record_1
23902
+ SQL (0.6ms) INSERT INTO "image_uploads" ("created_at", "image", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:54:16 UTC +00:00], ["image", "13708832566620522.jpg"], ["updated_at", Mon, 10 Jun 2013 16:54:16 UTC +00:00]]
23903
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23904
+  (0.0ms) SAVEPOINT active_record_1
23905
+ SQL (0.1ms) DELETE FROM "image_uploads" WHERE "image_uploads"."id" = ? [["id", 1]]
23906
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23907
+  (0.1ms) rollback transaction
23908
+  (0.1ms) begin transaction
23909
+  (0.1ms) rollback transaction
23910
+  (0.0ms) begin transaction
23911
+  (0.1ms) rollback transaction
23912
+  (0.1ms) begin transaction
23913
+  (0.1ms) SAVEPOINT active_record_1
23914
+ SQL (0.4ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:54:17 UTC +00:00], ["file", "13708832571220952.jpg"], ["updated_at", Mon, 10 Jun 2013 16:54:17 UTC +00:00]]
23915
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23916
+  (0.0ms) SAVEPOINT active_record_1
23917
+  (0.1ms) UPDATE "file_uploads" SET "file" = '13708832571286862.txt', "updated_at" = '2013-06-10 16:54:17.131894' WHERE "file_uploads"."id" = 1
23918
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23919
+  (0.0ms) SAVEPOINT active_record_1
23920
+ SQL (0.1ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
23921
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23922
+  (0.1ms) rollback transaction
23923
+  (0.1ms) begin transaction
23924
+  (0.0ms) SAVEPOINT active_record_1
23925
+ SQL (0.3ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:54:17 UTC +00:00], ["file", nil], ["updated_at", Mon, 10 Jun 2013 16:54:17 UTC +00:00]]
23926
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23927
+  (0.0ms) SAVEPOINT active_record_1
23928
+ SQL (0.0ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
23929
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23930
+  (0.0ms) SAVEPOINT active_record_1
23931
+ SQL (0.2ms) INSERT INTO "image_uploads" ("created_at", "image", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:54:17 UTC +00:00], ["image", nil], ["updated_at", Mon, 10 Jun 2013 16:54:17 UTC +00:00]]
23932
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23933
+  (0.0ms) SAVEPOINT active_record_1
23934
+ SQL (0.1ms) DELETE FROM "image_uploads" WHERE "image_uploads"."id" = ? [["id", 1]]
23935
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23936
+  (0.1ms) rollback transaction
23937
+  (0.1ms) begin transaction
23938
+  (0.1ms) rollback transaction
23939
+  (0.0ms) begin transaction
23940
+  (0.0ms) rollback transaction
23941
+  (0.0ms) begin transaction
23942
+  (0.0ms) rollback transaction
23943
+  (0.0ms) begin transaction
23944
+  (0.0ms) rollback transaction
23945
+ Connecting to database specified by database.yml
23946
+  (1.9ms) select sqlite_version(*)
23947
+  (0.3ms) CREATE TABLE "file_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
23948
+  (0.1ms) CREATE TABLE "image_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
23949
+  (0.1ms) CREATE TABLE "validation_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_presence" varchar(255), "file_content_type" varchar(255), "file_size" varchar(255), "file_all" varchar(255), "file_default" varchar(255), "image_presence" varchar(255), "image_content_type" varchar(255), "image_size" varchar(255), "image_all" varchar(255), "image_default" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
23950
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
23951
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
23952
+  (0.1ms) SELECT version FROM "schema_migrations"
23953
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130124013431')
23954
+  (0.1ms) begin transaction
23955
+  (0.1ms) SAVEPOINT active_record_1
23956
+ SQL (7.7ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:54:42 UTC +00:00], ["file", "13708832824374558.txt"], ["updated_at", Mon, 10 Jun 2013 16:54:42 UTC +00:00]]
23957
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23958
+  (0.0ms) SAVEPOINT active_record_1
23959
+ SQL (0.1ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
23960
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23961
+  (0.1ms) rollback transaction
23962
+  (0.0ms) begin transaction
23963
+  (0.2ms) rollback transaction
23964
+  (0.1ms) begin transaction
23965
+  (0.1ms) rollback transaction
23966
+  (0.2ms) begin transaction
23967
+  (0.1ms) rollback transaction
23968
+  (0.1ms) begin transaction
23969
+ Started GET "/uploads/images/small/13708832825075532.jpg" for 127.0.0.1 at 2013-06-10 13:54:42 -0300
23970
+ Processing by RailsUploads::PresetsController#generate as JPEG
23971
+ Parameters: {"status"=>404, "preset"=>"small", "image"=>"13708832825075532"}
23972
+ Redirected to http://www.example.com/uploads/images/small/13708832825075532.jpg
23973
+ Completed 302 Found in 66ms (ActiveRecord: 0.0ms)
23974
+  (0.1ms) rollback transaction
23975
+  (0.1ms) begin transaction
23976
+  (0.1ms) SAVEPOINT active_record_1
23977
+ SQL (0.6ms) INSERT INTO "image_uploads" ("created_at", "image", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:54:42 UTC +00:00], ["image", "13708832827182550.jpg"], ["updated_at", Mon, 10 Jun 2013 16:54:42 UTC +00:00]]
23978
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23979
+  (0.0ms) SAVEPOINT active_record_1
23980
+ SQL (0.1ms) DELETE FROM "image_uploads" WHERE "image_uploads"."id" = ? [["id", 1]]
23981
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23982
+  (0.1ms) rollback transaction
23983
+  (0.1ms) begin transaction
23984
+  (0.1ms) rollback transaction
23985
+  (0.1ms) begin transaction
23986
+  (0.1ms) rollback transaction
23987
+  (0.1ms) begin transaction
23988
+  (0.1ms) SAVEPOINT active_record_1
23989
+ SQL (0.4ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:54:43 UTC +00:00], ["file", "13708832831841320.jpg"], ["updated_at", Mon, 10 Jun 2013 16:54:43 UTC +00:00]]
23990
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23991
+  (0.0ms) SAVEPOINT active_record_1
23992
+  (0.1ms) UPDATE "file_uploads" SET "file" = '13708832831906240.txt', "updated_at" = '2013-06-10 16:54:43.193745' WHERE "file_uploads"."id" = 1
23993
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23994
+  (0.0ms) SAVEPOINT active_record_1
23995
+ SQL (0.1ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
23996
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23997
+  (0.1ms) rollback transaction
23998
+  (0.1ms) begin transaction
23999
+  (0.0ms) SAVEPOINT active_record_1
24000
+ SQL (0.3ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:54:43 UTC +00:00], ["file", nil], ["updated_at", Mon, 10 Jun 2013 16:54:43 UTC +00:00]]
24001
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24002
+  (0.0ms) SAVEPOINT active_record_1
24003
+ SQL (0.0ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
24004
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24005
+  (0.0ms) SAVEPOINT active_record_1
24006
+ SQL (0.2ms) INSERT INTO "image_uploads" ("created_at", "image", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:54:43 UTC +00:00], ["image", nil], ["updated_at", Mon, 10 Jun 2013 16:54:43 UTC +00:00]]
24007
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24008
+  (0.0ms) SAVEPOINT active_record_1
24009
+ SQL (0.0ms) DELETE FROM "image_uploads" WHERE "image_uploads"."id" = ? [["id", 1]]
24010
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24011
+  (0.0ms) rollback transaction
24012
+  (0.1ms) begin transaction
24013
+  (0.1ms) rollback transaction
24014
+  (0.1ms) begin transaction
24015
+  (0.1ms) rollback transaction
24016
+  (0.0ms) begin transaction
24017
+  (0.1ms) rollback transaction
24018
+  (0.1ms) begin transaction
24019
+  (0.0ms) rollback transaction
24020
+ Connecting to database specified by database.yml
24021
+  (1.9ms) select sqlite_version(*)
24022
+  (0.2ms) CREATE TABLE "file_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
24023
+  (0.1ms) CREATE TABLE "image_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
24024
+  (0.1ms) CREATE TABLE "validation_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_presence" varchar(255), "file_content_type" varchar(255), "file_size" varchar(255), "file_all" varchar(255), "file_default" varchar(255), "image_presence" varchar(255), "image_content_type" varchar(255), "image_size" varchar(255), "image_all" varchar(255), "image_default" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
24025
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
24026
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
24027
+  (0.1ms) SELECT version FROM "schema_migrations"
24028
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130124013431')
24029
+  (0.1ms) begin transaction
24030
+  (0.1ms) SAVEPOINT active_record_1
24031
+ SQL (7.7ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:55:17 UTC +00:00], ["file", "13708833172526680.txt"], ["updated_at", Mon, 10 Jun 2013 16:55:17 UTC +00:00]]
24032
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24033
+  (0.0ms) SAVEPOINT active_record_1
24034
+ SQL (0.1ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
24035
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24036
+  (0.1ms) rollback transaction
24037
+  (0.1ms) begin transaction
24038
+  (0.2ms) rollback transaction
24039
+  (0.1ms) begin transaction
24040
+  (0.1ms) rollback transaction
24041
+  (0.1ms) begin transaction
24042
+  (0.1ms) rollback transaction
24043
+  (0.1ms) begin transaction
24044
+ Started GET "/uploads/images/small/13708833173718540.jpg" for 127.0.0.1 at 2013-06-10 13:55:17 -0300
24045
+ Processing by RailsUploads::PresetsController#generate as JPEG
24046
+ Parameters: {"status"=>404, "preset"=>"small", "image"=>"13708833173718540"}
24047
+ Redirected to http://www.example.com/uploads/images/small/13708833173718540.jpg
24048
+ Completed 302 Found in 66ms (ActiveRecord: 0.0ms)
24049
+  (0.1ms) rollback transaction
24050
+  (0.1ms) begin transaction
24051
+  (0.1ms) SAVEPOINT active_record_1
24052
+ SQL (0.6ms) INSERT INTO "image_uploads" ("created_at", "image", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:55:17 UTC +00:00], ["image", "13708833175847370.jpg"], ["updated_at", Mon, 10 Jun 2013 16:55:17 UTC +00:00]]
24053
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24054
+  (0.0ms) SAVEPOINT active_record_1
24055
+ SQL (0.1ms) DELETE FROM "image_uploads" WHERE "image_uploads"."id" = ? [["id", 1]]
24056
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24057
+  (0.1ms) rollback transaction
24058
+  (0.1ms) begin transaction
24059
+  (0.1ms) rollback transaction
24060
+  (0.1ms) begin transaction
24061
+  (0.1ms) rollback transaction
24062
+  (0.1ms) begin transaction
24063
+  (0.1ms) SAVEPOINT active_record_1
24064
+ SQL (0.5ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:55:18 UTC +00:00], ["file", "13708833180677330.jpg"], ["updated_at", Mon, 10 Jun 2013 16:55:18 UTC +00:00]]
24065
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24066
+  (0.0ms) SAVEPOINT active_record_1
24067
+  (0.2ms) UPDATE "file_uploads" SET "file" = '13708833180750930.txt', "updated_at" = '2013-06-10 16:55:18.078582' WHERE "file_uploads"."id" = 1
24068
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24069
+  (0.0ms) SAVEPOINT active_record_1
24070
+ SQL (0.1ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
24071
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24072
+  (0.1ms) rollback transaction
24073
+  (0.1ms) begin transaction
24074
+  (0.0ms) SAVEPOINT active_record_1
24075
+ SQL (0.4ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:55:18 UTC +00:00], ["file", nil], ["updated_at", Mon, 10 Jun 2013 16:55:18 UTC +00:00]]
24076
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24077
+  (0.0ms) SAVEPOINT active_record_1
24078
+ SQL (0.0ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
24079
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24080
+  (0.0ms) SAVEPOINT active_record_1
24081
+ SQL (0.2ms) INSERT INTO "image_uploads" ("created_at", "image", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:55:18 UTC +00:00], ["image", nil], ["updated_at", Mon, 10 Jun 2013 16:55:18 UTC +00:00]]
24082
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24083
+  (0.0ms) SAVEPOINT active_record_1
24084
+ SQL (0.0ms) DELETE FROM "image_uploads" WHERE "image_uploads"."id" = ? [["id", 1]]
24085
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24086
+  (0.0ms) rollback transaction
24087
+  (0.1ms) begin transaction
24088
+  (0.1ms) rollback transaction
24089
+  (0.0ms) begin transaction
24090
+  (0.1ms) rollback transaction
24091
+  (0.1ms) begin transaction
24092
+  (0.1ms) rollback transaction
24093
+  (0.1ms) begin transaction
24094
+  (0.1ms) rollback transaction
24095
+ Connecting to database specified by database.yml
24096
+  (1.9ms) select sqlite_version(*)
24097
+  (0.2ms) CREATE TABLE "file_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
24098
+  (0.1ms) CREATE TABLE "image_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
24099
+  (0.1ms) CREATE TABLE "validation_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_presence" varchar(255), "file_content_type" varchar(255), "file_size" varchar(255), "file_all" varchar(255), "file_default" varchar(255), "image_presence" varchar(255), "image_content_type" varchar(255), "image_size" varchar(255), "image_all" varchar(255), "image_default" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
24100
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
24101
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
24102
+  (0.0ms) SELECT version FROM "schema_migrations"
24103
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130124013431')
24104
+  (0.1ms) begin transaction
24105
+  (0.1ms) SAVEPOINT active_record_1
24106
+ SQL (7.4ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:57:01 UTC +00:00], ["file", "13708834217696372.txt"], ["updated_at", Mon, 10 Jun 2013 16:57:01 UTC +00:00]]
24107
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24108
+  (0.0ms) SAVEPOINT active_record_1
24109
+ SQL (0.1ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
24110
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24111
+  (0.1ms) rollback transaction
24112
+  (0.0ms) begin transaction
24113
+  (0.2ms) rollback transaction
24114
+  (0.1ms) begin transaction
24115
+  (0.1ms) rollback transaction
24116
+  (0.1ms) begin transaction
24117
+  (0.1ms) rollback transaction
24118
+  (0.1ms) begin transaction
24119
+ Started GET "/uploads/images/small/13708834218381440.jpg" for 127.0.0.1 at 2013-06-10 13:57:01 -0300
24120
+ Processing by RailsUploads::PresetsController#generate as JPEG
24121
+ Parameters: {"status"=>404, "preset"=>"small", "image"=>"13708834218381440"}
24122
+ Redirected to http://www.example.com/uploads/images/small/13708834218381440.jpg
24123
+ Completed 302 Found in 67ms (ActiveRecord: 0.0ms)
24124
+  (0.1ms) rollback transaction
24125
+  (0.1ms) begin transaction
24126
+  (0.1ms) SAVEPOINT active_record_1
24127
+ SQL (0.6ms) INSERT INTO "image_uploads" ("created_at", "image", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:57:02 UTC +00:00], ["image", "13708834220503230.jpg"], ["updated_at", Mon, 10 Jun 2013 16:57:02 UTC +00:00]]
24128
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24129
+  (0.0ms) SAVEPOINT active_record_1
24130
+ SQL (0.1ms) DELETE FROM "image_uploads" WHERE "image_uploads"."id" = ? [["id", 1]]
24131
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24132
+  (0.1ms) rollback transaction
24133
+  (0.1ms) begin transaction
24134
+  (0.1ms) rollback transaction
24135
+  (0.1ms) begin transaction
24136
+  (0.1ms) rollback transaction
24137
+  (0.1ms) begin transaction
24138
+  (0.1ms) SAVEPOINT active_record_1
24139
+ SQL (0.4ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:57:02 UTC +00:00], ["file", "13708834225141000.jpg"], ["updated_at", Mon, 10 Jun 2013 16:57:02 UTC +00:00]]
24140
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24141
+  (0.0ms) SAVEPOINT active_record_1
24142
+  (0.1ms) UPDATE "file_uploads" SET "file" = '13708834225207760.txt', "updated_at" = '2013-06-10 16:57:02.523977' WHERE "file_uploads"."id" = 1
24143
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24144
+  (0.0ms) SAVEPOINT active_record_1
24145
+ SQL (0.1ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
24146
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24147
+  (0.1ms) rollback transaction
24148
+  (0.1ms) begin transaction
24149
+  (0.0ms) SAVEPOINT active_record_1
24150
+ SQL (0.3ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:57:02 UTC +00:00], ["file", nil], ["updated_at", Mon, 10 Jun 2013 16:57:02 UTC +00:00]]
24151
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24152
+  (0.0ms) SAVEPOINT active_record_1
24153
+ SQL (0.0ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
24154
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24155
+  (0.0ms) SAVEPOINT active_record_1
24156
+ SQL (0.2ms) INSERT INTO "image_uploads" ("created_at", "image", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:57:02 UTC +00:00], ["image", nil], ["updated_at", Mon, 10 Jun 2013 16:57:02 UTC +00:00]]
24157
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24158
+  (0.0ms) SAVEPOINT active_record_1
24159
+ SQL (0.0ms) DELETE FROM "image_uploads" WHERE "image_uploads"."id" = ? [["id", 1]]
24160
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24161
+  (0.1ms) rollback transaction
24162
+  (0.1ms) begin transaction
24163
+  (0.1ms) rollback transaction
24164
+  (0.1ms) begin transaction
24165
+  (0.1ms) rollback transaction
24166
+  (0.0ms) begin transaction
24167
+  (0.1ms) rollback transaction
24168
+  (0.0ms) begin transaction
24169
+  (0.1ms) rollback transaction
24170
+ Connecting to database specified by database.yml
24171
+  (2.0ms) select sqlite_version(*)
24172
+  (0.2ms) CREATE TABLE "file_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
24173
+  (0.1ms) CREATE TABLE "image_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
24174
+  (0.2ms) CREATE TABLE "validation_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_presence" varchar(255), "file_content_type" varchar(255), "file_size" varchar(255), "file_all" varchar(255), "file_default" varchar(255), "image_presence" varchar(255), "image_content_type" varchar(255), "image_size" varchar(255), "image_all" varchar(255), "image_default" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
24175
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
24176
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
24177
+  (0.1ms) SELECT version FROM "schema_migrations"
24178
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130124013431')
24179
+  (0.1ms) begin transaction
24180
+  (0.1ms) SAVEPOINT active_record_1
24181
+ SQL (7.2ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:58:17 UTC +00:00], ["file", "13708834977496058.txt"], ["updated_at", Mon, 10 Jun 2013 16:58:17 UTC +00:00]]
24182
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24183
+  (0.0ms) SAVEPOINT active_record_1
24184
+ SQL (0.1ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
24185
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24186
+  (0.1ms) rollback transaction
24187
+  (0.1ms) begin transaction
24188
+  (0.0ms) rollback transaction
24189
+  (0.0ms) begin transaction
24190
+  (0.0ms) rollback transaction
24191
+  (0.0ms) begin transaction
24192
+  (0.0ms) rollback transaction
24193
+  (0.1ms) begin transaction
24194
+ Started GET "/uploads/images/small/13708834977817770.jpg" for 127.0.0.1 at 2013-06-10 13:58:17 -0300
24195
+ Processing by RailsUploads::PresetsController#generate as JPEG
24196
+ Parameters: {"status"=>404, "preset"=>"small", "image"=>"13708834977817770"}
24197
+ Redirected to http://www.example.com/uploads/images/small/13708834977817770.jpg
24198
+ Completed 302 Found in 65ms (ActiveRecord: 0.0ms)
24199
+  (0.1ms) rollback transaction
24200
+  (0.1ms) begin transaction
24201
+  (0.1ms) SAVEPOINT active_record_1
24202
+ SQL (0.6ms) INSERT INTO "image_uploads" ("created_at", "image", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:58:18 UTC +00:00], ["image", "13708834979887310.jpg"], ["updated_at", Mon, 10 Jun 2013 16:58:18 UTC +00:00]]
24203
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24204
+  (0.0ms) SAVEPOINT active_record_1
24205
+ SQL (0.1ms) DELETE FROM "image_uploads" WHERE "image_uploads"."id" = ? [["id", 1]]
24206
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24207
+  (0.1ms) rollback transaction
24208
+  (0.1ms) begin transaction
24209
+  (0.1ms) rollback transaction
24210
+  (0.1ms) begin transaction
24211
+  (0.1ms) rollback transaction
24212
+  (0.1ms) begin transaction
24213
+  (0.1ms) SAVEPOINT active_record_1
24214
+ SQL (0.4ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:58:18 UTC +00:00], ["file", "13708834984520672.jpg"], ["updated_at", Mon, 10 Jun 2013 16:58:18 UTC +00:00]]
24215
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24216
+  (0.0ms) SAVEPOINT active_record_1
24217
+  (0.1ms) UPDATE "file_uploads" SET "file" = '13708834984587260.txt', "updated_at" = '2013-06-10 16:58:18.461931' WHERE "file_uploads"."id" = 1
24218
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24219
+  (0.0ms) SAVEPOINT active_record_1
24220
+ SQL (0.1ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
24221
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24222
+  (0.1ms) rollback transaction
24223
+  (0.1ms) begin transaction
24224
+  (0.0ms) SAVEPOINT active_record_1
24225
+ SQL (0.3ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:58:18 UTC +00:00], ["file", nil], ["updated_at", Mon, 10 Jun 2013 16:58:18 UTC +00:00]]
24226
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24227
+  (0.0ms) SAVEPOINT active_record_1
24228
+ SQL (0.0ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
24229
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24230
+  (0.0ms) SAVEPOINT active_record_1
24231
+ SQL (0.2ms) INSERT INTO "image_uploads" ("created_at", "image", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 16:58:18 UTC +00:00], ["image", nil], ["updated_at", Mon, 10 Jun 2013 16:58:18 UTC +00:00]]
24232
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24233
+  (0.0ms) SAVEPOINT active_record_1
24234
+ SQL (0.0ms) DELETE FROM "image_uploads" WHERE "image_uploads"."id" = ? [["id", 1]]
24235
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24236
+  (0.0ms) rollback transaction
24237
+  (0.1ms) begin transaction
24238
+  (0.1ms) rollback transaction
24239
+  (0.1ms) begin transaction
24240
+  (0.1ms) rollback transaction
24241
+  (0.0ms) begin transaction
24242
+  (0.0ms) rollback transaction
24243
+  (0.1ms) begin transaction
24244
+  (0.1ms) rollback transaction
24245
+ Connecting to database specified by database.yml
24246
+  (2.1ms) select sqlite_version(*)
24247
+  (0.3ms) CREATE TABLE "file_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
24248
+  (0.1ms) CREATE TABLE "image_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
24249
+  (0.2ms) CREATE TABLE "validation_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_presence" varchar(255), "file_content_type" varchar(255), "file_size" varchar(255), "file_all" varchar(255), "file_default" varchar(255), "image_presence" varchar(255), "image_content_type" varchar(255), "image_size" varchar(255), "image_all" varchar(255), "image_default" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
24250
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
24251
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
24252
+  (0.0ms) SELECT version FROM "schema_migrations"
24253
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130124013431')
24254
+  (0.1ms) begin transaction
24255
+  (0.1ms) SAVEPOINT active_record_1
24256
+ SQL (11.2ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 20:03:21 UTC +00:00], ["file", "13708946015552750.txt"], ["updated_at", Mon, 10 Jun 2013 20:03:21 UTC +00:00]]
24257
+
24258
+ ***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
24259
+
24260
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24261
+  (0.0ms) SAVEPOINT active_record_1
24262
+ SQL (0.1ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
24263
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24264
+  (0.1ms) rollback transaction
24265
+  (0.1ms) begin transaction
24266
+  (0.1ms) rollback transaction
24267
+  (0.1ms) begin transaction
24268
+  (0.1ms) rollback transaction
24269
+  (0.0ms) begin transaction
24270
+  (0.1ms) rollback transaction
24271
+  (0.1ms) begin transaction
24272
+ Started GET "/uploads/images/small/13708946017119748.jpg" for 127.0.0.1 at 2013-06-10 17:03:21 -0300
24273
+ Processing by RailsUploads::PresetsController#generate as JPEG
24274
+ Parameters: {"status"=>404, "preset"=>"small", "image"=>"13708946017119748"}
24275
+ Redirected to http://www.example.com/uploads/images/small/13708946017119748.jpg
24276
+ Completed 302 Found in 66ms (ActiveRecord: 0.0ms)
24277
+  (0.1ms) rollback transaction
24278
+  (0.1ms) begin transaction
24279
+  (0.1ms) SAVEPOINT active_record_1
24280
+ SQL (0.8ms) INSERT INTO "image_uploads" ("created_at", "image", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 20:03:22 UTC +00:00], ["image", "13708946020915342.jpg"], ["updated_at", Mon, 10 Jun 2013 20:03:22 UTC +00:00]]
24281
+
24282
+ ***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
24283
+
24284
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24285
+  (0.1ms) SAVEPOINT active_record_1
24286
+ SQL (0.3ms) DELETE FROM "image_uploads" WHERE "image_uploads"."id" = ? [["id", 1]]
24287
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24288
+  (0.1ms) rollback transaction
24289
+  (0.1ms) begin transaction
24290
+  (0.1ms) rollback transaction
24291
+  (0.1ms) begin transaction
24292
+  (0.2ms) rollback transaction
24293
+  (0.1ms) begin transaction
24294
+  (0.1ms) SAVEPOINT active_record_1
24295
+ SQL (0.6ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 20:03:22 UTC +00:00], ["file", "13708946026473868.jpg"], ["updated_at", Mon, 10 Jun 2013 20:03:22 UTC +00:00]]
24296
+
24297
+ ***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
24298
+
24299
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24300
+  (0.1ms) SAVEPOINT active_record_1
24301
+  (0.2ms) UPDATE "file_uploads" SET "file" = '13708946026571720.txt', "updated_at" = '2013-06-10 20:03:22.661223' WHERE "file_uploads"."id" = 1
24302
+
24303
+ ***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
24304
+
24305
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24306
+  (0.1ms) SAVEPOINT active_record_1
24307
+ SQL (0.1ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
24308
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24309
+  (0.1ms) rollback transaction
24310
+  (0.1ms) begin transaction
24311
+  (0.1ms) SAVEPOINT active_record_1
24312
+ SQL (0.4ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 20:03:22 UTC +00:00], ["file", nil], ["updated_at", Mon, 10 Jun 2013 20:03:22 UTC +00:00]]
24313
+
24314
+ ***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
24315
+
24316
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24317
+  (0.1ms) SAVEPOINT active_record_1
24318
+ SQL (0.1ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
24319
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24320
+  (0.1ms) SAVEPOINT active_record_1
24321
+ SQL (0.3ms) INSERT INTO "image_uploads" ("created_at", "image", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 20:03:22 UTC +00:00], ["image", nil], ["updated_at", Mon, 10 Jun 2013 20:03:22 UTC +00:00]]
24322
+
24323
+ ***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
24324
+
24325
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24326
+  (0.1ms) SAVEPOINT active_record_1
24327
+ SQL (0.1ms) DELETE FROM "image_uploads" WHERE "image_uploads"."id" = ? [["id", 1]]
24328
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24329
+  (0.1ms) rollback transaction
24330
+  (0.1ms) begin transaction
24331
+  (0.1ms) rollback transaction
24332
+  (0.1ms) begin transaction
24333
+  (0.1ms) rollback transaction
24334
+  (0.1ms) begin transaction
24335
+  (0.1ms) rollback transaction
24336
+  (0.1ms) begin transaction
24337
+  (0.1ms) rollback transaction
24338
+ Connecting to database specified by database.yml
24339
+  (2.1ms) select sqlite_version(*)
24340
+  (0.2ms) CREATE TABLE "file_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
24341
+  (0.1ms) CREATE TABLE "image_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
24342
+  (0.2ms) CREATE TABLE "validation_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_presence" varchar(255), "file_content_type" varchar(255), "file_size" varchar(255), "file_all" varchar(255), "file_default" varchar(255), "image_presence" varchar(255), "image_content_type" varchar(255), "image_size" varchar(255), "image_all" varchar(255), "image_default" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
24343
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
24344
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
24345
+  (0.0ms) SELECT version FROM "schema_migrations"
24346
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130124013431')
24347
+  (0.1ms) begin transaction
24348
+  (0.1ms) SAVEPOINT active_record_1
24349
+ SQL (8.5ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 20:14:19 UTC +00:00], ["file", "13708952595046840.txt"], ["updated_at", Mon, 10 Jun 2013 20:14:19 UTC +00:00]]
24350
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24351
+  (0.0ms) SAVEPOINT active_record_1
24352
+ SQL (0.1ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
24353
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24354
+  (0.1ms) rollback transaction
24355
+  (0.1ms) begin transaction
24356
+  (0.1ms) rollback transaction
24357
+  (0.1ms) begin transaction
24358
+  (0.1ms) rollback transaction
24359
+  (0.0ms) begin transaction
24360
+  (0.0ms) rollback transaction
24361
+  (0.0ms) begin transaction
24362
+ Started GET "/uploads/images/small/13708952595761678.jpg" for 127.0.0.1 at 2013-06-10 17:14:19 -0300
24363
+ Processing by RailsUploads::PresetsController#generate as JPEG
24364
+ Parameters: {"status"=>404, "preset"=>"small", "image"=>"13708952595761678"}
24365
+ Redirected to http://www.example.com/uploads/images/small/13708952595761678.jpg
24366
+ Completed 302 Found in 66ms (ActiveRecord: 0.0ms)
24367
+  (0.1ms) rollback transaction
24368
+  (0.1ms) begin transaction
24369
+  (0.1ms) SAVEPOINT active_record_1
24370
+ SQL (0.6ms) INSERT INTO "image_uploads" ("created_at", "image", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 20:14:20 UTC +00:00], ["image", "13708952597857612.jpg"], ["updated_at", Mon, 10 Jun 2013 20:14:20 UTC +00:00]]
24371
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24372
+  (0.1ms) SAVEPOINT active_record_1
24373
+ SQL (0.2ms) DELETE FROM "image_uploads" WHERE "image_uploads"."id" = ? [["id", 1]]
24374
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24375
+  (0.1ms) rollback transaction
24376
+  (0.1ms) begin transaction
24377
+  (0.1ms) rollback transaction
24378
+  (0.1ms) begin transaction
24379
+  (0.1ms) rollback transaction
24380
+  (0.1ms) begin transaction
24381
+  (0.0ms) SAVEPOINT active_record_1
24382
+ SQL (0.4ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 20:14:20 UTC +00:00], ["file", "13708952602684690.jpg"], ["updated_at", Mon, 10 Jun 2013 20:14:20 UTC +00:00]]
24383
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24384
+  (0.0ms) SAVEPOINT active_record_1
24385
+  (0.1ms) UPDATE "file_uploads" SET "file" = '13708952602751948.txt', "updated_at" = '2013-06-10 20:14:20.278502' WHERE "file_uploads"."id" = 1
24386
+  (0.1ms) RELEASE SAVEPOINT active_record_1
24387
+  (0.0ms) SAVEPOINT active_record_1
24388
+ SQL (0.1ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
24389
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24390
+  (0.1ms) rollback transaction
24391
+  (0.0ms) begin transaction
24392
+  (0.0ms) SAVEPOINT active_record_1
24393
+ SQL (0.3ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 20:14:20 UTC +00:00], ["file", nil], ["updated_at", Mon, 10 Jun 2013 20:14:20 UTC +00:00]]
24394
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24395
+  (0.0ms) SAVEPOINT active_record_1
24396
+ SQL (0.1ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
24397
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24398
+  (0.0ms) SAVEPOINT active_record_1
24399
+ SQL (0.2ms) INSERT INTO "image_uploads" ("created_at", "image", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 10 Jun 2013 20:14:20 UTC +00:00], ["image", nil], ["updated_at", Mon, 10 Jun 2013 20:14:20 UTC +00:00]]
24400
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24401
+  (0.0ms) SAVEPOINT active_record_1
24402
+ SQL (0.1ms) DELETE FROM "image_uploads" WHERE "image_uploads"."id" = ? [["id", 1]]
24403
+  (0.0ms) RELEASE SAVEPOINT active_record_1
24404
+  (0.0ms) rollback transaction
24405
+  (0.1ms) begin transaction
24406
+  (0.1ms) rollback transaction
24407
+  (0.1ms) begin transaction
24408
+  (0.1ms) rollback transaction
24409
+  (0.0ms) begin transaction
24410
+  (0.0ms) rollback transaction
24411
+  (0.0ms) begin transaction
24412
+  (0.1ms) rollback transaction