fakerclip 0.0.1

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.
Files changed (50) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.md +40 -0
  3. data/Rakefile +27 -0
  4. data/lib/fakerclip.rb +9 -0
  5. data/lib/fakerclip/engine.rb +4 -0
  6. data/lib/fakerclip/excon.rb +32 -0
  7. data/lib/fakerclip/url_generator.rb +18 -0
  8. data/lib/fakerclip/version.rb +3 -0
  9. data/lib/tasks/fakerclip_tasks.rake +4 -0
  10. data/spec/dummy/README.rdoc +261 -0
  11. data/spec/dummy/Rakefile +7 -0
  12. data/spec/dummy/app/assets/javascripts/application.js +15 -0
  13. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  14. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  15. data/spec/dummy/app/controllers/uploads_controller.rb +83 -0
  16. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  17. data/spec/dummy/app/models/upload.rb +20 -0
  18. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  19. data/spec/dummy/config.ru +4 -0
  20. data/spec/dummy/config/application.rb +65 -0
  21. data/spec/dummy/config/boot.rb +10 -0
  22. data/spec/dummy/config/database.yml +25 -0
  23. data/spec/dummy/config/environment.rb +5 -0
  24. data/spec/dummy/config/environments/development.rb +37 -0
  25. data/spec/dummy/config/environments/production.rb +67 -0
  26. data/spec/dummy/config/environments/test.rb +37 -0
  27. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  28. data/spec/dummy/config/initializers/inflections.rb +15 -0
  29. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  30. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  31. data/spec/dummy/config/initializers/session_store.rb +8 -0
  32. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  33. data/spec/dummy/config/locales/en.yml +5 -0
  34. data/spec/dummy/config/routes.rb +58 -0
  35. data/spec/dummy/db/development.sqlite3 +0 -0
  36. data/spec/dummy/db/migrate/20130313170044_create_uploads.rb +8 -0
  37. data/spec/dummy/db/migrate/20130313170124_add_attachment_file_to_uploads.rb +11 -0
  38. data/spec/dummy/db/schema.rb +25 -0
  39. data/spec/dummy/db/test.sqlite3 +0 -0
  40. data/spec/dummy/log/development.log +28 -0
  41. data/spec/dummy/log/test.log +543 -0
  42. data/spec/dummy/public/404.html +26 -0
  43. data/spec/dummy/public/422.html +26 -0
  44. data/spec/dummy/public/500.html +25 -0
  45. data/spec/dummy/public/favicon.ico +0 -0
  46. data/spec/dummy/script/rails +6 -0
  47. data/spec/factories/uploads.rb +6 -0
  48. data/spec/lib/fakerclip_spec.rb +39 -0
  49. data/spec/spec_helper.rb +27 -0
  50. metadata +269 -0
@@ -0,0 +1,8 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
4
+
5
+ # Use the database for sessions instead of the cookie-based default,
6
+ # which shouldn't be used to store highly confidential information
7
+ # (create the session table with "rails generate session_migration")
8
+ # Dummy::Application.config.session_store :active_record_store
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+ #
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json]
9
+ end
10
+
11
+ # Disable root element in JSON by default.
12
+ ActiveSupport.on_load(:active_record) do
13
+ self.include_root_in_json = false
14
+ end
@@ -0,0 +1,5 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ en:
5
+ hello: "Hello world"
@@ -0,0 +1,58 @@
1
+ Dummy::Application.routes.draw do
2
+ # The priority is based upon order of creation:
3
+ # first created -> highest priority.
4
+
5
+ # Sample of regular route:
6
+ # match 'products/:id' => 'catalog#view'
7
+ # Keep in mind you can assign values other than :controller and :action
8
+
9
+ # Sample of named route:
10
+ # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
11
+ # This route can be invoked with purchase_url(:id => product.id)
12
+
13
+ # Sample resource route (maps HTTP verbs to controller actions automatically):
14
+ # resources :products
15
+
16
+ # Sample resource route with options:
17
+ # resources :products do
18
+ # member do
19
+ # get 'short'
20
+ # post 'toggle'
21
+ # end
22
+ #
23
+ # collection do
24
+ # get 'sold'
25
+ # end
26
+ # end
27
+
28
+ # Sample resource route with sub-resources:
29
+ # resources :products do
30
+ # resources :comments, :sales
31
+ # resource :seller
32
+ # end
33
+
34
+ # Sample resource route with more complex sub-resources
35
+ # resources :products do
36
+ # resources :comments
37
+ # resources :sales do
38
+ # get 'recent', :on => :collection
39
+ # end
40
+ # end
41
+
42
+ # Sample resource route within a namespace:
43
+ # namespace :admin do
44
+ # # Directs /admin/products/* to Admin::ProductsController
45
+ # # (app/controllers/admin/products_controller.rb)
46
+ # resources :products
47
+ # end
48
+
49
+ # You can have the root of your site routed with "root"
50
+ # just remember to delete public/index.html.
51
+ # root :to => 'welcome#index'
52
+
53
+ # See how all your routes lay out with "rake routes"
54
+
55
+ # This is a legacy wild controller route that's not recommended for RESTful applications.
56
+ # Note: This route will make all actions in every controller accessible via GET requests.
57
+ # match ':controller(/:action(/:id))(.:format)'
58
+ end
Binary file
@@ -0,0 +1,8 @@
1
+ class CreateUploads < ActiveRecord::Migration
2
+ def change
3
+ create_table :uploads do |t|
4
+
5
+ t.timestamps
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,11 @@
1
+ class AddAttachmentFileToUploads < ActiveRecord::Migration
2
+ def self.up
3
+ change_table :uploads do |t|
4
+ t.attachment :file
5
+ end
6
+ end
7
+
8
+ def self.down
9
+ drop_attached_file :uploads, :file
10
+ end
11
+ end
@@ -0,0 +1,25 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended to check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(:version => 20130313170124) do
15
+
16
+ create_table "uploads", :force => true do |t|
17
+ t.datetime "created_at", :null => false
18
+ t.datetime "updated_at", :null => false
19
+ t.string "file_file_name"
20
+ t.string "file_content_type"
21
+ t.integer "file_file_size"
22
+ t.datetime "file_updated_at"
23
+ end
24
+
25
+ end
Binary file
@@ -0,0 +1,28 @@
1
+ Connecting to database specified by database.yml
2
+  (0.1ms) select sqlite_version(*)
3
+  (5.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
4
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
+  (3.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
6
+ Migrating to CreateUploads (20130313170044)
7
+  (0.0ms) begin transaction
8
+  (0.4ms) CREATE TABLE "uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
9
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130313170044')
10
+  (1.2ms) commit transaction
11
+ Migrating to AddAttachmentFileToUploads (20130313170124)
12
+  (0.0ms) begin transaction
13
+  (0.3ms) ALTER TABLE "uploads" ADD "file_file_name" varchar(255)
14
+  (0.1ms) ALTER TABLE "uploads" ADD "file_content_type" varchar(255)
15
+  (0.1ms) ALTER TABLE "uploads" ADD "file_file_size" integer
16
+  (0.1ms) ALTER TABLE "uploads" ADD "file_updated_at" datetime
17
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130313170124')
18
+  (0.9ms) commit transaction
19
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
20
+ Connecting to database specified by database.yml
21
+  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
22
+  (0.2ms) select sqlite_version(*)
23
+  (1.0ms) CREATE TABLE "uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "file_file_name" varchar(255), "file_content_type" varchar(255), "file_file_size" integer, "file_updated_at" datetime) 
24
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
25
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
26
+  (0.1ms) SELECT version FROM "schema_migrations"
27
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130313170124')
28
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130313170044')
@@ -0,0 +1,543 @@
1
+ Connecting to database specified by database.yml
2
+ Connecting to database specified by database.yml
3
+ Connecting to database specified by database.yml
4
+ Connecting to database specified by database.yml
5
+  (0.3ms) begin transaction
6
+  (0.0ms) rollback transaction
7
+  (0.0ms) begin transaction
8
+  (0.0ms) rollback transaction
9
+ Connecting to database specified by database.yml
10
+  (0.2ms) begin transaction
11
+  (0.0ms) rollback transaction
12
+  (0.0ms) begin transaction
13
+  (0.0ms) rollback transaction
14
+ Connecting to database specified by database.yml
15
+  (0.3ms) begin transaction
16
+  (0.0ms) rollback transaction
17
+  (0.0ms) begin transaction
18
+  (0.0ms) rollback transaction
19
+ Connecting to database specified by database.yml
20
+  (0.4ms) begin transaction
21
+  (0.0ms) rollback transaction
22
+  (0.0ms) begin transaction
23
+  (0.0ms) rollback transaction
24
+ Connecting to database specified by database.yml
25
+  (0.2ms) begin transaction
26
+  (0.1ms) rollback transaction
27
+  (0.2ms) begin transaction
28
+  (0.0ms) rollback transaction
29
+ Connecting to database specified by database.yml
30
+  (0.2ms) begin transaction
31
+  (0.1ms) rollback transaction
32
+  (0.0ms) begin transaction
33
+  (0.0ms) rollback transaction
34
+ Connecting to database specified by database.yml
35
+  (0.2ms) begin transaction
36
+  (0.0ms) rollback transaction
37
+  (0.0ms) begin transaction
38
+  (0.0ms) rollback transaction
39
+ Connecting to database specified by database.yml
40
+  (0.3ms) begin transaction
41
+  (0.0ms) SAVEPOINT active_record_1
42
+ SQL (10.9ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 05:07:37 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 05:07:37 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 05:07:37 UTC +00:00]]
43
+ [paperclip] Saving attachments.
44
+ [paperclip] saving files/1/random-bytes.bin
45
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
46
+  (0.4ms) rollback transaction
47
+  (0.8ms) DELETE FROM "uploads";
48
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
49
+  (0.0ms) begin transaction
50
+  (0.0ms) SAVEPOINT active_record_1
51
+ SQL (0.4ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 05:07:37 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 05:07:37 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 05:07:37 UTC +00:00]]
52
+ [paperclip] Saving attachments.
53
+ [paperclip] saving files/1/random-bytes.bin
54
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
55
+  (0.3ms) rollback transaction
56
+  (1.0ms) DELETE FROM "uploads";
57
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
58
+ Connecting to database specified by database.yml
59
+  (0.3ms) begin transaction
60
+  (0.0ms) SAVEPOINT active_record_1
61
+ SQL (5.8ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 05:10:50 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 05:10:50 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 05:10:50 UTC +00:00]]
62
+ [paperclip] Saving attachments.
63
+ [paperclip] saving files/1/random-bytes.bin
64
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
65
+  (0.3ms) rollback transaction
66
+  (0.7ms) DELETE FROM "uploads";
67
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
68
+  (0.0ms) begin transaction
69
+  (0.0ms) SAVEPOINT active_record_1
70
+ SQL (0.4ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 05:10:50 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 05:10:50 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 05:10:50 UTC +00:00]]
71
+ [paperclip] Saving attachments.
72
+ [paperclip] saving files/1/random-bytes.bin
73
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
74
+  (0.3ms) rollback transaction
75
+  (0.7ms) DELETE FROM "uploads";
76
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
77
+ Connecting to database specified by database.yml
78
+  (0.3ms) begin transaction
79
+  (0.0ms) SAVEPOINT active_record_1
80
+ SQL (5.2ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 05:14:13 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 05:14:13 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 05:14:13 UTC +00:00]]
81
+ [paperclip] Saving attachments.
82
+ [paperclip] saving files/1/random-bytes.bin
83
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
84
+  (0.3ms) rollback transaction
85
+  (0.8ms) DELETE FROM "uploads";
86
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
87
+  (0.0ms) begin transaction
88
+  (0.0ms) SAVEPOINT active_record_1
89
+ SQL (0.4ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 05:14:13 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 05:14:13 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 05:14:13 UTC +00:00]]
90
+ [paperclip] Saving attachments.
91
+ [paperclip] saving files/1/random-bytes.bin
92
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
93
+  (0.3ms) rollback transaction
94
+  (0.6ms) DELETE FROM "uploads";
95
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
96
+ Connecting to database specified by database.yml
97
+  (0.2ms) begin transaction
98
+  (0.0ms) SAVEPOINT active_record_1
99
+ SQL (4.9ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 05:14:47 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 05:14:47 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 05:14:47 UTC +00:00]]
100
+ [paperclip] Saving attachments.
101
+ [paperclip] saving files/1/random-bytes.bin
102
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
103
+  (0.5ms) rollback transaction
104
+  (0.8ms) DELETE FROM "uploads";
105
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
106
+  (0.1ms) begin transaction
107
+  (0.1ms) SAVEPOINT active_record_1
108
+ SQL (0.4ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 05:14:47 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 05:14:47 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 05:14:47 UTC +00:00]]
109
+ [paperclip] Saving attachments.
110
+ [paperclip] saving files/1/random-bytes.bin
111
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
112
+  (0.4ms) rollback transaction
113
+  (0.9ms) DELETE FROM "uploads";
114
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'uploads';
115
+ Connecting to database specified by database.yml
116
+  (0.3ms) begin transaction
117
+  (0.0ms) SAVEPOINT active_record_1
118
+ SQL (5.0ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 05:15:46 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 05:15:46 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 05:15:46 UTC +00:00]]
119
+ [paperclip] Saving attachments.
120
+ [paperclip] saving files/1/random-bytes.bin
121
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
122
+  (0.4ms) rollback transaction
123
+  (0.9ms) DELETE FROM "uploads";
124
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
125
+  (0.0ms) begin transaction
126
+  (0.0ms) SAVEPOINT active_record_1
127
+ SQL (0.4ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 05:15:46 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 05:15:46 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 05:15:46 UTC +00:00]]
128
+ [paperclip] Saving attachments.
129
+ [paperclip] saving files/1/random-bytes.bin
130
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
131
+  (0.3ms) rollback transaction
132
+  (0.9ms) DELETE FROM "uploads";
133
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
134
+ Connecting to database specified by database.yml
135
+  (0.3ms) begin transaction
136
+  (0.1ms) SAVEPOINT active_record_1
137
+ SQL (6.0ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 05:15:53 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 05:15:53 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 05:15:53 UTC +00:00]]
138
+ [paperclip] Saving attachments.
139
+ [paperclip] saving files/1/random-bytes.bin
140
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
141
+  (0.4ms) rollback transaction
142
+  (0.7ms) DELETE FROM "uploads";
143
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
144
+  (0.0ms) begin transaction
145
+  (0.0ms) SAVEPOINT active_record_1
146
+ SQL (0.4ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 05:15:53 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 05:15:53 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 05:15:53 UTC +00:00]]
147
+ [paperclip] Saving attachments.
148
+ [paperclip] saving files/1/random-bytes.bin
149
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
150
+  (0.4ms) rollback transaction
151
+  (0.9ms) DELETE FROM "uploads";
152
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
153
+ Connecting to database specified by database.yml
154
+  (0.2ms) begin transaction
155
+  (0.1ms) SAVEPOINT active_record_1
156
+ SQL (7.7ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 05:16:27 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 05:16:27 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 05:16:27 UTC +00:00]]
157
+ [paperclip] Saving attachments.
158
+ [paperclip] saving files/1/random-bytes.bin
159
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
160
+  (0.4ms) rollback transaction
161
+  (0.9ms) DELETE FROM "uploads";
162
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
163
+  (0.0ms) begin transaction
164
+  (0.1ms) SAVEPOINT active_record_1
165
+ SQL (0.7ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 05:16:30 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 05:16:30 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 05:16:30 UTC +00:00]]
166
+ [paperclip] Saving attachments.
167
+ [paperclip] saving files/1/random-bytes.bin
168
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
169
+  (0.5ms) rollback transaction
170
+  (1.1ms) DELETE FROM "uploads";
171
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
172
+ Connecting to database specified by database.yml
173
+  (0.3ms) begin transaction
174
+  (0.0ms) SAVEPOINT active_record_1
175
+ SQL (7.8ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 05:17:48 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 05:17:48 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 05:17:48 UTC +00:00]]
176
+ [paperclip] Saving attachments.
177
+ [paperclip] saving files/1/random-bytes.bin
178
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
179
+  (0.5ms) rollback transaction
180
+  (1.1ms) DELETE FROM "uploads";
181
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
182
+  (0.0ms) begin transaction
183
+  (0.0ms) SAVEPOINT active_record_1
184
+ SQL (0.5ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 05:17:50 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 05:17:50 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 05:17:50 UTC +00:00]]
185
+ [paperclip] Saving attachments.
186
+ [paperclip] saving files/1/random-bytes.bin
187
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
188
+  (0.4ms) rollback transaction
189
+  (0.9ms) DELETE FROM "uploads";
190
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
191
+ Connecting to database specified by database.yml
192
+  (0.3ms) begin transaction
193
+  (0.1ms) SAVEPOINT active_record_1
194
+ SQL (9.3ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 05:19:05 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 05:19:05 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 05:19:05 UTC +00:00]]
195
+ [paperclip] Saving attachments.
196
+ [paperclip] saving files/1/random-bytes.bin
197
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
198
+  (0.4ms) rollback transaction
199
+  (0.9ms) DELETE FROM "uploads";
200
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
201
+  (0.0ms) begin transaction
202
+  (0.0ms) SAVEPOINT active_record_1
203
+ SQL (0.4ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 05:19:09 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 05:19:09 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 05:19:09 UTC +00:00]]
204
+ [paperclip] Saving attachments.
205
+ [paperclip] saving files/1/random-bytes.bin
206
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
207
+  (0.5ms) rollback transaction
208
+  (0.9ms) DELETE FROM "uploads";
209
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
210
+ Connecting to database specified by database.yml
211
+  (0.3ms) begin transaction
212
+  (0.0ms) SAVEPOINT active_record_1
213
+ SQL (8.2ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 05:32:12 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 05:32:12 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 05:32:12 UTC +00:00]]
214
+ [paperclip] Saving attachments.
215
+ [paperclip] saving files/1/random-bytes.bin
216
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
217
+  (0.3ms) rollback transaction
218
+  (0.8ms) DELETE FROM "uploads";
219
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
220
+  (0.0ms) begin transaction
221
+  (0.0ms) SAVEPOINT active_record_1
222
+ SQL (0.4ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 05:32:14 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 05:32:14 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 05:32:14 UTC +00:00]]
223
+ [paperclip] Saving attachments.
224
+ [paperclip] saving files/1/random-bytes.bin
225
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
226
+  (0.4ms) rollback transaction
227
+  (1.0ms) DELETE FROM "uploads";
228
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
229
+ Connecting to database specified by database.yml
230
+  (0.3ms) begin transaction
231
+  (0.1ms) SAVEPOINT active_record_1
232
+ SQL (9.2ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 05:34:19 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 05:34:19 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 05:34:19 UTC +00:00]]
233
+ [paperclip] Saving attachments.
234
+ [paperclip] saving files/1/random-bytes.bin
235
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
236
+  (0.3ms) rollback transaction
237
+  (0.7ms) DELETE FROM "uploads";
238
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'uploads';
239
+  (0.1ms) begin transaction
240
+  (0.1ms) SAVEPOINT active_record_1
241
+ SQL (0.4ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 05:34:22 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 05:34:22 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 05:34:22 UTC +00:00]]
242
+ [paperclip] Saving attachments.
243
+ [paperclip] saving files/1/random-bytes.bin
244
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
245
+  (0.4ms) rollback transaction
246
+  (0.9ms) DELETE FROM "uploads";
247
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
248
+ Connecting to database specified by database.yml
249
+  (0.3ms) begin transaction
250
+  (0.1ms) SAVEPOINT active_record_1
251
+ SQL (8.9ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 05:40:11 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 05:40:11 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 05:40:11 UTC +00:00]]
252
+ [paperclip] Saving attachments.
253
+ [paperclip] saving files/1/random-bytes.bin
254
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
255
+  (0.5ms) rollback transaction
256
+  (1.1ms) DELETE FROM "uploads";
257
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
258
+  (0.0ms) begin transaction
259
+  (0.1ms) SAVEPOINT active_record_1
260
+ SQL (0.5ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 05:40:14 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 05:40:14 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 05:40:14 UTC +00:00]]
261
+ [paperclip] Saving attachments.
262
+ [paperclip] saving files/1/random-bytes.bin
263
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
264
+  (0.5ms) rollback transaction
265
+  (1.1ms) DELETE FROM "uploads";
266
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
267
+ Connecting to database specified by database.yml
268
+  (0.3ms) begin transaction
269
+  (0.1ms) SAVEPOINT active_record_1
270
+ SQL (9.9ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 05:42:48 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 05:42:48 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 05:42:48 UTC +00:00]]
271
+ [paperclip] Saving attachments.
272
+ [paperclip] saving files/1/random-bytes.bin
273
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
274
+  (0.3ms) rollback transaction
275
+  (0.8ms) DELETE FROM "uploads";
276
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
277
+  (0.0ms) begin transaction
278
+  (0.1ms) SAVEPOINT active_record_1
279
+ SQL (0.6ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 05:42:51 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 05:42:51 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 05:42:51 UTC +00:00]]
280
+ [paperclip] Saving attachments.
281
+ [paperclip] saving files/1/random-bytes.bin
282
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
283
+  (0.6ms) rollback transaction
284
+  (1.0ms) DELETE FROM "uploads";
285
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
286
+ Connecting to database specified by database.yml
287
+  (0.3ms) begin transaction
288
+  (0.1ms) SAVEPOINT active_record_1
289
+ SQL (7.5ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 05:48:52 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 05:48:52 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 05:48:52 UTC +00:00]]
290
+ [paperclip] Saving attachments.
291
+ [paperclip] saving files/1/random-bytes.bin
292
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
293
+  (0.5ms) rollback transaction
294
+  (1.0ms) DELETE FROM "uploads";
295
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
296
+  (0.0ms) begin transaction
297
+  (0.0ms) SAVEPOINT active_record_1
298
+ SQL (0.4ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 05:48:54 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 05:48:54 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 05:48:54 UTC +00:00]]
299
+ [paperclip] Saving attachments.
300
+ [paperclip] saving files/1/random-bytes.bin
301
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
302
+  (0.5ms) rollback transaction
303
+  (0.9ms) DELETE FROM "uploads";
304
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
305
+ Connecting to database specified by database.yml
306
+  (0.3ms) begin transaction
307
+  (0.0ms) SAVEPOINT active_record_1
308
+ SQL (8.4ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 05:53:56 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 05:53:56 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 05:53:56 UTC +00:00]]
309
+ [paperclip] Saving attachments.
310
+ [paperclip] saving files/1/random-bytes.bin
311
+  (0.1ms) RELEASE SAVEPOINT active_record_1
312
+  (0.5ms) rollback transaction
313
+  (0.9ms) DELETE FROM "uploads";
314
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
315
+  (0.0ms) begin transaction
316
+  (0.0ms) SAVEPOINT active_record_1
317
+ SQL (0.4ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 05:53:57 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 05:53:57 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 05:53:57 UTC +00:00]]
318
+ [paperclip] Saving attachments.
319
+ [paperclip] saving files/1/random-bytes.bin
320
+  (0.0ms) RELEASE SAVEPOINT active_record_1
321
+  (0.4ms) rollback transaction
322
+  (0.7ms) DELETE FROM "uploads";
323
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
324
+ Connecting to database specified by database.yml
325
+  (0.3ms) begin transaction
326
+  (0.0ms) SAVEPOINT active_record_1
327
+ SQL (9.1ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 06:08:53 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 06:08:53 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 06:08:53 UTC +00:00]]
328
+ [paperclip] Saving attachments.
329
+ [paperclip] saving files/1/random-bytes.bin
330
+  (0.1ms) RELEASE SAVEPOINT active_record_1
331
+  (0.3ms) rollback transaction
332
+  (0.8ms) DELETE FROM "uploads";
333
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
334
+  (0.1ms) begin transaction
335
+  (0.0ms) SAVEPOINT active_record_1
336
+ SQL (0.3ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 06:08:53 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 06:08:53 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 06:08:53 UTC +00:00]]
337
+ [paperclip] Saving attachments.
338
+ [paperclip] saving files/1/random-bytes.bin
339
+  (0.0ms) RELEASE SAVEPOINT active_record_1
340
+  (0.4ms) rollback transaction
341
+  (0.8ms) DELETE FROM "uploads";
342
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
343
+ Connecting to database specified by database.yml
344
+  (0.3ms) begin transaction
345
+  (0.1ms) SAVEPOINT active_record_1
346
+ SQL (9.4ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 06:09:17 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 06:09:17 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 06:09:17 UTC +00:00]]
347
+ [paperclip] Saving attachments.
348
+ [paperclip] saving files/1/random-bytes.bin
349
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350
+  (0.4ms) rollback transaction
351
+  (0.8ms) DELETE FROM "uploads";
352
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
353
+  (0.1ms) begin transaction
354
+  (0.1ms) SAVEPOINT active_record_1
355
+ SQL (0.6ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 06:09:17 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 06:09:17 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 06:09:17 UTC +00:00]]
356
+ [paperclip] Saving attachments.
357
+ [paperclip] saving files/1/random-bytes.bin
358
+  (0.0ms) RELEASE SAVEPOINT active_record_1
359
+  (0.4ms) rollback transaction
360
+  (0.9ms) DELETE FROM "uploads";
361
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
362
+ Connecting to database specified by database.yml
363
+  (0.3ms) begin transaction
364
+  (0.1ms) SAVEPOINT active_record_1
365
+ SQL (7.9ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 06:10:31 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 06:10:31 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 06:10:31 UTC +00:00]]
366
+ [paperclip] Saving attachments.
367
+ [paperclip] saving files/1/random-bytes.bin
368
+  (0.1ms) RELEASE SAVEPOINT active_record_1
369
+  (0.4ms) rollback transaction
370
+  (0.8ms) DELETE FROM "uploads";
371
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
372
+  (0.0ms) begin transaction
373
+  (0.0ms) SAVEPOINT active_record_1
374
+ SQL (0.4ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 06:10:31 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 06:10:31 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 06:10:31 UTC +00:00]]
375
+ [paperclip] Saving attachments.
376
+ [paperclip] saving files/1/random-bytes.bin
377
+  (0.0ms) RELEASE SAVEPOINT active_record_1
378
+  (0.3ms) rollback transaction
379
+  (1.0ms) DELETE FROM "uploads";
380
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
381
+ Connecting to database specified by database.yml
382
+  (0.3ms) begin transaction
383
+  (0.1ms) SAVEPOINT active_record_1
384
+ SQL (10.1ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 06:11:52 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 06:11:52 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 06:11:52 UTC +00:00]]
385
+ [paperclip] Saving attachments.
386
+ [paperclip] saving files/1/random-bytes.bin
387
+  (0.1ms) RELEASE SAVEPOINT active_record_1
388
+  (0.3ms) rollback transaction
389
+  (0.8ms) DELETE FROM "uploads";
390
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
391
+  (0.1ms) begin transaction
392
+  (0.0ms) SAVEPOINT active_record_1
393
+ SQL (0.3ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 06:11:53 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 06:11:53 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 06:11:53 UTC +00:00]]
394
+ [paperclip] Saving attachments.
395
+ [paperclip] saving files/1/random-bytes.bin
396
+  (0.1ms) RELEASE SAVEPOINT active_record_1
397
+  (0.3ms) rollback transaction
398
+  (0.7ms) DELETE FROM "uploads";
399
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
400
+ Connecting to database specified by database.yml
401
+  (0.3ms) begin transaction
402
+  (0.0ms) SAVEPOINT active_record_1
403
+ SQL (7.8ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 06:12:44 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 06:12:44 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 06:12:44 UTC +00:00]]
404
+ [paperclip] Saving attachments.
405
+ [paperclip] saving files/1/random-bytes.bin
406
+  (0.1ms) RELEASE SAVEPOINT active_record_1
407
+  (0.4ms) rollback transaction
408
+  (0.6ms) DELETE FROM "uploads";
409
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
410
+  (0.0ms) begin transaction
411
+  (0.0ms) SAVEPOINT active_record_1
412
+ SQL (0.4ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 06:12:44 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 06:12:44 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 06:12:44 UTC +00:00]]
413
+ [paperclip] Saving attachments.
414
+ [paperclip] saving files/1/random-bytes.bin
415
+  (0.0ms) RELEASE SAVEPOINT active_record_1
416
+  (0.4ms) rollback transaction
417
+  (0.7ms) DELETE FROM "uploads";
418
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
419
+ Connecting to database specified by database.yml
420
+  (0.3ms) begin transaction
421
+  (0.0ms) SAVEPOINT active_record_1
422
+ SQL (8.5ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 06:13:10 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 06:13:10 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 06:13:10 UTC +00:00]]
423
+ [paperclip] Saving attachments.
424
+ [paperclip] saving files/1/random-bytes.bin
425
+  (0.3ms) RELEASE SAVEPOINT active_record_1
426
+  (0.4ms) rollback transaction
427
+  (0.8ms) DELETE FROM "uploads";
428
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
429
+  (0.0ms) begin transaction
430
+  (0.0ms) SAVEPOINT active_record_1
431
+ SQL (0.5ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 06:13:10 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 06:13:10 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 06:13:10 UTC +00:00]]
432
+ [paperclip] Saving attachments.
433
+ [paperclip] saving files/1/random-bytes.bin
434
+  (0.0ms) RELEASE SAVEPOINT active_record_1
435
+  (0.4ms) rollback transaction
436
+  (0.9ms) DELETE FROM "uploads";
437
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
438
+ Connecting to database specified by database.yml
439
+  (0.3ms) begin transaction
440
+  (0.0ms) SAVEPOINT active_record_1
441
+ SQL (7.5ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 06:14:13 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 06:14:13 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 06:14:13 UTC +00:00]]
442
+ [paperclip] Saving attachments.
443
+ [paperclip] saving files/1/random-bytes.bin
444
+  (0.1ms) RELEASE SAVEPOINT active_record_1
445
+  (0.4ms) rollback transaction
446
+  (1.0ms) DELETE FROM "uploads";
447
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
448
+  (0.0ms) begin transaction
449
+  (0.0ms) SAVEPOINT active_record_1
450
+ SQL (0.4ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 06:14:13 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 06:14:13 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 06:14:13 UTC +00:00]]
451
+ [paperclip] Saving attachments.
452
+ [paperclip] saving files/1/random-bytes.bin
453
+  (0.0ms) RELEASE SAVEPOINT active_record_1
454
+  (0.5ms) rollback transaction
455
+  (0.8ms) DELETE FROM "uploads";
456
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
457
+ Connecting to database specified by database.yml
458
+  (0.3ms) begin transaction
459
+  (0.1ms) SAVEPOINT active_record_1
460
+ SQL (9.1ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 06:26:54 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 06:26:54 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 06:26:54 UTC +00:00]]
461
+ [paperclip] Saving attachments.
462
+ [paperclip] saving files/1/random-bytes.bin
463
+  (0.1ms) RELEASE SAVEPOINT active_record_1
464
+  (0.3ms) rollback transaction
465
+  (1.1ms) DELETE FROM "uploads";
466
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
467
+  (0.0ms) begin transaction
468
+  (0.0ms) SAVEPOINT active_record_1
469
+ SQL (0.4ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 06:26:55 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 06:26:55 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 06:26:55 UTC +00:00]]
470
+ [paperclip] Saving attachments.
471
+ [paperclip] saving files/1/random-bytes.bin
472
+  (0.0ms) RELEASE SAVEPOINT active_record_1
473
+  (0.3ms) rollback transaction
474
+  (0.7ms) DELETE FROM "uploads";
475
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
476
+ Connecting to database specified by database.yml
477
+  (0.3ms) begin transaction
478
+  (0.1ms) SAVEPOINT active_record_1
479
+ SQL (5.2ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 06:28:18 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 06:28:18 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 06:28:18 UTC +00:00]]
480
+ [paperclip] Saving attachments.
481
+ [paperclip] saving files/1/random-bytes.bin
482
+  (0.1ms) RELEASE SAVEPOINT active_record_1
483
+  (0.4ms) rollback transaction
484
+  (0.7ms) DELETE FROM "uploads";
485
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
486
+  (0.0ms) begin transaction
487
+  (0.0ms) SAVEPOINT active_record_1
488
+ SQL (0.3ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 06:28:18 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 06:28:18 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 06:28:18 UTC +00:00]]
489
+ [paperclip] Saving attachments.
490
+ [paperclip] saving files/1/random-bytes.bin
491
+  (0.1ms) RELEASE SAVEPOINT active_record_1
492
+  (0.3ms) rollback transaction
493
+  (0.6ms) DELETE FROM "uploads";
494
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
495
+ Connecting to database specified by database.yml
496
+  (0.3ms) begin transaction
497
+  (0.1ms) SAVEPOINT active_record_1
498
+ SQL (5.6ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 06:28:25 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 06:28:25 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 06:28:25 UTC +00:00]]
499
+ [paperclip] Saving attachments.
500
+ [paperclip] saving files/1/random-bytes.bin
501
+  (0.1ms) RELEASE SAVEPOINT active_record_1
502
+  (0.3ms) rollback transaction
503
+  (0.7ms) DELETE FROM "uploads";
504
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
505
+  (0.0ms) begin transaction
506
+  (0.0ms) SAVEPOINT active_record_1
507
+ SQL (0.4ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 06:28:25 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 06:28:25 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 06:28:25 UTC +00:00]]
508
+ [paperclip] Saving attachments.
509
+ [paperclip] saving files/1/random-bytes.bin
510
+  (0.0ms) RELEASE SAVEPOINT active_record_1
511
+  (0.4ms) rollback transaction
512
+  (0.9ms) DELETE FROM "uploads";
513
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'uploads';
514
+ Connecting to database specified by database.yml
515
+  (0.0ms) begin transaction
516
+ SQL (5.0ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 06:29:25 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 06:29:25 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 06:29:25 UTC +00:00]]
517
+ [paperclip] Saving attachments.
518
+ [paperclip] saving files/1/random-bytes.bin
519
+  (0.6ms) commit transaction
520
+  (0.8ms) DELETE FROM "uploads";
521
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'uploads';
522
+  (0.1ms) begin transaction
523
+ SQL (0.4ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 06:29:25 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 06:29:25 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 06:29:25 UTC +00:00]]
524
+ [paperclip] Saving attachments.
525
+ [paperclip] saving files/1/random-bytes.bin
526
+  (0.6ms) commit transaction
527
+  (0.8ms) DELETE FROM "uploads";
528
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'uploads';
529
+ Connecting to database specified by database.yml
530
+  (0.0ms) begin transaction
531
+ SQL (5.3ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 06:29:40 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 06:29:40 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 06:29:40 UTC +00:00]]
532
+ [paperclip] Saving attachments.
533
+ [paperclip] saving files/1/random-bytes.bin
534
+  (0.7ms) commit transaction
535
+  (0.7ms) DELETE FROM "uploads";
536
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'uploads';
537
+  (0.1ms) begin transaction
538
+ SQL (0.5ms) INSERT INTO "uploads" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 10 Apr 2013 06:29:40 UTC +00:00], ["file_content_type", "application/octet-stream"], ["file_file_name", "random-bytes.bin"], ["file_file_size", 32], ["file_updated_at", Wed, 10 Apr 2013 06:29:40 UTC +00:00], ["updated_at", Wed, 10 Apr 2013 06:29:40 UTC +00:00]]
539
+ [paperclip] Saving attachments.
540
+ [paperclip] saving files/1/random-bytes.bin
541
+  (0.5ms) commit transaction
542
+  (0.8ms) DELETE FROM "uploads";
543
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'uploads';