content_block 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/helpers/content_block/block_helper.rb +2 -1
- data/lib/content_block/engine.rb +0 -6
- data/lib/content_block/version.rb +1 -1
- data/spec/dummy/log/test.log +441 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 606d706713ff5899bc2334c40545ca5b8c455837
|
|
4
|
+
data.tar.gz: a2738fa366f807dabe7861ebb1838b27fc16274e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 316f2de938d81bd9d51e3101440cfa05dd76380956f2d2ad62d82718caf97ad2823eaaf60d9470460d9e8d04413a387c6ca131a44a826d3960bc88c5bdef343c
|
|
7
|
+
data.tar.gz: 1920a34142a716aa36720197d00cb97e2cc26c19ca5dce6f40977535516ed053cd4df9d133966988ecaf89f17e6d080517f12dd3b963dcbd4214e7134427b8f2
|
data/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://travis-ci.org/commonmedia/content_block)
|
|
4
4
|
[](https://coveralls.io/r/commonmedia/content_block)
|
|
5
5
|
[](https://codeclimate.com/github/commonmedia/content_block)
|
|
6
|
-
[](http://badge.fury.io/rb/content_block)
|
|
7
7
|
|
|
8
8
|
A block, as used within this gem, is a section of content (either an image, simple text, or rich text that includes markup).
|
|
9
9
|
This gem allows you to create these different types of blocks, and place them throughout the site.
|
|
@@ -2,11 +2,12 @@ module ContentBlock
|
|
|
2
2
|
module BlockHelper
|
|
3
3
|
def rich_block(find_by)
|
|
4
4
|
block = ContentBlock::RichBlock.where('id = ? OR name = ?', find_by, find_by).first
|
|
5
|
-
block.content.html_safe
|
|
5
|
+
block.try(:content).try(:html_safe)
|
|
6
6
|
end
|
|
7
7
|
|
|
8
8
|
def rich_block_with_title(find_by, wrapper)
|
|
9
9
|
block = ContentBlock::RichBlock.where('id = ? OR name = ?', find_by, find_by).first
|
|
10
|
+
return nil unless block.present?
|
|
10
11
|
wrapped_title = "<#{wrapper}>#{block.title}</#{wrapper}>"
|
|
11
12
|
"#{wrapped_title}#{block.content}".html_safe
|
|
12
13
|
end
|
data/lib/content_block/engine.rb
CHANGED
data/spec/dummy/log/test.log
CHANGED
|
@@ -36285,3 +36285,444 @@ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
|
|
|
36285
36285
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36286
36286
|
[1m[35m (0.1ms)[0m begin transaction
|
|
36287
36287
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36288
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
36289
|
+
[1m[35m (0.2ms)[0m begin transaction
|
|
36290
|
+
Rendered /Users/jchevalier/Documents/Code/CommonMedia/content_block/app/views/content_block/rich_blocks/show.html.erb (5.3ms)
|
|
36291
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36292
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36293
|
+
Rendered /Users/jchevalier/Documents/Code/CommonMedia/content_block/app/views/content_block/rich_blocks/_form.html.erb (43.9ms)
|
|
36294
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36295
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36296
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36297
|
+
[1m[35m (0.2ms)[0m begin transaction
|
|
36298
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
36299
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36300
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36301
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36302
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36303
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36304
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36305
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
36306
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36307
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
36308
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
36309
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36310
|
+
Rendered /Users/jchevalier/Documents/Code/CommonMedia/content_block/app/views/content_block/rich_blocks/_form.html.erb (10.5ms)
|
|
36311
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36312
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36313
|
+
Processing by ContentBlock::RichBlocksController#create as HTML
|
|
36314
|
+
Parameters: {"rich_block"=>{"name"=>"Name", "title"=>"Title", "content"=>"Content"}}
|
|
36315
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36316
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "content_block_rich_blocks" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Content"], ["created_at", "2014-04-24 18:43:26.687165"], ["name", "Name"], ["title", "Title"], ["updated_at", "2014-04-24 18:43:26.687165"]]
|
|
36317
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
36318
|
+
Redirected to http://test.host/content-block/rich-blocks/1
|
|
36319
|
+
Completed 302 Found in 14ms (ActiveRecord: 0.7ms)
|
|
36320
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
36321
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
36322
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "content_block_rich_blocks"
|
|
36323
|
+
Processing by ContentBlock::RichBlocksController#create as HTML
|
|
36324
|
+
Parameters: {"rich_block"=>{"name"=>"Name", "title"=>"Title", "content"=>"Content"}}
|
|
36325
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36326
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "content_block_rich_blocks" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Content"], ["created_at", "2014-04-24 18:43:26.713177"], ["name", "Name"], ["title", "Title"], ["updated_at", "2014-04-24 18:43:26.713177"]]
|
|
36327
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
36328
|
+
Redirected to http://test.host/content-block/rich-blocks/1
|
|
36329
|
+
Completed 302 Found in 12ms (ActiveRecord: 0.6ms)
|
|
36330
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "content_block_rich_blocks"
|
|
36331
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
36332
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36333
|
+
Processing by ContentBlock::RichBlocksController#create as HTML
|
|
36334
|
+
Parameters: {"rich_block"=>{"name"=>"Name", "title"=>"Title", "content"=>"Content"}}
|
|
36335
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36336
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "content_block_rich_blocks" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Content"], ["created_at", "2014-04-24 18:43:26.726200"], ["name", "Name"], ["title", "Title"], ["updated_at", "2014-04-24 18:43:26.726200"]]
|
|
36337
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
36338
|
+
Redirected to http://test.host/content-block/rich-blocks/1
|
|
36339
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.7ms)
|
|
36340
|
+
[1m[35mContentBlock::RichBlock Load (0.1ms)[0m SELECT "content_block_rich_blocks".* FROM "content_block_rich_blocks" ORDER BY "content_block_rich_blocks"."id" DESC LIMIT 1
|
|
36341
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
36342
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36343
|
+
Processing by ContentBlock::RichBlocksController#create as HTML
|
|
36344
|
+
Parameters: {"rich_block"=>{"name"=>"invalid value"}}
|
|
36345
|
+
Completed 200 OK in 10ms (Views: 4.9ms | ActiveRecord: 0.0ms)
|
|
36346
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36347
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36348
|
+
Processing by ContentBlock::RichBlocksController#create as HTML
|
|
36349
|
+
Parameters: {"rich_block"=>{"name"=>"invalid value"}}
|
|
36350
|
+
Completed 200 OK in 6ms (Views: 1.8ms | ActiveRecord: 0.0ms)
|
|
36351
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36352
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36353
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36354
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "content_block_rich_blocks" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Content"], ["created_at", "2014-04-24 18:43:26.759014"], ["name", "Name"], ["title", "Title"], ["updated_at", "2014-04-24 18:43:26.759014"]]
|
|
36355
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
36356
|
+
Processing by ContentBlock::RichBlocksController#update as HTML
|
|
36357
|
+
Parameters: {"rich_block"=>{"name"=>"Name", "title"=>"Title", "content"=>"Content"}, "id"=>"1"}
|
|
36358
|
+
[1m[35mContentBlock::RichBlock Load (0.2ms)[0m SELECT "content_block_rich_blocks".* FROM "content_block_rich_blocks" WHERE "content_block_rich_blocks"."id" = ? LIMIT 1 [["id", 1]]
|
|
36359
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36360
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
36361
|
+
Redirected to http://test.host/content-block/rich-blocks/1
|
|
36362
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.4ms)
|
|
36363
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
|
36364
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36365
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36366
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "content_block_rich_blocks" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Content"], ["created_at", "2014-04-24 18:43:26.778732"], ["name", "Name"], ["title", "Title"], ["updated_at", "2014-04-24 18:43:26.778732"]]
|
|
36367
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
36368
|
+
Processing by ContentBlock::RichBlocksController#update as HTML
|
|
36369
|
+
Parameters: {"rich_block"=>{"name"=>"MyString"}, "id"=>"1"}
|
|
36370
|
+
[1m[35mContentBlock::RichBlock Load (0.1ms)[0m SELECT "content_block_rich_blocks".* FROM "content_block_rich_blocks" WHERE "content_block_rich_blocks"."id" = ? LIMIT 1 [["id", 1]]
|
|
36371
|
+
Completed 200 OK in 7ms (Views: 2.2ms | ActiveRecord: 0.1ms)
|
|
36372
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
36373
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36374
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36375
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "content_block_rich_blocks" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Content"], ["created_at", "2014-04-24 18:43:26.792662"], ["name", "Name"], ["title", "Title"], ["updated_at", "2014-04-24 18:43:26.792662"]]
|
|
36376
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
36377
|
+
Processing by ContentBlock::RichBlocksController#update as HTML
|
|
36378
|
+
Parameters: {"rich_block"=>{"name"=>"Name", "title"=>"Title", "content"=>"Content"}, "id"=>"1"}
|
|
36379
|
+
[1m[35mContentBlock::RichBlock Load (0.1ms)[0m SELECT "content_block_rich_blocks".* FROM "content_block_rich_blocks" WHERE "content_block_rich_blocks"."id" = ? LIMIT 1 [["id", 1]]
|
|
36380
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36381
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
36382
|
+
Redirected to http://test.host/content-block/rich-blocks/1
|
|
36383
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.3ms)
|
|
36384
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
36385
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36386
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36387
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "content_block_rich_blocks" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Content"], ["created_at", "2014-04-24 18:43:26.807908"], ["name", "Name"], ["title", "Title"], ["updated_at", "2014-04-24 18:43:26.807908"]]
|
|
36388
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
36389
|
+
Processing by ContentBlock::RichBlocksController#update as HTML
|
|
36390
|
+
Parameters: {"rich_block"=>{"name"=>"invalid value"}, "id"=>"1"}
|
|
36391
|
+
[1m[35mContentBlock::RichBlock Load (0.1ms)[0m SELECT "content_block_rich_blocks".* FROM "content_block_rich_blocks" WHERE "content_block_rich_blocks"."id" = ? LIMIT 1 [["id", 1]]
|
|
36392
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36393
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
36394
|
+
Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 0.2ms)
|
|
36395
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
36396
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36397
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36398
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "content_block_rich_blocks" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Content"], ["created_at", "2014-04-24 18:43:26.822800"], ["name", "Name"], ["title", "Title"], ["updated_at", "2014-04-24 18:43:26.822800"]]
|
|
36399
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
36400
|
+
Processing by ContentBlock::RichBlocksController#update as HTML
|
|
36401
|
+
Parameters: {"rich_block"=>{"name"=>"invalid value"}, "id"=>"1"}
|
|
36402
|
+
[1m[35mContentBlock::RichBlock Load (0.1ms)[0m SELECT "content_block_rich_blocks".* FROM "content_block_rich_blocks" WHERE "content_block_rich_blocks"."id" = ? LIMIT 1 [["id", 1]]
|
|
36403
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36404
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
36405
|
+
Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 0.2ms)
|
|
36406
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
36407
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36408
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36409
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "content_block_rich_blocks" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Content"], ["created_at", "2014-04-24 18:43:26.839449"], ["name", "Name"], ["title", "Title"], ["updated_at", "2014-04-24 18:43:26.839449"]]
|
|
36410
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
36411
|
+
Processing by ContentBlock::RichBlocksController#edit as HTML
|
|
36412
|
+
Parameters: {"id"=>"1"}
|
|
36413
|
+
[1m[35mContentBlock::RichBlock Load (0.1ms)[0m SELECT "content_block_rich_blocks".* FROM "content_block_rich_blocks" WHERE "content_block_rich_blocks"."id" = ? LIMIT 1 [["id", 1]]
|
|
36414
|
+
Completed 200 OK in 6ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
|
36415
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
36416
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36417
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36418
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "content_block_rich_blocks" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Content"], ["created_at", "2014-04-24 18:43:26.852915"], ["name", "Name"], ["title", "Title"], ["updated_at", "2014-04-24 18:43:26.852915"]]
|
|
36419
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
36420
|
+
Processing by ContentBlock::RichBlocksController#show as HTML
|
|
36421
|
+
Parameters: {"id"=>"1"}
|
|
36422
|
+
[1m[35mContentBlock::RichBlock Load (0.1ms)[0m SELECT "content_block_rich_blocks".* FROM "content_block_rich_blocks" WHERE "content_block_rich_blocks"."id" = ? LIMIT 1 [["id", 1]]
|
|
36423
|
+
Completed 200 OK in 7ms (Views: 2.9ms | ActiveRecord: 0.1ms)
|
|
36424
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
36425
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36426
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36427
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "content_block_rich_blocks" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Content"], ["created_at", "2014-04-24 18:43:26.868170"], ["name", "Name"], ["title", "Title"], ["updated_at", "2014-04-24 18:43:26.868170"]]
|
|
36428
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
36429
|
+
Processing by ContentBlock::RichBlocksController#index as HTML
|
|
36430
|
+
Completed 200 OK in 12ms (Views: 3.2ms | ActiveRecord: 0.0ms)
|
|
36431
|
+
[1m[35mContentBlock::RichBlock Load (0.1ms)[0m SELECT "content_block_rich_blocks".* FROM "content_block_rich_blocks"
|
|
36432
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
36433
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36434
|
+
Processing by ContentBlock::RichBlocksController#new as HTML
|
|
36435
|
+
Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
|
36436
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36437
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36438
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36439
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "content_block_rich_blocks" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Content"], ["created_at", "2014-04-24 18:43:26.897557"], ["name", "Name"], ["title", "Title"], ["updated_at", "2014-04-24 18:43:26.897557"]]
|
|
36440
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
36441
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "content_block_rich_blocks"
|
|
36442
|
+
Processing by ContentBlock::RichBlocksController#destroy as HTML
|
|
36443
|
+
Parameters: {"id"=>"1"}
|
|
36444
|
+
[1m[36mContentBlock::RichBlock Load (0.1ms)[0m [1mSELECT "content_block_rich_blocks".* FROM "content_block_rich_blocks" WHERE "content_block_rich_blocks"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
36445
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
36446
|
+
[1m[36mSQL (1.1ms)[0m [1mDELETE FROM "content_block_rich_blocks" WHERE "content_block_rich_blocks"."id" = ?[0m [["id", 1]]
|
|
36447
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
36448
|
+
Redirected to http://test.host/content-block/rich-blocks
|
|
36449
|
+
Completed 302 Found in 9ms (ActiveRecord: 1.4ms)
|
|
36450
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "content_block_rich_blocks"[0m
|
|
36451
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
36452
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
36453
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
36454
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "content_block_rich_blocks" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "Content"], ["created_at", "2014-04-24 18:43:26.914320"], ["name", "Name"], ["title", "Title"], ["updated_at", "2014-04-24 18:43:26.914320"]]
|
|
36455
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
36456
|
+
Processing by ContentBlock::RichBlocksController#destroy as HTML
|
|
36457
|
+
Parameters: {"id"=>"1"}
|
|
36458
|
+
[1m[36mContentBlock::RichBlock Load (0.1ms)[0m [1mSELECT "content_block_rich_blocks".* FROM "content_block_rich_blocks" WHERE "content_block_rich_blocks"."id" = ? LIMIT 1[0m [["id", 1]]
|
|
36459
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
36460
|
+
[1m[36mSQL (0.5ms)[0m [1mDELETE FROM "content_block_rich_blocks" WHERE "content_block_rich_blocks"."id" = ?[0m [["id", 1]]
|
|
36461
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
36462
|
+
Redirected to http://test.host/content-block/rich-blocks
|
|
36463
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.7ms)
|
|
36464
|
+
[1m[36m (2.2ms)[0m [1mrollback transaction[0m
|
|
36465
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36466
|
+
Processing by ContentBlock::RichBlocksController#index as HTML
|
|
36467
|
+
Redirected to http://test.host/users/sign_in
|
|
36468
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
|
|
36469
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36470
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36471
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36472
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36473
|
+
Processing by ContentBlock::AdminController#index as HTML
|
|
36474
|
+
Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 0.0ms)
|
|
36475
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36476
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36477
|
+
Processing by ContentBlock::AdminController#index as HTML
|
|
36478
|
+
Redirected to http://test.host/users/sign_in
|
|
36479
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
|
|
36480
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36481
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36482
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36483
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36484
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36485
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
36486
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36487
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36488
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36489
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36490
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36491
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36492
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36493
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36494
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36495
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36496
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36497
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36498
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36499
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "content_block_rich_blocks" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Content"], ["created_at", "2014-04-24 18:43:27.014317"], ["name", "Name"], ["title", "Title"], ["updated_at", "2014-04-24 18:43:27.014317"]]
|
|
36500
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
36501
|
+
[1m[35mContentBlock::RichBlock Load (0.1ms)[0m SELECT "content_block_rich_blocks".* FROM "content_block_rich_blocks" WHERE (id = 'Name' OR name = 'Name') ORDER BY "content_block_rich_blocks"."id" ASC LIMIT 1
|
|
36502
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
36503
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36504
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36505
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "content_block_rich_blocks" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Content"], ["created_at", "2014-04-24 18:43:27.020714"], ["name", "Name"], ["title", "Title"], ["updated_at", "2014-04-24 18:43:27.020714"]]
|
|
36506
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
36507
|
+
[1m[35mContentBlock::RichBlock Load (0.2ms)[0m SELECT "content_block_rich_blocks".* FROM "content_block_rich_blocks" WHERE (id = 'Name' OR name = 'Name') ORDER BY "content_block_rich_blocks"."id" ASC LIMIT 1
|
|
36508
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
36509
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
36510
|
+
[1m[35m (0.2ms)[0m begin transaction
|
|
36511
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36512
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36513
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
36514
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36515
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36516
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36517
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36518
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36519
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36520
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36521
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36522
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36523
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36524
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36525
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36526
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36527
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36528
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36529
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36530
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36531
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36532
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36533
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36534
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36535
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36536
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36537
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36538
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "content_block_rich_blocks" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Content"], ["created_at", "2014-04-24 18:44:22.407891"], ["name", "Name"], ["title", "Title"], ["updated_at", "2014-04-24 18:44:22.407891"]]
|
|
36539
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
36540
|
+
[1m[35mContentBlock::RichBlock Load (0.2ms)[0m SELECT "content_block_rich_blocks".* FROM "content_block_rich_blocks" WHERE (id = 'Name' OR name = 'Name') ORDER BY "content_block_rich_blocks"."id" ASC LIMIT 1
|
|
36541
|
+
[1m[36m (1.8ms)[0m [1mrollback transaction[0m
|
|
36542
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36543
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36544
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "content_block_rich_blocks" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Content"], ["created_at", "2014-04-24 18:44:22.420852"], ["name", "Name"], ["title", "Title"], ["updated_at", "2014-04-24 18:44:22.420852"]]
|
|
36545
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
36546
|
+
[1m[35mContentBlock::RichBlock Load (0.2ms)[0m SELECT "content_block_rich_blocks".* FROM "content_block_rich_blocks" WHERE (id = 'Name' OR name = 'Name') ORDER BY "content_block_rich_blocks"."id" ASC LIMIT 1
|
|
36547
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
36548
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36549
|
+
Rendered /Users/jchevalier/Documents/Code/CommonMedia/content_block/app/views/content_block/rich_blocks/_form.html.erb (35.4ms)
|
|
36550
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
|
36551
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36552
|
+
Rendered /Users/jchevalier/Documents/Code/CommonMedia/content_block/app/views/content_block/rich_blocks/_form.html.erb (7.0ms)
|
|
36553
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
|
36554
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36555
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36556
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36557
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36558
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36559
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36560
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36561
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
36562
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36563
|
+
Processing by ContentBlock::AdminController#index as HTML
|
|
36564
|
+
Redirected to http://test.host/users/sign_in
|
|
36565
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.0ms)
|
|
36566
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36567
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36568
|
+
Processing by ContentBlock::AdminController#index as HTML
|
|
36569
|
+
Completed 200 OK in 11ms (Views: 6.3ms | ActiveRecord: 0.0ms)
|
|
36570
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36571
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36572
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36573
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "content_block_rich_blocks" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Content"], ["created_at", "2014-04-24 18:44:22.566795"], ["name", "Name"], ["title", "Title"], ["updated_at", "2014-04-24 18:44:22.566795"]]
|
|
36574
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
36575
|
+
Processing by ContentBlock::RichBlocksController#update as HTML
|
|
36576
|
+
Parameters: {"rich_block"=>{"name"=>"invalid value"}, "id"=>"1"}
|
|
36577
|
+
[1m[35mContentBlock::RichBlock Load (0.2ms)[0m SELECT "content_block_rich_blocks".* FROM "content_block_rich_blocks" WHERE "content_block_rich_blocks"."id" = ? LIMIT 1 [["id", 1]]
|
|
36578
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36579
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
36580
|
+
Completed 200 OK in 10ms (Views: 4.5ms | ActiveRecord: 0.3ms)
|
|
36581
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
|
36582
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36583
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36584
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "content_block_rich_blocks" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Content"], ["created_at", "2014-04-24 18:44:22.584811"], ["name", "Name"], ["title", "Title"], ["updated_at", "2014-04-24 18:44:22.584811"]]
|
|
36585
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
36586
|
+
Processing by ContentBlock::RichBlocksController#update as HTML
|
|
36587
|
+
Parameters: {"rich_block"=>{"name"=>"invalid value"}, "id"=>"1"}
|
|
36588
|
+
[1m[35mContentBlock::RichBlock Load (0.1ms)[0m SELECT "content_block_rich_blocks".* FROM "content_block_rich_blocks" WHERE "content_block_rich_blocks"."id" = ? LIMIT 1 [["id", 1]]
|
|
36589
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36590
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
36591
|
+
Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 0.3ms)
|
|
36592
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
|
36593
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36594
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36595
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "content_block_rich_blocks" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Content"], ["created_at", "2014-04-24 18:44:22.600395"], ["name", "Name"], ["title", "Title"], ["updated_at", "2014-04-24 18:44:22.600395"]]
|
|
36596
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
36597
|
+
Processing by ContentBlock::RichBlocksController#update as HTML
|
|
36598
|
+
Parameters: {"rich_block"=>{"name"=>"MyString"}, "id"=>"1"}
|
|
36599
|
+
[1m[35mContentBlock::RichBlock Load (0.1ms)[0m SELECT "content_block_rich_blocks".* FROM "content_block_rich_blocks" WHERE "content_block_rich_blocks"."id" = ? LIMIT 1 [["id", 1]]
|
|
36600
|
+
Completed 200 OK in 9ms (Views: 1.4ms | ActiveRecord: 0.1ms)
|
|
36601
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
|
36602
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36603
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36604
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "content_block_rich_blocks" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Content"], ["created_at", "2014-04-24 18:44:22.616286"], ["name", "Name"], ["title", "Title"], ["updated_at", "2014-04-24 18:44:22.616286"]]
|
|
36605
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
36606
|
+
Processing by ContentBlock::RichBlocksController#update as HTML
|
|
36607
|
+
Parameters: {"rich_block"=>{"name"=>"Name", "title"=>"Title", "content"=>"Content"}, "id"=>"1"}
|
|
36608
|
+
[1m[35mContentBlock::RichBlock Load (0.1ms)[0m SELECT "content_block_rich_blocks".* FROM "content_block_rich_blocks" WHERE "content_block_rich_blocks"."id" = ? LIMIT 1 [["id", 1]]
|
|
36609
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36610
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
36611
|
+
Redirected to http://test.host/content-block/rich-blocks/1
|
|
36612
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.3ms)
|
|
36613
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
36614
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36615
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36616
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "content_block_rich_blocks" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Content"], ["created_at", "2014-04-24 18:44:22.630174"], ["name", "Name"], ["title", "Title"], ["updated_at", "2014-04-24 18:44:22.630174"]]
|
|
36617
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
36618
|
+
Processing by ContentBlock::RichBlocksController#update as HTML
|
|
36619
|
+
Parameters: {"rich_block"=>{"name"=>"Name", "title"=>"Title", "content"=>"Content"}, "id"=>"1"}
|
|
36620
|
+
[1m[35mContentBlock::RichBlock Load (0.1ms)[0m SELECT "content_block_rich_blocks".* FROM "content_block_rich_blocks" WHERE "content_block_rich_blocks"."id" = ? LIMIT 1 [["id", 1]]
|
|
36621
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36622
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
36623
|
+
Redirected to http://test.host/content-block/rich-blocks/1
|
|
36624
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.3ms)
|
|
36625
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
36626
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36627
|
+
Processing by ContentBlock::RichBlocksController#new as HTML
|
|
36628
|
+
Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
|
36629
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36630
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36631
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36632
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "content_block_rich_blocks" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Content"], ["created_at", "2014-04-24 18:44:22.657518"], ["name", "Name"], ["title", "Title"], ["updated_at", "2014-04-24 18:44:22.657518"]]
|
|
36633
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
36634
|
+
Processing by ContentBlock::RichBlocksController#edit as HTML
|
|
36635
|
+
Parameters: {"id"=>"1"}
|
|
36636
|
+
[1m[35mContentBlock::RichBlock Load (0.1ms)[0m SELECT "content_block_rich_blocks".* FROM "content_block_rich_blocks" WHERE "content_block_rich_blocks"."id" = ? LIMIT 1 [["id", 1]]
|
|
36637
|
+
Completed 200 OK in 7ms (Views: 1.1ms | ActiveRecord: 0.1ms)
|
|
36638
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
|
36639
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36640
|
+
Processing by ContentBlock::RichBlocksController#index as HTML
|
|
36641
|
+
Redirected to http://test.host/users/sign_in
|
|
36642
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
|
|
36643
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36644
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36645
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36646
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "content_block_rich_blocks" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Content"], ["created_at", "2014-04-24 18:44:22.681097"], ["name", "Name"], ["title", "Title"], ["updated_at", "2014-04-24 18:44:22.681097"]]
|
|
36647
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
36648
|
+
Processing by ContentBlock::RichBlocksController#index as HTML
|
|
36649
|
+
Completed 200 OK in 8ms (Views: 3.3ms | ActiveRecord: 0.0ms)
|
|
36650
|
+
[1m[35mContentBlock::RichBlock Load (0.1ms)[0m SELECT "content_block_rich_blocks".* FROM "content_block_rich_blocks"
|
|
36651
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
36652
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36653
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36654
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "content_block_rich_blocks" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Content"], ["created_at", "2014-04-24 18:44:22.696337"], ["name", "Name"], ["title", "Title"], ["updated_at", "2014-04-24 18:44:22.696337"]]
|
|
36655
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
36656
|
+
Processing by ContentBlock::RichBlocksController#show as HTML
|
|
36657
|
+
Parameters: {"id"=>"1"}
|
|
36658
|
+
[1m[35mContentBlock::RichBlock Load (0.1ms)[0m SELECT "content_block_rich_blocks".* FROM "content_block_rich_blocks" WHERE "content_block_rich_blocks"."id" = ? LIMIT 1 [["id", 1]]
|
|
36659
|
+
Completed 200 OK in 8ms (Views: 3.6ms | ActiveRecord: 0.1ms)
|
|
36660
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
|
36661
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36662
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36663
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "content_block_rich_blocks" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "Content"], ["created_at", "2014-04-24 18:44:22.711418"], ["name", "Name"], ["title", "Title"], ["updated_at", "2014-04-24 18:44:22.711418"]]
|
|
36664
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
36665
|
+
Processing by ContentBlock::RichBlocksController#destroy as HTML
|
|
36666
|
+
Parameters: {"id"=>"1"}
|
|
36667
|
+
[1m[35mContentBlock::RichBlock Load (0.1ms)[0m SELECT "content_block_rich_blocks".* FROM "content_block_rich_blocks" WHERE "content_block_rich_blocks"."id" = ? LIMIT 1 [["id", 1]]
|
|
36668
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36669
|
+
[1m[35mSQL (1.1ms)[0m DELETE FROM "content_block_rich_blocks" WHERE "content_block_rich_blocks"."id" = ? [["id", 1]]
|
|
36670
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
36671
|
+
Redirected to http://test.host/content-block/rich-blocks
|
|
36672
|
+
Completed 302 Found in 7ms (ActiveRecord: 1.4ms)
|
|
36673
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
36674
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
36675
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
36676
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "content_block_rich_blocks" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "Content"], ["created_at", "2014-04-24 18:44:22.725948"], ["name", "Name"], ["title", "Title"], ["updated_at", "2014-04-24 18:44:22.725948"]]
|
|
36677
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
36678
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "content_block_rich_blocks"[0m
|
|
36679
|
+
Processing by ContentBlock::RichBlocksController#destroy as HTML
|
|
36680
|
+
Parameters: {"id"=>"1"}
|
|
36681
|
+
[1m[35mContentBlock::RichBlock Load (0.1ms)[0m SELECT "content_block_rich_blocks".* FROM "content_block_rich_blocks" WHERE "content_block_rich_blocks"."id" = ? LIMIT 1 [["id", 1]]
|
|
36682
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
36683
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "content_block_rich_blocks" WHERE "content_block_rich_blocks"."id" = ? [["id", 1]]
|
|
36684
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
36685
|
+
Redirected to http://test.host/content-block/rich-blocks
|
|
36686
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.6ms)
|
|
36687
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "content_block_rich_blocks"
|
|
36688
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
|
36689
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36690
|
+
Processing by ContentBlock::RichBlocksController#create as HTML
|
|
36691
|
+
Parameters: {"rich_block"=>{"name"=>"invalid value"}}
|
|
36692
|
+
Completed 200 OK in 8ms (Views: 1.2ms | ActiveRecord: 0.0ms)
|
|
36693
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36694
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36695
|
+
Processing by ContentBlock::RichBlocksController#create as HTML
|
|
36696
|
+
Parameters: {"rich_block"=>{"name"=>"invalid value"}}
|
|
36697
|
+
Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.0ms)
|
|
36698
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
36699
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
36700
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "content_block_rich_blocks"[0m
|
|
36701
|
+
Processing by ContentBlock::RichBlocksController#create as HTML
|
|
36702
|
+
Parameters: {"rich_block"=>{"name"=>"Name", "title"=>"Title", "content"=>"Content"}}
|
|
36703
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
36704
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "content_block_rich_blocks" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "Content"], ["created_at", "2014-04-24 18:44:22.772328"], ["name", "Name"], ["title", "Title"], ["updated_at", "2014-04-24 18:44:22.772328"]]
|
|
36705
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
36706
|
+
Redirected to http://test.host/content-block/rich-blocks/1
|
|
36707
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.5ms)
|
|
36708
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "content_block_rich_blocks"[0m
|
|
36709
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
36710
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
36711
|
+
Processing by ContentBlock::RichBlocksController#create as HTML
|
|
36712
|
+
Parameters: {"rich_block"=>{"name"=>"Name", "title"=>"Title", "content"=>"Content"}}
|
|
36713
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
36714
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "content_block_rich_blocks" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "Content"], ["created_at", "2014-04-24 18:44:22.787182"], ["name", "Name"], ["title", "Title"], ["updated_at", "2014-04-24 18:44:22.787182"]]
|
|
36715
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
36716
|
+
Redirected to http://test.host/content-block/rich-blocks/1
|
|
36717
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.6ms)
|
|
36718
|
+
[1m[36mContentBlock::RichBlock Load (0.1ms)[0m [1mSELECT "content_block_rich_blocks".* FROM "content_block_rich_blocks" ORDER BY "content_block_rich_blocks"."id" DESC LIMIT 1[0m
|
|
36719
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
36720
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
36721
|
+
Processing by ContentBlock::RichBlocksController#create as HTML
|
|
36722
|
+
Parameters: {"rich_block"=>{"name"=>"Name", "title"=>"Title", "content"=>"Content"}}
|
|
36723
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
36724
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "content_block_rich_blocks" ("content", "created_at", "name", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "Content"], ["created_at", "2014-04-24 18:44:22.799482"], ["name", "Name"], ["title", "Title"], ["updated_at", "2014-04-24 18:44:22.799482"]]
|
|
36725
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
36726
|
+
Redirected to http://test.host/content-block/rich-blocks/1
|
|
36727
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.7ms)
|
|
36728
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|