obscured_id 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +109 -0
  4. data/Rakefile +38 -0
  5. data/lib/generators/obscured_id/initializer_generator.rb +10 -0
  6. data/lib/generators/obscured_id/migration_generator.rb +22 -0
  7. data/lib/obscured_id/obscured_id.rb +63 -0
  8. data/lib/obscured_id/railtie.rb +26 -0
  9. data/lib/obscured_id/version.rb +3 -0
  10. data/lib/obscured_id.rb +5 -0
  11. data/lib/tasks/obscured_id.rake +18 -0
  12. data/spec/Gemfile +17 -0
  13. data/spec/Gemfile.lock +111 -0
  14. data/spec/MIT-LICENSE +20 -0
  15. data/spec/README.md +2 -0
  16. data/spec/README.rdoc +3 -0
  17. data/spec/Rakefile +38 -0
  18. data/spec/dummy/README.rdoc +261 -0
  19. data/spec/dummy/Rakefile +7 -0
  20. data/spec/dummy/app/assets/javascripts/application.js +15 -0
  21. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  22. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  23. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  24. data/spec/dummy/app/models/thing_with_configured_obscured_id.rb +3 -0
  25. data/spec/dummy/app/models/thing_with_obscured_id.rb +3 -0
  26. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  27. data/spec/dummy/config/application.rb +59 -0
  28. data/spec/dummy/config/boot.rb +10 -0
  29. data/spec/dummy/config/database.yml +25 -0
  30. data/spec/dummy/config/environment.rb +5 -0
  31. data/spec/dummy/config/environments/development.rb +37 -0
  32. data/spec/dummy/config/environments/production.rb +67 -0
  33. data/spec/dummy/config/environments/test.rb +37 -0
  34. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  35. data/spec/dummy/config/initializers/inflections.rb +15 -0
  36. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  37. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  38. data/spec/dummy/config/initializers/session_store.rb +8 -0
  39. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  40. data/spec/dummy/config/locales/en.yml +5 -0
  41. data/spec/dummy/config/routes.rb +58 -0
  42. data/spec/dummy/config.ru +4 -0
  43. data/spec/dummy/db/development.sqlite3 +0 -0
  44. data/spec/dummy/db/migrate/20130507231624_create_thing_with_obscured_ids.rb +10 -0
  45. data/spec/dummy/db/migrate/20130507235114_create_thing_with_configured_obscured_ids.rb +8 -0
  46. data/spec/dummy/db/schema.rb +28 -0
  47. data/spec/dummy/db/test.sqlite3 +0 -0
  48. data/spec/dummy/log/development.log +270 -0
  49. data/spec/dummy/log/test.log +2279 -0
  50. data/spec/dummy/public/404.html +26 -0
  51. data/spec/dummy/public/422.html +26 -0
  52. data/spec/dummy/public/500.html +25 -0
  53. data/spec/dummy/public/favicon.ico +0 -0
  54. data/spec/dummy/script/rails +6 -0
  55. data/spec/models/thing_with_configured_obscured_id_spec.rb +31 -0
  56. data/spec/models/thing_with_obscured_id_spec.rb +72 -0
  57. data/spec/obscured_id.gemspec +23 -0
  58. data/spec/spec_helper.rb +38 -0
  59. metadata +180 -0
@@ -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
@@ -0,0 +1,4 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
+ run Dummy::Application
Binary file
@@ -0,0 +1,10 @@
1
+ class CreateThingWithObscuredIds < ActiveRecord::Migration
2
+ def change
3
+ create_table :thing_with_obscured_ids do |t|
4
+ t.string :obscured_id
5
+ t.string :other_id
6
+ t.string :hidden_id
7
+ t.timestamps
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,8 @@
1
+ class CreateThingWithConfiguredObscuredIds < ActiveRecord::Migration
2
+ def change
3
+ create_table :thing_with_configured_obscured_ids do |t|
4
+ t.string :hidden_id
5
+ t.timestamps
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,28 @@
1
+ # This file is auto-generated from the current state of the database. Instead
2
+ # of editing this file, please use the migrations feature of Active Record to
3
+ # incrementally modify your database, and then regenerate this schema definition.
4
+ #
5
+ # Note that this schema.rb definition is the authoritative source for your
6
+ # database schema. If you need to create the application database on another
7
+ # system, you should be using db:schema:load, not running all the migrations
8
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
9
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
10
+ #
11
+ # It's strongly recommended to check this file into your version control system.
12
+
13
+ ActiveRecord::Schema.define(:version => 20130507235114) do
14
+
15
+ create_table "thing_with_configured_obscured_ids", :force => true do |t|
16
+ t.string "hidden_id"
17
+ t.datetime "created_at", :null => false
18
+ t.datetime "updated_at", :null => false
19
+ end
20
+
21
+ create_table "thing_with_obscured_ids", :force => true do |t|
22
+ t.string "obscured_id"
23
+ t.string "other_id"
24
+ t.datetime "created_at", :null => false
25
+ t.datetime "updated_at", :null => false
26
+ end
27
+
28
+ end
Binary file
@@ -0,0 +1,270 @@
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
+ Connecting to database specified by database.yml
6
+ Connecting to database specified by database.yml
7
+ Connecting to database specified by database.yml
8
+ Connecting to database specified by database.yml
9
+  (0.1ms) select sqlite_version(*)
10
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
11
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
12
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
13
+ Migrating to CreateThingWithIds (20130507231624)
14
+  (0.0ms) begin transaction
15
+  (0.3ms) CREATE TABLE "thing_with_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
16
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130507231624')
17
+  (0.8ms) commit transaction
18
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
19
+ Connecting to database specified by database.yml
20
+ Connecting to database specified by database.yml
21
+ Connecting to database specified by database.yml
22
+ Connecting to database specified by database.yml
23
+  (0.0ms) select sqlite_version(*)
24
+  (3.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
25
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
26
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
27
+ Migrating to CreateThingWithIds (20130507231624)
28
+  (0.0ms) begin transaction
29
+  (0.0ms) rollback transaction
30
+ Connecting to database specified by database.yml
31
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
32
+ Migrating to CreateThingWithIds (20130507231624)
33
+  (0.0ms) select sqlite_version(*)
34
+  (0.0ms) begin transaction
35
+  (0.4ms) CREATE TABLE "thing_with_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "obscured_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
36
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130507231624')
37
+  (2.4ms) commit transaction
38
+ Migrating to CreateThingWithSpecialObscuredIds (20130507232619)
39
+  (0.0ms) begin transaction
40
+  (0.3ms) CREATE TABLE "thing_with_hidden_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hidden_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
41
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130507232619')
42
+  (0.7ms) commit transaction
43
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
44
+ Connecting to database specified by database.yml
45
+ Connecting to database specified by database.yml
46
+ Connecting to database specified by database.yml
47
+  (0.0ms) select sqlite_version(*)
48
+  (3.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
49
+  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
50
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
51
+ Migrating to CreateThingWithObscuredIds (20130507231624)
52
+  (0.0ms) begin transaction
53
+  (0.3ms) CREATE TABLE "thing_with_obscured_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "obscured_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
54
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130507231624')
55
+  (0.7ms) commit transaction
56
+ Migrating to CreateThingWithConfiguredObscuredIds (20130507235114)
57
+  (0.0ms) begin transaction
58
+  (0.2ms) CREATE TABLE "thing_with_configured_obscured_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hidden_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
59
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130507235114')
60
+  (0.7ms) commit transaction
61
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
62
+ Connecting to database specified by database.yml
63
+ Connecting to database specified by database.yml
64
+ Connecting to database specified by database.yml
65
+ Connecting to database specified by database.yml
66
+ Connecting to database specified by database.yml
67
+ Connecting to database specified by database.yml
68
+ Connecting to database specified by database.yml
69
+ Connecting to database specified by database.yml
70
+ Connecting to database specified by database.yml
71
+ Connecting to database specified by database.yml
72
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
73
+ Migrating to CreateThingWithObscuredIds (20130507231624)
74
+ Migrating to CreateThingWithConfiguredObscuredIds (20130507235114)
75
+  (0.1ms) select sqlite_version(*)
76
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
77
+ Connecting to database specified by database.yml
78
+  (0.1ms) select sqlite_version(*)
79
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
80
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
81
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
82
+ Migrating to CreateThingWithObscuredIds (20130507231624)
83
+  (0.0ms) begin transaction
84
+  (0.3ms) CREATE TABLE "thing_with_obscured_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "obscured_id" varchar(255), "other_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
85
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130507231624')
86
+  (0.6ms) commit transaction
87
+ Migrating to CreateThingWithConfiguredObscuredIds (20130507235114)
88
+  (0.0ms) begin transaction
89
+  (0.2ms) CREATE TABLE "thing_with_configured_obscured_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hidden_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
90
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130507235114')
91
+  (0.7ms) commit transaction
92
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
93
+ Connecting to database specified by database.yml
94
+ Connecting to database specified by database.yml
95
+ Connecting to database specified by database.yml
96
+ Connecting to database specified by database.yml
97
+ Connecting to database specified by database.yml
98
+ Connecting to database specified by database.yml
99
+ Connecting to database specified by database.yml
100
+ Connecting to database specified by database.yml
101
+ Connecting to database specified by database.yml
102
+ Connecting to database specified by database.yml
103
+ Connecting to database specified by database.yml
104
+ Connecting to database specified by database.yml
105
+ Connecting to database specified by database.yml
106
+ Connecting to database specified by database.yml
107
+ Connecting to database specified by database.yml
108
+ Connecting to database specified by database.yml
109
+ Connecting to database specified by database.yml
110
+ Connecting to database specified by database.yml
111
+ Connecting to database specified by database.yml
112
+ DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in ObscuredId::HasObscuredId instead. (called from include at /Users/lhalff/Development/obscured_id/lib/obscured_id/railtie.rb:6)
113
+ Connecting to database specified by database.yml
114
+ DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in ObscuredId::HasObscuredId instead. (called from include at /Users/lhalff/Development/obscured_id/lib/obscured_id/railtie.rb:6)
115
+  (0.7ms) select sqlite_version(*)
116
+  (0.8ms) CREATE TABLE "thing_with_configured_obscured_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hidden_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
117
+  (0.7ms) CREATE TABLE "thing_with_obscured_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "obscured_id" varchar(255), "other_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
118
+  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
119
+  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
120
+  (0.1ms) SELECT version FROM "schema_migrations"
121
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130507235114')
122
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130507231624')
123
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
124
+ Connecting to database specified by database.yml
125
+ DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in ObscuredId::HasObscuredId instead. (called from include at /Users/lhalff/Development/obscured_id/lib/obscured_id/railtie.rb:6)
126
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
127
+  (0.0ms) select sqlite_version(*)
128
+  (3.0ms) CREATE TABLE "thing_with_configured_obscured_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hidden_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
129
+  (1.0ms) CREATE TABLE "thing_with_obscured_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "obscured_id" varchar(255), "other_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
130
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
131
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
132
+  (0.1ms) SELECT version FROM "schema_migrations"
133
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130507235114')
134
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130507231624')
135
+ Connecting to database specified by database.yml
136
+ DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in ObscuredId::HasObscuredId instead. (called from include at /Users/lhalff/Development/obscured_id/lib/obscured_id/railtie.rb:6)
137
+  (0.3ms) select sqlite_version(*)
138
+  (2.4ms) CREATE TABLE "thing_with_configured_obscured_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hidden_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
139
+  (0.9ms) CREATE TABLE "thing_with_obscured_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "obscured_id" varchar(255), "other_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
140
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
141
+  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
142
+  (0.1ms) SELECT version FROM "schema_migrations"
143
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130507235114')
144
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130507231624')
145
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
146
+ Connecting to database specified by database.yml
147
+ DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in ObscuredId::HasObscuredId instead. (called from include at /Users/lhalff/Development/obscured_id/lib/obscured_id/railtie.rb:6)
148
+ Connecting to database specified by database.yml
149
+ DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in ObscuredId::HasObscuredId instead. (called from include at /Users/lhalff/Development/obscured_id/lib/obscured_id/railtie.rb:6)
150
+ Connecting to database specified by database.yml
151
+ DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in ObscuredId::HasObscuredId instead. (called from include at /Users/lhalff/Development/obscured_id/lib/obscured_id/railtie.rb:6)
152
+ Connecting to database specified by database.yml
153
+ DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in ObscuredId::HasObscuredId instead. (called from include at /Users/lhalff/Development/obscured_id/lib/obscured_id/railtie.rb:6)
154
+ Connecting to database specified by database.yml
155
+ DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in ObscuredId::HasObscuredId instead. (called from include at /Users/lhalff/Development/obscured_id/lib/obscured_id/railtie.rb:6)
156
+ Connecting to database specified by database.yml
157
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
158
+  (0.0ms) select sqlite_version(*)
159
+  (2.3ms) CREATE TABLE "thing_with_configured_obscured_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hidden_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
160
+  (1.3ms) CREATE TABLE "thing_with_obscured_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "obscured_id" varchar(255), "other_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
161
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
162
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
163
+  (0.1ms) SELECT version FROM "schema_migrations"
164
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130507235114')
165
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130507231624')
166
+ Connecting to database specified by database.yml
167
+ Connecting to database specified by database.yml
168
+ Connecting to database specified by database.yml
169
+ Connecting to database specified by database.yml
170
+ Connecting to database specified by database.yml
171
+ Connecting to database specified by database.yml
172
+ Connecting to database specified by database.yml
173
+ Connecting to database specified by database.yml
174
+ Connecting to database specified by database.yml
175
+ Connecting to database specified by database.yml
176
+ Connecting to database specified by database.yml
177
+ Connecting to database specified by database.yml
178
+ Connecting to database specified by database.yml
179
+ Connecting to database specified by database.yml
180
+ Connecting to database specified by database.yml
181
+ Connecting to database specified by database.yml
182
+ Connecting to database specified by database.yml
183
+ Connecting to database specified by database.yml
184
+ Connecting to database specified by database.yml
185
+ Connecting to database specified by database.yml
186
+ Connecting to database specified by database.yml
187
+ Connecting to database specified by database.yml
188
+ Connecting to database specified by database.yml
189
+ Connecting to database specified by database.yml
190
+ Connecting to database specified by database.yml
191
+ Connecting to database specified by database.yml
192
+ Connecting to database specified by database.yml
193
+ Connecting to database specified by database.yml
194
+ Connecting to database specified by database.yml
195
+ Connecting to database specified by database.yml
196
+ Connecting to database specified by database.yml
197
+ Connecting to database specified by database.yml
198
+ Connecting to database specified by database.yml
199
+ Connecting to database specified by database.yml
200
+ Connecting to database specified by database.yml
201
+ Connecting to database specified by database.yml
202
+ Connecting to database specified by database.yml
203
+ Connecting to database specified by database.yml
204
+ Connecting to database specified by database.yml
205
+ Connecting to database specified by database.yml
206
+ Connecting to database specified by database.yml
207
+ Connecting to database specified by database.yml
208
+ Connecting to database specified by database.yml
209
+ Connecting to database specified by database.yml
210
+ Connecting to database specified by database.yml
211
+ Connecting to database specified by database.yml
212
+ Connecting to database specified by database.yml
213
+ Connecting to database specified by database.yml
214
+ Connecting to database specified by database.yml
215
+ Connecting to database specified by database.yml
216
+ Connecting to database specified by database.yml
217
+ Connecting to database specified by database.yml
218
+ Connecting to database specified by database.yml
219
+ Connecting to database specified by database.yml
220
+ Connecting to database specified by database.yml
221
+ Connecting to database specified by database.yml
222
+ Connecting to database specified by database.yml
223
+ Connecting to database specified by database.yml
224
+ Connecting to database specified by database.yml
225
+ Connecting to database specified by database.yml
226
+ Connecting to database specified by database.yml
227
+ Connecting to database specified by database.yml
228
+ Connecting to database specified by database.yml
229
+ Connecting to database specified by database.yml
230
+ Connecting to database specified by database.yml
231
+ Connecting to database specified by database.yml
232
+ Connecting to database specified by database.yml
233
+ ThingWithObscuredId Load (0.1ms) SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" ORDER BY "thing_with_obscured_ids"."id" ASC LIMIT 1000
234
+ Connecting to database specified by database.yml
235
+ ThingWithObscuredId Load (0.1ms) SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" ORDER BY "thing_with_obscured_ids"."id" ASC LIMIT 1000
236
+ Connecting to database specified by database.yml
237
+ ThingWithObscuredId Load (0.1ms) SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" ORDER BY "thing_with_obscured_ids"."id" ASC LIMIT 1000
238
+ Connecting to database specified by database.yml
239
+ ThingWithObscuredId Load (0.1ms) SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" ORDER BY "thing_with_obscured_ids"."id" ASC LIMIT 1000
240
+ Connecting to database specified by database.yml
241
+ Connecting to database specified by database.yml
242
+ ThingWithObscuredId Load (0.1ms) SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" ORDER BY "thing_with_obscured_ids"."id" ASC LIMIT 1000
243
+ SQL (3.0ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '8fbd9affb734e2d2d83a015b08fe7777c87d40a1' WHERE "thing_with_obscured_ids"."id" = 4
244
+ SQL (1.1ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'd2bae9734d9b7e72b95bbc3893621487c6ae8c10' WHERE "thing_with_obscured_ids"."id" = 5
245
+ SQL (0.6ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'cd3159bda21b6487e4cd43bd6f8d7e592fadcd83' WHERE "thing_with_obscured_ids"."id" = 6
246
+ SQL (0.8ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '002efed7a7293efe9526fe4f9c571cc92d001e8b' WHERE "thing_with_obscured_ids"."id" = 7
247
+ SQL (0.6ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '6ee3c4cd785d1eb5ce5c0fe2d025c567bf36251b' WHERE "thing_with_obscured_ids"."id" = 8
248
+ Connecting to database specified by database.yml
249
+ Connecting to database specified by database.yml
250
+ ThingWithObscuredId Load (0.1ms) SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" ORDER BY "thing_with_obscured_ids"."id" ASC LIMIT 1000
251
+ SQL (3.2ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '8fbd9affb734e2d2d83a015b08fe7777c87d40a1' WHERE "thing_with_obscured_ids"."id" = 4
252
+ SQL (1.0ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'd2bae9734d9b7e72b95bbc3893621487c6ae8c10' WHERE "thing_with_obscured_ids"."id" = 5
253
+ SQL (0.6ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'cd3159bda21b6487e4cd43bd6f8d7e592fadcd83' WHERE "thing_with_obscured_ids"."id" = 6
254
+ SQL (0.8ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '002efed7a7293efe9526fe4f9c571cc92d001e8b' WHERE "thing_with_obscured_ids"."id" = 7
255
+ SQL (0.6ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '6ee3c4cd785d1eb5ce5c0fe2d025c567bf36251b' WHERE "thing_with_obscured_ids"."id" = 8
256
+ Connecting to database specified by database.yml
257
+ ThingWithObscuredId Load (0.1ms) SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" ORDER BY "thing_with_obscured_ids"."id" ASC LIMIT 1000
258
+ SQL (2.1ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '8fbd9affb734e2d2d83a015b08fe7777c87d40a1' WHERE "thing_with_obscured_ids"."id" = 4
259
+ SQL (1.1ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'd2bae9734d9b7e72b95bbc3893621487c6ae8c10' WHERE "thing_with_obscured_ids"."id" = 5
260
+ SQL (0.6ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'cd3159bda21b6487e4cd43bd6f8d7e592fadcd83' WHERE "thing_with_obscured_ids"."id" = 6
261
+ SQL (0.9ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '002efed7a7293efe9526fe4f9c571cc92d001e8b' WHERE "thing_with_obscured_ids"."id" = 7
262
+ SQL (0.8ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '6ee3c4cd785d1eb5ce5c0fe2d025c567bf36251b' WHERE "thing_with_obscured_ids"."id" = 8
263
+ Connecting to database specified by database.yml
264
+ Connecting to database specified by database.yml
265
+ Connecting to database specified by database.yml
266
+ Connecting to database specified by database.yml
267
+ Connecting to database specified by database.yml
268
+ Connecting to database specified by database.yml
269
+ Connecting to database specified by database.yml
270
+ Connecting to database specified by database.yml