static_blocks 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/lib/generators/install_generator.rb +4 -0
- data/lib/static_blocks/version.rb +1 -1
- data/spec/dummy/config/routes.rb +2 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/log/development.log +18202 -0
- data/spec/dummy/log/test.log +627 -0
- data/spec/dummy/tmp/cache/77F/2B0/snippet%3A%3Aen%3A%3Afoo +1 -0
- data/spec/dummy/tmp/cache/78E/D30/snippet%3A%3Awk%3A%3Afoo +1 -0
- metadata +6 -4
- data/spec/dummy/tmp/pids/server.pid +0 -1
data/spec/dummy/log/test.log
CHANGED
@@ -33204,3 +33204,630 @@ Completed 200 OK in 15ms (Views: 14.1ms | ActiveRecord: 0.3ms)
|
|
33204
33204
|
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
33205
33205
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33206
33206
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33207
|
+
Connecting to database specified by database.yml
|
33208
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
33209
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33210
|
+
[1m[36mStaticBlocks::Snippet Exists (3.3ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
33211
|
+
[1m[35mSQL (3.0ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Sat, 29 Jun 2013 02:22:50 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Sat, 29 Jun 2013 02:22:50 UTC +00:00]]
|
33212
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
33213
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Sat, 29 Jun 2013 02:22:50 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Sat, 29 Jun 2013 02:22:50 UTC +00:00]]
|
33214
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
33215
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33216
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."status" = 'published' AND "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
33217
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
33218
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
33219
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33220
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33221
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33222
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
33223
|
+
Parameters: {"locale"=>"en"}
|
33224
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
33225
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
33226
|
+
Completed 200 OK in 78ms (Views: 76.3ms | ActiveRecord: 0.3ms)
|
33227
|
+
Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33228
|
+
Processing by StaticBlocks::SnippetsController#new as HTML
|
33229
|
+
Parameters: {"locale"=>"en"}
|
33230
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.7ms)
|
33231
|
+
Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms)
|
33232
|
+
Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33233
|
+
Processing by StaticBlocks::SnippetsController#create as HTML
|
33234
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"english bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
|
33235
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
33236
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
|
33237
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "english bar"], ["created_at", Sat, 29 Jun 2013 02:22:50 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Sat, 29 Jun 2013 02:22:50 UTC +00:00]]
|
33238
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
|
33239
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "english bar"], ["created_at", Sat, 29 Jun 2013 02:22:50 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Sat, 29 Jun 2013 02:22:50 UTC +00:00]]
|
33240
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
|
33241
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33242
|
+
Redirected to http://www.example.com/static_blocks/en/snippets/1
|
33243
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.8ms)
|
33244
|
+
Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33245
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
33246
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
33247
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
33248
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
33249
|
+
Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.3ms)
|
33250
|
+
Started GET "/static_blocks/en/snippets/export.csv" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33251
|
+
Processing by StaticBlocks::SnippetsController#export as CSV
|
33252
|
+
Parameters: {"locale"=>"en"}
|
33253
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
33254
|
+
[1m[36m (0.1ms)[0m [1mselect * from static_blocks_snippets[0m
|
33255
|
+
Sent data static-blocks-snippets-20130628192250.csv (2.2ms)
|
33256
|
+
Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.1ms)
|
33257
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33258
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33259
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33260
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33261
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
33262
|
+
Parameters: {"locale"=>"en"}
|
33263
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
33264
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
33265
|
+
Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.2ms)
|
33266
|
+
Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33267
|
+
Processing by StaticBlocks::SnippetsController#new as HTML
|
33268
|
+
Parameters: {"locale"=>"en"}
|
33269
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.0ms)
|
33270
|
+
Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
|
33271
|
+
Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33272
|
+
Processing by StaticBlocks::SnippetsController#create as HTML
|
33273
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"english bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
|
33274
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33275
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
33276
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Sat, 29 Jun 2013 02:22:50 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Sat, 29 Jun 2013 02:22:50 UTC +00:00]]
|
33277
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
33278
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Sat, 29 Jun 2013 02:22:50 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Sat, 29 Jun 2013 02:22:50 UTC +00:00]]
|
33279
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
33280
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33281
|
+
Redirected to http://www.example.com/static_blocks/en/snippets/1
|
33282
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
|
33283
|
+
Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33284
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
33285
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
33286
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
33287
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
33288
|
+
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.2ms)
|
33289
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33290
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33291
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
33292
|
+
Parameters: {"locale"=>"en"}
|
33293
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
33294
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
33295
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
33296
|
+
Completed 200 OK in 41ms (Views: 39.7ms | ActiveRecord: 0.3ms)
|
33297
|
+
Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33298
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
33299
|
+
Parameters: {"locale"=>"wk"}
|
33300
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
33301
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
33302
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
33303
|
+
Completed 200 OK in 19ms (Views: 17.8ms | ActiveRecord: 0.3ms)
|
33304
|
+
Started GET "/static_blocks/wk/snippets/1/edit" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33305
|
+
Processing by StaticBlocks::SnippetsController#edit as HTML
|
33306
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
33307
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
33308
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
33309
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (3.8ms)
|
33310
|
+
Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.2ms)
|
33311
|
+
Started PUT "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33312
|
+
Processing by StaticBlocks::SnippetsController#update as HTML
|
33313
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"wookie bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
|
33314
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
33315
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33316
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
33317
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE ("static_blocks_snippets"."title" = 'foo' AND "static_blocks_snippets"."id" != 1) LIMIT 1
|
33318
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "static_blocks_snippets" SET "content" = 'wookie bar', "updated_at" = '2013-06-29 02:22:50.516966' WHERE "static_blocks_snippets"."id" = 1[0m
|
33319
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", nil], ["created_at", Sat, 29 Jun 2013 02:22:50 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Sat, 29 Jun 2013 02:22:50 UTC +00:00]]
|
33320
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1[0m
|
33321
|
+
[1m[35m (0.1ms)[0m UPDATE "static_blocks_snippet_translations" SET "content" = 'wookie bar', "updated_at" = '2013-06-29 02:22:50.521427' WHERE "static_blocks_snippet_translations"."id" = 2
|
33322
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
33323
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 2]]
|
33324
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33325
|
+
Redirected to http://www.example.com/static_blocks/wk/snippets/1
|
33326
|
+
Completed 302 Found in 12ms (ActiveRecord: 1.0ms)
|
33327
|
+
Started GET "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33328
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
33329
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
33330
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
33331
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
33332
|
+
Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.2ms)
|
33333
|
+
Started GET "/static_blocks/wk/snippets/export.csv" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33334
|
+
Processing by StaticBlocks::SnippetsController#export as CSV
|
33335
|
+
Parameters: {"locale"=>"wk"}
|
33336
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
33337
|
+
[1m[36m (0.1ms)[0m [1mselect * from static_blocks_snippets[0m
|
33338
|
+
Sent data static-blocks-snippets-20130628192250.csv (0.3ms)
|
33339
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
33340
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
33341
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33342
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33343
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33344
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
33345
|
+
Parameters: {"locale"=>"en"}
|
33346
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
33347
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
33348
|
+
Completed 200 OK in 12ms (Views: 11.4ms | ActiveRecord: 0.2ms)
|
33349
|
+
Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33350
|
+
Processing by StaticBlocks::SnippetsController#new as HTML
|
33351
|
+
Parameters: {"locale"=>"en"}
|
33352
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.0ms)
|
33353
|
+
Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
|
33354
|
+
Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33355
|
+
Processing by StaticBlocks::SnippetsController#create as HTML
|
33356
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"english bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
|
33357
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33358
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
33359
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Sat, 29 Jun 2013 02:22:50 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Sat, 29 Jun 2013 02:22:50 UTC +00:00]]
|
33360
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
33361
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Sat, 29 Jun 2013 02:22:50 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Sat, 29 Jun 2013 02:22:50 UTC +00:00]]
|
33362
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
33363
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33364
|
+
Redirected to http://www.example.com/static_blocks/en/snippets/1
|
33365
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
|
33366
|
+
Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33367
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
33368
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
33369
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
33370
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
33371
|
+
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.2ms)
|
33372
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33373
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33374
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
33375
|
+
Parameters: {"locale"=>"en"}
|
33376
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
33377
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
33378
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
33379
|
+
Completed 200 OK in 44ms (Views: 43.3ms | ActiveRecord: 0.3ms)
|
33380
|
+
Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33381
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
33382
|
+
Parameters: {"locale"=>"wk"}
|
33383
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
33384
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
33385
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
33386
|
+
Completed 200 OK in 15ms (Views: 13.5ms | ActiveRecord: 0.3ms)
|
33387
|
+
Started GET "/static_blocks/wk/snippets/1/edit" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33388
|
+
Processing by StaticBlocks::SnippetsController#edit as HTML
|
33389
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
33390
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
33391
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
33392
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (3.1ms)
|
33393
|
+
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.2ms)
|
33394
|
+
Started PUT "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33395
|
+
Processing by StaticBlocks::SnippetsController#update as HTML
|
33396
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"wookie bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
|
33397
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
33398
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33399
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
33400
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE ("static_blocks_snippets"."title" = 'foo' AND "static_blocks_snippets"."id" != 1) LIMIT 1
|
33401
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "static_blocks_snippets" SET "content" = 'wookie bar', "updated_at" = '2013-06-29 02:22:50.664033' WHERE "static_blocks_snippets"."id" = 1[0m
|
33402
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", nil], ["created_at", Sat, 29 Jun 2013 02:22:50 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Sat, 29 Jun 2013 02:22:50 UTC +00:00]]
|
33403
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1[0m
|
33404
|
+
[1m[35m (0.1ms)[0m UPDATE "static_blocks_snippet_translations" SET "content" = 'wookie bar', "updated_at" = '2013-06-29 02:22:50.667490' WHERE "static_blocks_snippet_translations"."id" = 2
|
33405
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
33406
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 2]]
|
33407
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33408
|
+
Redirected to http://www.example.com/static_blocks/wk/snippets/1
|
33409
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.9ms)
|
33410
|
+
Started GET "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33411
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
33412
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
33413
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
33414
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
33415
|
+
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.2ms)
|
33416
|
+
Started GET "/static_blocks/wk/snippets/export_translations.csv" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33417
|
+
Processing by StaticBlocks::SnippetsController#export_translations as CSV
|
33418
|
+
Parameters: {"locale"=>"wk"}
|
33419
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
33420
|
+
[1m[36m (0.1ms)[0m [1m
|
33421
|
+
SELECT s.title, t.* FROM static_blocks_snippet_translations t
|
33422
|
+
INNER JOIN static_blocks_snippets s
|
33423
|
+
ON t.static_blocks_snippet_id = s.id
|
33424
|
+
[0m
|
33425
|
+
Sent data static-blocks-translations-20130628192250.csv (0.3ms)
|
33426
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
33427
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33428
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33429
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33430
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33431
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
33432
|
+
Parameters: {"locale"=>"en"}
|
33433
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
33434
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
33435
|
+
Completed 200 OK in 12ms (Views: 11.4ms | ActiveRecord: 0.2ms)
|
33436
|
+
Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33437
|
+
Processing by StaticBlocks::SnippetsController#new as HTML
|
33438
|
+
Parameters: {"locale"=>"en"}
|
33439
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.0ms)
|
33440
|
+
Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
|
33441
|
+
Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33442
|
+
Processing by StaticBlocks::SnippetsController#create as HTML
|
33443
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"english bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
|
33444
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33445
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
33446
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Sat, 29 Jun 2013 02:22:50 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Sat, 29 Jun 2013 02:22:50 UTC +00:00]]
|
33447
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
33448
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Sat, 29 Jun 2013 02:22:50 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Sat, 29 Jun 2013 02:22:50 UTC +00:00]]
|
33449
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
33450
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33451
|
+
Redirected to http://www.example.com/static_blocks/en/snippets/1
|
33452
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
|
33453
|
+
Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33454
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
33455
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
33456
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
33457
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
33458
|
+
Completed 200 OK in 35ms (Views: 33.7ms | ActiveRecord: 0.2ms)
|
33459
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33460
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
33461
|
+
Parameters: {"locale"=>"en"}
|
33462
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
33463
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
33464
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
33465
|
+
Completed 200 OK in 15ms (Views: 13.4ms | ActiveRecord: 0.3ms)
|
33466
|
+
Started GET "/static_blocks/en/snippets?utf8=%E2%9C%93&q[title_cont]=&q[translations_content_cont]=english+bar&q[status_cont]=&commit=Search" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33467
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
33468
|
+
Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "translations_content_cont"=>"english bar", "status_cont"=>""}, "commit"=>"Search", "locale"=>"en"}
|
33469
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(DISTINCT "static_blocks_snippets"."id") FROM "static_blocks_snippets" LEFT OUTER JOIN "static_blocks_snippet_translations" ON "static_blocks_snippet_translations"."static_blocks_snippet_id" = "static_blocks_snippets"."id" WHERE ("static_blocks_snippet_translations"."content" LIKE '%english bar%')
|
33470
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" LEFT OUTER JOIN "static_blocks_snippet_translations" ON "static_blocks_snippet_translations"."static_blocks_snippet_id" = "static_blocks_snippets"."id" WHERE ("static_blocks_snippet_translations"."content" LIKE '%english bar%') ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
33471
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
33472
|
+
Completed 200 OK in 20ms (Views: 15.1ms | ActiveRecord: 0.4ms)
|
33473
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
33474
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33475
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33476
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33477
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
33478
|
+
Parameters: {"locale"=>"en"}
|
33479
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
33480
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
33481
|
+
Completed 200 OK in 13ms (Views: 11.9ms | ActiveRecord: 0.2ms)
|
33482
|
+
Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33483
|
+
Processing by StaticBlocks::SnippetsController#new as HTML
|
33484
|
+
Parameters: {"locale"=>"en"}
|
33485
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.0ms)
|
33486
|
+
Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
|
33487
|
+
Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33488
|
+
Processing by StaticBlocks::SnippetsController#create as HTML
|
33489
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"english bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
|
33490
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
33491
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
|
33492
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "english bar"], ["created_at", Sat, 29 Jun 2013 02:22:50 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Sat, 29 Jun 2013 02:22:50 UTC +00:00]]
|
33493
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
|
33494
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "english bar"], ["created_at", Sat, 29 Jun 2013 02:22:50 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Sat, 29 Jun 2013 02:22:50 UTC +00:00]]
|
33495
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
|
33496
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33497
|
+
Redirected to http://www.example.com/static_blocks/en/snippets/1
|
33498
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
|
33499
|
+
Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33500
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
33501
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
33502
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
33503
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
33504
|
+
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.2ms)
|
33505
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33506
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
33507
|
+
Parameters: {"locale"=>"en"}
|
33508
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
33509
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
33510
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
33511
|
+
Completed 200 OK in 14ms (Views: 13.1ms | ActiveRecord: 0.3ms)
|
33512
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33513
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33514
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
33515
|
+
Parameters: {"locale"=>"en"}
|
33516
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
33517
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
33518
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
33519
|
+
Completed 200 OK in 14ms (Views: 13.1ms | ActiveRecord: 0.3ms)
|
33520
|
+
Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33521
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
33522
|
+
Parameters: {"locale"=>"wk"}
|
33523
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
33524
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
33525
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
33526
|
+
Completed 200 OK in 44ms (Views: 42.6ms | ActiveRecord: 0.3ms)
|
33527
|
+
Started GET "/static_blocks/wk/snippets/1/edit" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33528
|
+
Processing by StaticBlocks::SnippetsController#edit as HTML
|
33529
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
33530
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
33531
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
33532
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (3.2ms)
|
33533
|
+
Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.2ms)
|
33534
|
+
Started PUT "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33535
|
+
Processing by StaticBlocks::SnippetsController#update as HTML
|
33536
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"wookie bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
|
33537
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
33538
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33539
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
33540
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE ("static_blocks_snippets"."title" = 'foo' AND "static_blocks_snippets"."id" != 1) LIMIT 1
|
33541
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "static_blocks_snippets" SET "content" = 'wookie bar', "updated_at" = '2013-06-29 02:22:50.977725' WHERE "static_blocks_snippets"."id" = 1[0m
|
33542
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", nil], ["created_at", Sat, 29 Jun 2013 02:22:50 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Sat, 29 Jun 2013 02:22:50 UTC +00:00]]
|
33543
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1[0m
|
33544
|
+
[1m[35m (0.1ms)[0m UPDATE "static_blocks_snippet_translations" SET "content" = 'wookie bar', "updated_at" = '2013-06-29 02:22:50.981212' WHERE "static_blocks_snippet_translations"."id" = 2
|
33545
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
33546
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 2]]
|
33547
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33548
|
+
Redirected to http://www.example.com/static_blocks/wk/snippets/1
|
33549
|
+
Completed 302 Found in 18ms (ActiveRecord: 1.0ms)
|
33550
|
+
Started GET "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-06-28 19:22:50 -0700
|
33551
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
33552
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
33553
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
33554
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
33555
|
+
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.2ms)
|
33556
|
+
Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-06-28 19:22:51 -0700
|
33557
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
33558
|
+
Parameters: {"locale"=>"wk"}
|
33559
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
33560
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
33561
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
33562
|
+
Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.3ms)
|
33563
|
+
Started GET "/static_blocks/wk/snippets?utf8=%E2%9C%93&q[title_cont]=foo&q[translations_content_cont]=wookie+bar&q[status_cont]=published&commit=Search" for 127.0.0.1 at 2013-06-28 19:22:51 -0700
|
33564
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
33565
|
+
Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"foo", "translations_content_cont"=>"wookie bar", "status_cont"=>"published"}, "commit"=>"Search", "locale"=>"wk"}
|
33566
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(DISTINCT "static_blocks_snippets"."id") FROM "static_blocks_snippets" LEFT OUTER JOIN "static_blocks_snippet_translations" ON "static_blocks_snippet_translations"."static_blocks_snippet_id" = "static_blocks_snippets"."id" WHERE (("static_blocks_snippets"."title" LIKE '%foo%' AND "static_blocks_snippet_translations"."content" LIKE '%wookie bar%' AND "static_blocks_snippets"."status" LIKE '%published%'))[0m
|
33567
|
+
[1m[35mStaticBlocks::Snippet Load (0.2ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" LEFT OUTER JOIN "static_blocks_snippet_translations" ON "static_blocks_snippet_translations"."static_blocks_snippet_id" = "static_blocks_snippets"."id" WHERE (("static_blocks_snippets"."title" LIKE '%foo%' AND "static_blocks_snippet_translations"."content" LIKE '%wookie bar%' AND "static_blocks_snippets"."status" LIKE '%published%')) ORDER BY title asc LIMIT 10 OFFSET 0
|
33568
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
33569
|
+
Completed 200 OK in 19ms (Views: 14.6ms | ActiveRecord: 0.4ms)
|
33570
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
33571
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33572
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33573
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
33574
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00]]
|
33575
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1[0m
|
33576
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00]]
|
33577
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
33578
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33579
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-06-28 19:22:51 -0700
|
33580
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-28 19:22:51 -0700
|
33581
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
33582
|
+
Parameters: {"locale"=>"en"}
|
33583
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
33584
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
33585
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
33586
|
+
Completed 200 OK in 15ms (Views: 13.5ms | ActiveRecord: 0.3ms)
|
33587
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
33588
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33589
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33590
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
33591
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00]]
|
33592
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
33593
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00]]
|
33594
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
33595
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33596
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-06-28 19:22:51 -0700
|
33597
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-28 19:22:51 -0700
|
33598
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
33599
|
+
Parameters: {"locale"=>"en"}
|
33600
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
33601
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
33602
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
33603
|
+
Completed 200 OK in 41ms (Views: 39.5ms | ActiveRecord: 0.3ms)
|
33604
|
+
Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-06-28 19:22:51 -0700
|
33605
|
+
Processing by StaticBlocks::SnippetsController#new as HTML
|
33606
|
+
Parameters: {"locale"=>"en"}
|
33607
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.0ms)
|
33608
|
+
Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
|
33609
|
+
Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-28 19:22:51 -0700
|
33610
|
+
Processing by StaticBlocks::SnippetsController#create as HTML
|
33611
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"baz", "content"=>"qux", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
|
33612
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33613
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'baz' LIMIT 1[0m
|
33614
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "qux"], ["created_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00], ["status", "published"], ["title", "baz"], ["updated_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00]]
|
33615
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 2 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
33616
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "qux"], ["created_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 2], ["updated_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00]]
|
33617
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 2]]
|
33618
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33619
|
+
Redirected to http://www.example.com/static_blocks/en/snippets/2
|
33620
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
|
33621
|
+
Started GET "/static_blocks/en/snippets/2" for 127.0.0.1 at 2013-06-28 19:22:51 -0700
|
33622
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
33623
|
+
Parameters: {"locale"=>"en", "id"=>"2"}
|
33624
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "2"]]
|
33625
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 2
|
33626
|
+
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.2ms)
|
33627
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
33628
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33629
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33630
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33631
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
33632
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00]]
|
33633
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
33634
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00]]
|
33635
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
33636
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33637
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-06-28 19:22:51 -0700
|
33638
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-28 19:22:51 -0700
|
33639
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
33640
|
+
Parameters: {"locale"=>"en"}
|
33641
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
33642
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
33643
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
33644
|
+
Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.3ms)
|
33645
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
33646
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33647
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33648
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
33649
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00]]
|
33650
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
33651
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00]]
|
33652
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
33653
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
33654
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-06-28 19:22:51 -0700
|
33655
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-28 19:22:51 -0700
|
33656
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
33657
|
+
Parameters: {"locale"=>"en"}
|
33658
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
33659
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
33660
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
33661
|
+
Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.3ms)
|
33662
|
+
Started GET "/static_blocks/en/snippets/1/edit" for 127.0.0.1 at 2013-06-28 19:22:51 -0700
|
33663
|
+
Processing by StaticBlocks::SnippetsController#edit as HTML
|
33664
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
33665
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
33666
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
33667
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (3.4ms)
|
33668
|
+
Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.2ms)
|
33669
|
+
Started GET "/static_blocks/wk/snippets/1/edit" for 127.0.0.1 at 2013-06-28 19:22:51 -0700
|
33670
|
+
Processing by StaticBlocks::SnippetsController#edit as HTML
|
33671
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
33672
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
33673
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
33674
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (3.0ms)
|
33675
|
+
Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.2ms)
|
33676
|
+
Started PUT "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-06-28 19:22:51 -0700
|
33677
|
+
Processing by StaticBlocks::SnippetsController#update as HTML
|
33678
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"argh", "status"=>"published"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
|
33679
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
33680
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
33681
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
33682
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE ("static_blocks_snippets"."title" = 'foo' AND "static_blocks_snippets"."id" != 1) LIMIT 1[0m
|
33683
|
+
[1m[35m (0.1ms)[0m UPDATE "static_blocks_snippets" SET "content" = 'argh', "status" = 'published', "updated_at" = '2013-06-29 02:22:51.379270' WHERE "static_blocks_snippets"."id" = 1
|
33684
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00]]
|
33685
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1
|
33686
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "static_blocks_snippet_translations" SET "content" = 'argh', "updated_at" = '2013-06-29 02:22:51.382733' WHERE "static_blocks_snippet_translations"."id" = 2[0m
|
33687
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
|
33688
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 2]]
|
33689
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33690
|
+
Redirected to http://www.example.com/static_blocks/wk/snippets/1
|
33691
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.9ms)
|
33692
|
+
Started GET "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-06-28 19:22:51 -0700
|
33693
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
33694
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
33695
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
33696
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
33697
|
+
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.2ms)
|
33698
|
+
Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-06-28 19:22:51 -0700
|
33699
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
33700
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
33701
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
33702
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
33703
|
+
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.2ms)
|
33704
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
33705
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33706
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
33707
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
|
33708
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "bar"], ["created_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00]]
|
33709
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
|
33710
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "bar"], ["created_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00]]
|
33711
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
|
33712
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33713
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-06-28 19:22:51 -0700
|
33714
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-28 19:22:51 -0700
|
33715
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
33716
|
+
Parameters: {"locale"=>"en"}
|
33717
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
33718
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
33719
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
33720
|
+
Completed 200 OK in 15ms (Views: 13.4ms | ActiveRecord: 0.3ms)
|
33721
|
+
Started DELETE "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-06-28 19:22:51 -0700
|
33722
|
+
Processing by StaticBlocks::SnippetsController#destroy as HTML
|
33723
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
33724
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
33725
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33726
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
33727
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? [["id", 1]]
|
33728
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ?[0m [["id", 1]]
|
33729
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33730
|
+
Redirected to http://www.example.com/static_blocks/en/snippets
|
33731
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
33732
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-28 19:22:51 -0700
|
33733
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
33734
|
+
Parameters: {"locale"=>"en"}
|
33735
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
33736
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
33737
|
+
Completed 200 OK in 12ms (Views: 11.4ms | ActiveRecord: 0.2ms)
|
33738
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
33739
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33740
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33741
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33742
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
33743
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00]]
|
33744
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
33745
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00]]
|
33746
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
33747
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33748
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-06-28 19:22:51 -0700
|
33749
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-28 19:22:51 -0700
|
33750
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
33751
|
+
Parameters: {"locale"=>"en"}
|
33752
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
33753
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
33754
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
33755
|
+
Completed 200 OK in 15ms (Views: 13.6ms | ActiveRecord: 0.3ms)
|
33756
|
+
Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-06-28 19:22:51 -0700
|
33757
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
33758
|
+
Parameters: {"locale"=>"wk"}
|
33759
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
33760
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
33761
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
33762
|
+
Completed 200 OK in 15ms (Views: 13.5ms | ActiveRecord: 0.3ms)
|
33763
|
+
Started GET "/static_blocks/wk/snippets/1/edit" for 127.0.0.1 at 2013-06-28 19:22:51 -0700
|
33764
|
+
Processing by StaticBlocks::SnippetsController#edit as HTML
|
33765
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
33766
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
33767
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
33768
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (3.0ms)
|
33769
|
+
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.2ms)
|
33770
|
+
Started PUT "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-06-28 19:22:51 -0700
|
33771
|
+
Processing by StaticBlocks::SnippetsController#update as HTML
|
33772
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"wookie bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
|
33773
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
33774
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33775
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
33776
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE ("static_blocks_snippets"."title" = 'foo' AND "static_blocks_snippets"."id" != 1) LIMIT 1
|
33777
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "static_blocks_snippets" SET "content" = 'wookie bar', "status" = 'published', "updated_at" = '2013-06-29 02:22:51.610808' WHERE "static_blocks_snippets"."id" = 1[0m
|
33778
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", nil], ["created_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00]]
|
33779
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1[0m
|
33780
|
+
[1m[35m (0.1ms)[0m UPDATE "static_blocks_snippet_translations" SET "content" = 'wookie bar', "updated_at" = '2013-06-29 02:22:51.614266' WHERE "static_blocks_snippet_translations"."id" = 2
|
33781
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
33782
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 2]]
|
33783
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33784
|
+
Redirected to http://www.example.com/static_blocks/wk/snippets/1
|
33785
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.9ms)
|
33786
|
+
Started GET "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-06-28 19:22:51 -0700
|
33787
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
33788
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
33789
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
33790
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
33791
|
+
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.2ms)
|
33792
|
+
Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-06-28 19:22:51 -0700
|
33793
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
33794
|
+
Parameters: {"locale"=>"wk"}
|
33795
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
33796
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
33797
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
33798
|
+
Completed 200 OK in 44ms (Views: 42.7ms | ActiveRecord: 0.3ms)
|
33799
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-28 19:22:51 -0700
|
33800
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
33801
|
+
Parameters: {"locale"=>"en"}
|
33802
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
33803
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
33804
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
33805
|
+
Completed 200 OK in 15ms (Views: 13.6ms | ActiveRecord: 0.3ms)
|
33806
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
33807
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33808
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33809
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
33810
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00]]
|
33811
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
33812
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00]]
|
33813
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
33814
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33815
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
33816
|
+
[1m[35m (0.0ms)[0m begin transaction
|
33817
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
33818
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
|
33819
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "bar"], ["created_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00]]
|
33820
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
|
33821
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "bar"], ["created_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00]]
|
33822
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
|
33823
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
33824
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
33825
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
33826
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
33827
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
33828
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00]]
|
33829
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
33830
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Sat, 29 Jun 2013 02:22:51 UTC +00:00]]
|
33831
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
33832
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
33833
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|