test/apps/rails5/log/test.log in groonga-client-model-0.9.8 vs test/apps/rails5/log/test.log in groonga-client-model-0.9.9

- old
+ new

@@ -2500,5 +2500,5318 @@ select (45.5ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" Rendering posts/show.html.erb within layouts/application Rendered posts/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 49ms (Views: 2.3ms | Groonga: 45.5ms) shutdown (0.7ms) shutdown +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (4.4ms) table_create --flags "TABLE_NO_KEY" --name "posts" +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts" +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (1.0ms) table_create --flags "TABLE_NO_KEY" --name "posts" +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (0.8ms) table_create --flags "TABLE_NO_KEY" --name "posts" +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (0.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (0.8ms) table_create --flags "TABLE_NO_KEY" --name "posts" +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (0.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (0.8ms) table_create --flags "TABLE_NO_KEY" --name "posts" +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (0.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (1.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.0ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (5.0ms) schema + load (4.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts" for 127.0.0.1 at 2017-02-03 17:37:18 +0900 +Processing by PostsController#index as HTML + Rendering posts/index.html.erb within layouts/application + select (3.1ms) select --limit "-1" --match_columns "body" --table "posts" + Rendered posts/index.html.erb within layouts/application (32.3ms) +Completed 200 OK in 253ms (Views: 242.5ms | Groonga: 3.1ms) + shutdown (2.3ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1" for 127.0.0.1 at 2017-02-03 17:37:18 +0900 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + select (61.1ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 66ms (Views: 2.0ms | Groonga: 61.1ms) + shutdown (0.9ms) shutdown +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (3.0ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.0ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.5ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started DELETE "/posts/1" for 127.0.0.1 at 2017-02-03 17:37:18 +0900 +Processing by PostsController#destroy as HTML + Parameters: {"id"=>"1"} + select (64.3ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + delete (1.0ms) delete --filter "_id == 1" --table "posts" +Redirected to http://www.example.com/posts +Completed 302 Found in 68ms (Groonga: 65.3ms) + select (0.8ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + shutdown (0.7ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (2.9ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/new" for 127.0.0.1 at 2017-02-03 17:37:18 +0900 +Processing by PostsController#new as HTML + Rendering posts/new.html.erb within layouts/application + Rendered posts/_form.html.erb (25.7ms) + Rendered posts/new.html.erb within layouts/application (28.2ms) +Completed 200 OK in 35ms (Views: 33.0ms | Groonga: 0.0ms) + shutdown (1.1ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (4.0ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.6ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.6ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started POST "/posts" for 127.0.0.1 at 2017-02-03 17:37:19 +0900 +Processing by PostsController#create as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}} + load (3.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Redirected to http://www.example.com/posts/2 +Completed 302 Found in 6ms (Groonga: 3.1ms) + select (2.5ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + select (2.8ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts" + shutdown (1.9ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1/edit" for 127.0.0.1 at 2017-02-03 17:37:19 +0900 +Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + select (54.5ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/edit.html.erb within layouts/application + Rendered posts/_form.html.erb (1.6ms) + Rendered posts/edit.html.erb within layouts/application (2.5ms) +Completed 200 OK in 61ms (Views: 4.4ms | Groonga: 54.5ms) + shutdown (1.2ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (2.9ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.5ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started PATCH "/posts/1" for 127.0.0.1 at 2017-02-03 17:37:19 +0900 +Processing by PostsController#update as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"} + select (59.0ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + load (0.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]" +Redirected to http://www.example.com/posts/1 +Completed 302 Found in 63ms (Groonga: 59.9ms) + shutdown (0.8ms) shutdown +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (2.8ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]" + select (58.3ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + shutdown (0.9ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]" + load (2.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]" + select (54.8ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + select (1.2ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts" + shutdown (0.8ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (3.8ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (5.1ms) schema + load (2.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]" + load (2.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]" + select (56.1ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + select (1.6ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts" + shutdown (0.6ms) shutdown +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (3.0ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.6ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.6ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (3.0ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.5ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.2ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]" + select (59.0ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + shutdown (0.9ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (2.9ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.7ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.7ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.8ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.6ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1" for 127.0.0.1 at 2017-02-03 17:37:27 +0900 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + select (27.2ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (2.4ms) +Completed 200 OK in 132ms (Views: 98.3ms | Groonga: 27.2ms) + shutdown (0.9ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/new" for 127.0.0.1 at 2017-02-03 17:37:28 +0900 +Processing by PostsController#new as HTML + Rendering posts/new.html.erb within layouts/application + Rendered posts/_form.html.erb (22.8ms) + Rendered posts/new.html.erb within layouts/application (24.8ms) +Completed 200 OK in 31ms (Views: 29.0ms | Groonga: 0.0ms) + shutdown (1.3ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started PATCH "/posts/1" for 127.0.0.1 at 2017-02-03 17:37:28 +0900 +Processing by PostsController#update as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"} + select (56.8ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + load (0.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]" +Redirected to http://www.example.com/posts/1 +Completed 302 Found in 61ms (Groonga: 57.8ms) + shutdown (0.7ms) shutdown +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.4ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started DELETE "/posts/1" for 127.0.0.1 at 2017-02-03 17:37:28 +0900 +Processing by PostsController#destroy as HTML + Parameters: {"id"=>"1"} + select (54.0ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + delete (1.0ms) delete --filter "_id == 1" --table "posts" +Redirected to http://www.example.com/posts +Completed 302 Found in 57ms (Groonga: 54.9ms) + select (0.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + shutdown (0.7ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1/edit" for 127.0.0.1 at 2017-02-03 17:37:28 +0900 +Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + select (53.7ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/edit.html.erb within layouts/application + Rendered posts/_form.html.erb (1.3ms) + Rendered posts/edit.html.erb within layouts/application (1.9ms) +Completed 200 OK in 59ms (Views: 3.5ms | Groonga: 53.7ms) + shutdown (0.7ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts" for 127.0.0.1 at 2017-02-03 17:37:28 +0900 +Processing by PostsController#index as HTML + Rendering posts/index.html.erb within layouts/application + select (2.8ms) select --limit "-1" --match_columns "body" --table "posts" + Rendered posts/index.html.erb within layouts/application (5.8ms) +Completed 200 OK in 14ms (Views: 8.5ms | Groonga: 2.8ms) + shutdown (2.0ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.7ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.7ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.6ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.4ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started POST "/posts" for 127.0.0.1 at 2017-02-03 17:37:28 +0900 +Processing by PostsController#create as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}} + load (2.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Redirected to http://www.example.com/posts/2 +Completed 302 Found in 6ms (Groonga: 2.7ms) + select (2.3ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + select (3.3ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts" + shutdown (2.0ms) shutdown +--------------------------------------------- +AgeTest: test_validate:__key:_invalid:_string +--------------------------------------------- + schema (0.7ms) schema +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (1.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.0ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (0.9ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (2.6ms) schema + load (2.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]" + select (47.1ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + shutdown (0.9ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (3.0ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.7ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.6ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.6ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.5ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]" + load (2.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]" + select (58.0ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + select (1.3ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts" + shutdown (0.8ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.8ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.7ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.7ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.7ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (16.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/new" for 127.0.0.1 at 2017-02-03 17:49:15 +0900 +Processing by PostsController#new as HTML + Rendering posts/new.html.erb within layouts/application + Rendered posts/_form.html.erb (8.6ms) + Rendered posts/new.html.erb within layouts/application (9.6ms) +Completed 200 OK in 104ms (Views: 97.5ms | Groonga: 0.0ms) + shutdown (0.9ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.6ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.8ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1/edit" for 127.0.0.1 at 2017-02-03 17:49:15 +0900 +Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + select (61.1ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/edit.html.erb within layouts/application + Rendered posts/_form.html.erb (1.2ms) + Rendered posts/edit.html.erb within layouts/application (1.9ms) +Completed 200 OK in 67ms (Views: 3.4ms | Groonga: 61.1ms) + shutdown (0.9ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (3.0ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.1ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started PATCH "/posts/1" for 127.0.0.1 at 2017-02-03 17:49:15 +0900 +Processing by PostsController#update as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"} + select (47.3ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + load (1.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]" +Redirected to http://www.example.com/posts/1 +Completed 302 Found in 51ms (Groonga: 48.3ms) + shutdown (0.7ms) shutdown +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.5ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started DELETE "/posts/1" for 127.0.0.1 at 2017-02-03 17:49:15 +0900 +Processing by PostsController#destroy as HTML + Parameters: {"id"=>"1"} + select (56.6ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + delete (1.4ms) delete --filter "_id == 1" --table "posts" +Redirected to http://www.example.com/posts +Completed 302 Found in 61ms (Groonga: 58.0ms) + select (1.2ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + shutdown (0.8ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1" for 127.0.0.1 at 2017-02-03 17:49:16 +0900 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + select (52.2ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 56ms (Views: 2.1ms | Groonga: 52.2ms) + shutdown (0.9ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.5ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started POST "/posts" for 127.0.0.1 at 2017-02-03 17:49:16 +0900 +Processing by PostsController#create as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}} + load (2.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Redirected to http://www.example.com/posts/2 +Completed 302 Found in 6ms (Groonga: 2.8ms) + select (2.4ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + select (3.0ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts" + shutdown (2.1ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.6ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts" for 127.0.0.1 at 2017-02-03 17:49:16 +0900 +Processing by PostsController#index as HTML + Rendering posts/index.html.erb within layouts/application + select (2.8ms) select --limit "-1" --match_columns "body" --table "posts" + Rendered posts/index.html.erb within layouts/application (5.9ms) +Completed 200 OK in 14ms (Views: 8.6ms | Groonga: 2.8ms) + shutdown (2.0ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (3.3ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.0ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.0ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (6.4ms) schema + load (3.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts" for 127.0.0.1 at 2017-02-03 17:49:22 +0900 +Processing by PostsController#index as HTML + Rendering posts/index.html.erb within layouts/application + select (1.2ms) select --limit "-1" --match_columns "body" --table "posts" + Rendered posts/index.html.erb within layouts/application (4.5ms) +Completed 200 OK in 101ms (Views: 93.8ms | Groonga: 1.2ms) + shutdown (1.0ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (4.0ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.5ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1" for 127.0.0.1 at 2017-02-03 17:49:23 +0900 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + select (55.7ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 60ms (Views: 2.0ms | Groonga: 55.7ms) + shutdown (0.9ms) shutdown +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.3ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started DELETE "/posts/1" for 127.0.0.1 at 2017-02-03 17:49:23 +0900 +Processing by PostsController#destroy as HTML + Parameters: {"id"=>"1"} + select (60.5ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + delete (0.8ms) delete --filter "_id == 1" --table "posts" +Redirected to http://www.example.com/posts +Completed 302 Found in 64ms (Groonga: 61.3ms) + select (0.7ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + shutdown (0.6ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.5ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started POST "/posts" for 127.0.0.1 at 2017-02-03 17:49:23 +0900 +Processing by PostsController#create as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}} + load (3.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Redirected to http://www.example.com/posts/2 +Completed 302 Found in 6ms (Groonga: 3.0ms) + select (2.3ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + select (2.8ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts" + shutdown (1.9ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (3.0ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.6ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1/edit" for 127.0.0.1 at 2017-02-03 17:49:23 +0900 +Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + select (48.8ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/edit.html.erb within layouts/application + Rendered posts/_form.html.erb (7.4ms) + Rendered posts/edit.html.erb within layouts/application (8.1ms) +Completed 200 OK in 61ms (Views: 9.7ms | Groonga: 48.8ms) + shutdown (0.9ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (3.2ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.8ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/new" for 127.0.0.1 at 2017-02-03 17:49:23 +0900 +Processing by PostsController#new as HTML + Rendering posts/new.html.erb within layouts/application + Rendered posts/_form.html.erb (4.5ms) + Rendered posts/new.html.erb within layouts/application (6.7ms) +Completed 200 OK in 14ms (Views: 12.2ms | Groonga: 0.0ms) + shutdown (2.1ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.0ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started PATCH "/posts/1" for 127.0.0.1 at 2017-02-03 17:49:23 +0900 +Processing by PostsController#update as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"} + select (51.0ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + load (1.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]" +Redirected to http://www.example.com/posts/1 +Completed 302 Found in 55ms (Groonga: 52.0ms) + shutdown (0.8ms) shutdown +--------------------------------------------- +AgeTest: test_validate:__key:_invalid:_string +--------------------------------------------- +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (3.1ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.8ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.5ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]" + select (57.9ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + shutdown (0.8ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (2.4ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.5ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.7ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.1ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (1.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]" + load (1.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]" + select (32.8ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + select (1.0ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts" + shutdown (0.7ms) shutdown +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (1.3ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (0.7ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (0.6ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (0.7ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.0ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (0.7ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (1.7ms) schema + load (1.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]" + select (33.9ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + shutdown (0.6ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (3.4ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (3.6ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.6ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]" + load (2.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]" + select (54.7ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + select (1.2ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts" + shutdown (0.9ms) shutdown +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (1.9ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.5ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.5ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.5ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.0ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.6ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.0ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started DELETE "/posts/1" for 127.0.0.1 at 2017-02-03 17:49:42 +0900 +Processing by PostsController#destroy as HTML + Parameters: {"id"=>"1"} + select (27.0ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + delete (1.0ms) delete --filter "_id == 1" --table "posts" +Redirected to http://www.example.com/posts +Completed 302 Found in 36ms (Groonga: 28.0ms) + select (0.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + shutdown (0.7ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (1.5ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.0ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (0.9ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (0.9ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (0.9ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (1.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/new" for 127.0.0.1 at 2017-02-03 17:49:42 +0900 +Processing by PostsController#new as HTML + Rendering posts/new.html.erb within layouts/application + Rendered posts/_form.html.erb (11.5ms) + Rendered posts/new.html.erb within layouts/application (13.2ms) +Completed 200 OK in 111ms (Views: 109.1ms | Groonga: 0.0ms) + shutdown (1.0ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1/edit" for 127.0.0.1 at 2017-02-03 17:49:42 +0900 +Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + select (55.1ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/edit.html.erb within layouts/application + Rendered posts/_form.html.erb (1.3ms) + Rendered posts/edit.html.erb within layouts/application (1.9ms) +Completed 200 OK in 61ms (Views: 3.6ms | Groonga: 55.1ms) + shutdown (0.7ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (2.5ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1" for 127.0.0.1 at 2017-02-03 17:49:42 +0900 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + select (55.0ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 59ms (Views: 2.0ms | Groonga: 55.0ms) + shutdown (0.8ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (2.5ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts" for 127.0.0.1 at 2017-02-03 17:49:42 +0900 +Processing by PostsController#index as HTML + Rendering posts/index.html.erb within layouts/application + select (2.9ms) select --limit "-1" --match_columns "body" --table "posts" + Rendered posts/index.html.erb within layouts/application (6.0ms) +Completed 200 OK in 14ms (Views: 8.8ms | Groonga: 2.9ms) + shutdown (2.1ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started PATCH "/posts/1" for 127.0.0.1 at 2017-02-03 17:49:42 +0900 +Processing by PostsController#update as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"} + select (54.6ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + load (1.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]" +Redirected to http://www.example.com/posts/1 +Completed 302 Found in 58ms (Groonga: 55.6ms) + shutdown (0.6ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (2.5ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started POST "/posts" for 127.0.0.1 at 2017-02-03 17:49:43 +0900 +Processing by PostsController#create as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}} + load (2.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Redirected to http://www.example.com/posts/2 +Completed 302 Found in 6ms (Groonga: 2.9ms) + select (2.3ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + select (2.8ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts" + shutdown (2.0ms) shutdown +--------------------------------------------- +AgeTest: test_validate:__key:_invalid:_string +--------------------------------------------- +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (1.5ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.0ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.6ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.1ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (2.7ms) schema + load (2.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.0ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started DELETE "/posts/1" for 127.0.0.1 at 2017-02-03 18:12:30 +0900 +Processing by PostsController#destroy as HTML + Parameters: {"id"=>"1"} + select (27.2ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + delete (0.9ms) delete --filter "_id == 1" --table "posts" +Redirected to http://www.example.com/posts +Completed 302 Found in 37ms (Groonga: 28.0ms) + select (1.0ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + shutdown (1.0ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (3.1ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.6ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1" for 127.0.0.1 at 2017-02-03 18:12:30 +0900 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + select (54.6ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 154ms (Views: 97.6ms | Groonga: 54.6ms) + shutdown (1.1ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (2.8ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started PATCH "/posts/1" for 127.0.0.1 at 2017-02-03 18:12:30 +0900 +Processing by PostsController#update as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"} + select (54.8ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + load (0.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]" +Redirected to http://www.example.com/posts/1 +Completed 302 Found in 59ms (Groonga: 55.8ms) + shutdown (0.8ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (2.5ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.4ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started POST "/posts" for 127.0.0.1 at 2017-02-03 18:12:30 +0900 +Processing by PostsController#create as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}} + load (2.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Redirected to http://www.example.com/posts/2 +Completed 302 Found in 6ms (Groonga: 2.8ms) + select (2.3ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + select (2.7ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts" + shutdown (1.8ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (2.5ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts" for 127.0.0.1 at 2017-02-03 18:12:30 +0900 +Processing by PostsController#index as HTML + Rendering posts/index.html.erb within layouts/application + select (2.9ms) select --limit "-1" --match_columns "body" --table "posts" + Rendered posts/index.html.erb within layouts/application (7.4ms) +Completed 200 OK in 17ms (Views: 11.4ms | Groonga: 2.9ms) + shutdown (1.5ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (2.8ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1/edit" for 127.0.0.1 at 2017-02-03 18:12:31 +0900 +Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + select (58.2ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/edit.html.erb within layouts/application + Rendered posts/_form.html.erb (7.4ms) + Rendered posts/edit.html.erb within layouts/application (8.1ms) +Completed 200 OK in 70ms (Views: 9.7ms | Groonga: 58.2ms) + shutdown (0.9ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (1.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.5ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.5ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.9ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/new" for 127.0.0.1 at 2017-02-03 18:12:31 +0900 +Processing by PostsController#new as HTML + Rendering posts/new.html.erb within layouts/application + Rendered posts/_form.html.erb (5.9ms) + Rendered posts/new.html.erb within layouts/application (8.3ms) +Completed 200 OK in 18ms (Views: 16.0ms | Groonga: 0.0ms) + shutdown (2.5ms) shutdown +--------------------------------------------- +AgeTest: test_validate:__key:_invalid:_string +--------------------------------------------- +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]" + select (56.5ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + shutdown (0.8ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (2.8ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]" + load (2.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]" + select (61.0ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + select (1.1ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts" + shutdown (0.8ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (1.2ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (0.8ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (0.8ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (0.9ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.1ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (0.9ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (1.9ms) schema + load (1.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started PATCH "/posts/1" for 127.0.0.1 at 2017-02-03 18:12:45 +0900 +Processing by PostsController#update as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"} + select (27.9ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + load (0.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]" +Redirected to http://www.example.com/posts/1 +Completed 302 Found in 38ms (Groonga: 28.7ms) + shutdown (0.8ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.7ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1/edit" for 127.0.0.1 at 2017-02-03 18:12:45 +0900 +Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + select (34.5ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/edit.html.erb within layouts/application + Rendered posts/_form.html.erb (7.8ms) + Rendered posts/edit.html.erb within layouts/application (9.0ms) +Completed 200 OK in 144ms (Views: 107.5ms | Groonga: 34.5ms) + shutdown (1.1ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (3.3ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.0ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.5ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.6ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/new" for 127.0.0.1 at 2017-02-03 18:12:46 +0900 +Processing by PostsController#new as HTML + Rendering posts/new.html.erb within layouts/application + Rendered posts/_form.html.erb (4.9ms) + Rendered posts/new.html.erb within layouts/application (7.1ms) +Completed 200 OK in 14ms (Views: 12.7ms | Groonga: 0.0ms) + shutdown (2.3ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (3.9ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.5ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started POST "/posts" for 127.0.0.1 at 2017-02-03 18:12:46 +0900 +Processing by PostsController#create as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}} + load (3.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Redirected to http://www.example.com/posts/2 +Completed 302 Found in 6ms (Groonga: 3.0ms) + select (2.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + select (3.0ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts" + shutdown (2.0ms) shutdown +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (2.5ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.7ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started DELETE "/posts/1" for 127.0.0.1 at 2017-02-03 18:12:46 +0900 +Processing by PostsController#destroy as HTML + Parameters: {"id"=>"1"} + select (55.6ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + delete (1.1ms) delete --filter "_id == 1" --table "posts" +Redirected to http://www.example.com/posts +Completed 302 Found in 59ms (Groonga: 56.7ms) + select (0.8ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + shutdown (0.8ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (3.2ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.9ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.8ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1" for 127.0.0.1 at 2017-02-03 18:12:46 +0900 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + select (50.0ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 55ms (Views: 2.3ms | Groonga: 50.0ms) + shutdown (1.0ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (1.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.6ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.4ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (4.1ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (1.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts" for 127.0.0.1 at 2017-02-03 18:12:46 +0900 +Processing by PostsController#index as HTML + Rendering posts/index.html.erb within layouts/application + select (1.4ms) select --limit "-1" --match_columns "body" --table "posts" + Rendered posts/index.html.erb within layouts/application (2.7ms) +Completed 200 OK in 6ms (Views: 3.3ms | Groonga: 1.4ms) + shutdown (1.1ms) shutdown +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (1.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.7ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (1.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]" + select (46.9ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + shutdown (0.9ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.0ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]" + load (2.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]" + select (50.2ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + select (1.1ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts" + shutdown (0.5ms) shutdown +--------------------------------------------- +AgeTest: test_validate:__key:_invalid:_string +--------------------------------------------- +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (0.9ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (0.8ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (1.9ms) schema + load (1.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]" + select (36.5ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + shutdown (0.6ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.5ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.5ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.5ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.1ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.5ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (1.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]" + load (1.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]" + select (40.0ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + select (2.6ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts" + shutdown (1.5ms) shutdown +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (1.3ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (0.8ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (0.9ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (0.9ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (0.9ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (1.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (0.8ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started DELETE "/posts/1" for 127.0.0.1 at 2017-02-03 18:12:58 +0900 +Processing by PostsController#destroy as HTML + Parameters: {"id"=>"1"} + select (27.7ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + delete (1.2ms) delete --filter "_id == 1" --table "posts" +Redirected to http://www.example.com/posts +Completed 302 Found in 39ms (Groonga: 28.9ms) + select (0.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + shutdown (0.7ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (0.8ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (0.6ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (0.7ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (0.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.0ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (0.7ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (1.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (0.7ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started POST "/posts" for 127.0.0.1 at 2017-02-03 18:12:58 +0900 +Processing by PostsController#create as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}} + load (0.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Redirected to http://www.example.com/posts/2 +Completed 302 Found in 2ms (Groonga: 0.9ms) + select (0.8ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + select (0.8ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts" + shutdown (0.6ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (1.2ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.0ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (0.8ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (0.7ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.1ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (0.7ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (1.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1/edit" for 127.0.0.1 at 2017-02-03 18:12:59 +0900 +Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + select (34.6ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/edit.html.erb within layouts/application + Rendered posts/_form.html.erb (15.7ms) + Rendered posts/edit.html.erb within layouts/application (17.3ms) +Completed 200 OK in 195ms (Views: 158.6ms | Groonga: 34.6ms) + shutdown (0.9ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (0.9ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (0.8ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.0ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (0.8ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (1.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1" for 127.0.0.1 at 2017-02-03 18:12:59 +0900 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + select (37.2ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 42ms (Views: 2.3ms | Groonga: 37.2ms) + shutdown (0.8ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (1.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.0ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started PATCH "/posts/1" for 127.0.0.1 at 2017-02-03 18:12:59 +0900 +Processing by PostsController#update as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"} + select (49.6ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + load (0.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]" +Redirected to http://www.example.com/posts/1 +Completed 302 Found in 53ms (Groonga: 50.5ms) + shutdown (0.7ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (2.8ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.0ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.9ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.2ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts" for 127.0.0.1 at 2017-02-03 18:12:59 +0900 +Processing by PostsController#index as HTML + Rendering posts/index.html.erb within layouts/application + select (2.3ms) select --limit "-1" --match_columns "body" --table "posts" + Rendered posts/index.html.erb within layouts/application (4.9ms) +Completed 200 OK in 11ms (Views: 7.0ms | Groonga: 2.3ms) + shutdown (1.7ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.6ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/new" for 127.0.0.1 at 2017-02-03 18:12:59 +0900 +Processing by PostsController#new as HTML + Rendering posts/new.html.erb within layouts/application + Rendered posts/_form.html.erb (4.0ms) + Rendered posts/new.html.erb within layouts/application (6.7ms) +Completed 200 OK in 13ms (Views: 11.1ms | Groonga: 0.0ms) + shutdown (1.3ms) shutdown +--------------------------------------------- +AgeTest: test_validate:__key:_invalid:_string +--------------------------------------------- +--------------------------------------------- +AgeTest: test_validate:__key:_invalid:_string +--------------------------------------------- + schema (0.6ms) schema +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (1.4ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (0.7ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (0.9ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (2.5ms) schema + load (2.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started PATCH "/posts/1" for 127.0.0.1 at 2017-02-03 18:13:32 +0900 +Processing by PostsController#update as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"} + select (27.4ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + load (1.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]" +Redirected to http://www.example.com/posts/1 +Completed 302 Found in 38ms (Groonga: 28.4ms) + shutdown (0.7ms) shutdown +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (3.1ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.1ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.0ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.2ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started DELETE "/posts/1" for 127.0.0.1 at 2017-02-03 18:13:33 +0900 +Processing by PostsController#destroy as HTML + Parameters: {"id"=>"1"} + select (58.1ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + delete (1.0ms) delete --filter "_id == 1" --table "posts" +Redirected to http://www.example.com/posts +Completed 302 Found in 61ms (Groonga: 59.1ms) + select (0.8ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + shutdown (0.7ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.0ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.2ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started POST "/posts" for 127.0.0.1 at 2017-02-03 18:13:33 +0900 +Processing by PostsController#create as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}} + load (2.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Redirected to http://www.example.com/posts/2 +Completed 302 Found in 6ms (Groonga: 2.8ms) + select (2.1ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + select (2.5ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts" + shutdown (1.8ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (2.4ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1" for 127.0.0.1 at 2017-02-03 18:13:33 +0900 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + select (55.3ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 144ms (Views: 86.7ms | Groonga: 55.3ms) + shutdown (1.0ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.9ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.5ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.5ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.1ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.2ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1/edit" for 127.0.0.1 at 2017-02-03 18:13:33 +0900 +Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + select (42.3ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/edit.html.erb within layouts/application + Rendered posts/_form.html.erb (7.2ms) + Rendered posts/edit.html.erb within layouts/application (8.0ms) +Completed 200 OK in 53ms (Views: 9.5ms | Groonga: 42.3ms) + shutdown (0.9ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts" for 127.0.0.1 at 2017-02-03 18:13:33 +0900 +Processing by PostsController#index as HTML + Rendering posts/index.html.erb within layouts/application + select (2.8ms) select --limit "-1" --match_columns "body" --table "posts" + Rendered posts/index.html.erb within layouts/application (6.4ms) +Completed 200 OK in 15ms (Views: 9.6ms | Groonga: 2.8ms) + shutdown (2.8ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.0ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.1ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/new" for 127.0.0.1 at 2017-02-03 18:13:34 +0900 +Processing by PostsController#new as HTML + Rendering posts/new.html.erb within layouts/application + Rendered posts/_form.html.erb (4.2ms) + Rendered posts/new.html.erb within layouts/application (6.2ms) +Completed 200 OK in 13ms (Views: 11.8ms | Groonga: 0.0ms) + shutdown (2.0ms) shutdown +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (3.0ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]" + select (55.1ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + shutdown (0.9ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]" + load (2.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]" + select (53.2ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + select (1.0ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts" + shutdown (0.7ms) shutdown +--------------------------------------------- +AgeTest: test_validate:__key:_invalid:_string +--------------------------------------------- + schema (0.7ms) schema +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (2.0ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.4ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.1ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.5ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (3.8ms) schema + load (3.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.0ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started DELETE "/posts/1" for 127.0.0.1 at 2017-02-03 18:13:46 +0900 +Processing by PostsController#destroy as HTML + Parameters: {"id"=>"1"} + select (27.3ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + delete (1.0ms) delete --filter "_id == 1" --table "posts" +Redirected to http://www.example.com/posts +Completed 302 Found in 37ms (Groonga: 28.3ms) + select (0.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + shutdown (0.6ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started PATCH "/posts/1" for 127.0.0.1 at 2017-02-03 18:13:47 +0900 +Processing by PostsController#update as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"} + select (50.9ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + load (0.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]" +Redirected to http://www.example.com/posts/1 +Completed 302 Found in 55ms (Groonga: 51.9ms) + shutdown (0.8ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.5ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started POST "/posts" for 127.0.0.1 at 2017-02-03 18:13:47 +0900 +Processing by PostsController#create as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}} + load (2.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Redirected to http://www.example.com/posts/2 +Completed 302 Found in 6ms (Groonga: 2.8ms) + select (2.3ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + select (2.7ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts" + shutdown (1.9ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1/edit" for 127.0.0.1 at 2017-02-03 18:13:47 +0900 +Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + select (57.4ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/edit.html.erb within layouts/application + Rendered posts/_form.html.erb (7.0ms) + Rendered posts/edit.html.erb within layouts/application (8.1ms) +Completed 200 OK in 153ms (Views: 93.4ms | Groonga: 57.4ms) + shutdown (1.0ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.1ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/new" for 127.0.0.1 at 2017-02-03 18:13:47 +0900 +Processing by PostsController#new as HTML + Rendering posts/new.html.erb within layouts/application + Rendered posts/_form.html.erb (4.5ms) + Rendered posts/new.html.erb within layouts/application (6.7ms) +Completed 200 OK in 14ms (Views: 12.3ms | Groonga: 0.0ms) + shutdown (2.1ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (4.1ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts" for 127.0.0.1 at 2017-02-03 18:13:47 +0900 +Processing by PostsController#index as HTML + Rendering posts/index.html.erb within layouts/application + select (3.2ms) select --limit "-1" --match_columns "body" --table "posts" + Rendered posts/index.html.erb within layouts/application (6.4ms) +Completed 200 OK in 14ms (Views: 8.3ms | Groonga: 3.2ms) + shutdown (2.0ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (2.9ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.5ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1" for 127.0.0.1 at 2017-02-03 18:13:48 +0900 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + select (57.7ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (0.4ms) +Completed 200 OK in 62ms (Views: 2.0ms | Groonga: 57.7ms) + shutdown (0.8ms) shutdown +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (3.1ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.9ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]" + select (58.8ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + shutdown (0.8ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (2.5ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.2ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]" + load (2.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]" + select (60.9ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + select (1.1ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts" + shutdown (0.7ms) shutdown +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (3.3ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.1ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.9ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (4.0ms) schema + load (3.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.1ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started DELETE "/posts/1" for 127.0.0.1 at 2017-02-03 18:14:10 +0900 +Processing by PostsController#destroy as HTML + Parameters: {"id"=>"1"} + select (27.2ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + delete (1.1ms) delete --filter "_id == 1" --table "posts" +Redirected to http://www.example.com/posts +Completed 302 Found in 36ms (Groonga: 28.3ms) + select (0.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + shutdown (0.7ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.0ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.8ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.9ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/new" for 127.0.0.1 at 2017-02-03 18:14:10 +0900 +Processing by PostsController#new as HTML + Rendering posts/new.html.erb within layouts/application + Rendered posts/_form.html.erb (17.3ms) + Rendered posts/new.html.erb within layouts/application (20.5ms) +Completed 200 OK in 121ms (Views: 119.1ms | Groonga: 0.0ms) + shutdown (0.8ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (1.5ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (1.7ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started POST "/posts" for 127.0.0.1 at 2017-02-03 18:14:10 +0900 +Processing by PostsController#create as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}} + load (2.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Redirected to http://www.example.com/posts/2 +Completed 302 Found in 5ms (Groonga: 2.0ms) + select (1.7ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + select (1.9ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts" + shutdown (1.4ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.1ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1/edit" for 127.0.0.1 at 2017-02-03 18:14:10 +0900 +Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + select (58.3ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/edit.html.erb within layouts/application + Rendered posts/_form.html.erb (1.3ms) + Rendered posts/edit.html.erb within layouts/application (2.0ms) +Completed 200 OK in 64ms (Views: 3.5ms | Groonga: 58.3ms) + shutdown (0.9ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started PATCH "/posts/1" for 127.0.0.1 at 2017-02-03 18:14:11 +0900 +Processing by PostsController#update as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"} + select (53.2ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + load (1.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]" +Redirected to http://www.example.com/posts/1 +Completed 302 Found in 57ms (Groonga: 54.3ms) + shutdown (0.8ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts" for 127.0.0.1 at 2017-02-03 18:14:11 +0900 +Processing by PostsController#index as HTML + Rendering posts/index.html.erb within layouts/application + select (2.6ms) select --limit "-1" --match_columns "body" --table "posts" + Rendered posts/index.html.erb within layouts/application (5.4ms) +Completed 200 OK in 13ms (Views: 8.0ms | Groonga: 2.6ms) + shutdown (1.9ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.2ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1" for 127.0.0.1 at 2017-02-03 18:14:11 +0900 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + select (55.8ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 60ms (Views: 2.1ms | Groonga: 55.8ms) + shutdown (0.8ms) shutdown +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (2.8ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.1ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.1ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]" + select (53.4ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + shutdown (0.7ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]" + load (2.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]" + select (51.3ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + select (1.1ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts" + shutdown (0.7ms) shutdown +--------------------------------------------- +AgeTest: test_validate:__key:_invalid:_string +--------------------------------------------- +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (3.3ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.5ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (5.7ms) schema + load (5.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts" for 127.0.0.1 at 2017-02-03 18:14:32 +0900 +Processing by PostsController#index as HTML + Rendering posts/index.html.erb within layouts/application + select (1.2ms) select --limit "-1" --match_columns "body" --table "posts" + Rendered posts/index.html.erb within layouts/application (4.3ms) +Completed 200 OK in 102ms (Views: 95.2ms | Groonga: 1.2ms) + shutdown (0.9ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.7ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started PATCH "/posts/1" for 127.0.0.1 at 2017-02-03 18:14:33 +0900 +Processing by PostsController#update as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"} + select (43.9ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + load (1.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]" +Redirected to http://www.example.com/posts/1 +Completed 302 Found in 48ms (Groonga: 44.9ms) + shutdown (0.7ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1/edit" for 127.0.0.1 at 2017-02-03 18:14:33 +0900 +Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + select (52.6ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/edit.html.erb within layouts/application + Rendered posts/_form.html.erb (7.4ms) + Rendered posts/edit.html.erb within layouts/application (8.1ms) +Completed 200 OK in 64ms (Views: 9.7ms | Groonga: 52.6ms) + shutdown (1.0ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/new" for 127.0.0.1 at 2017-02-03 18:14:33 +0900 +Processing by PostsController#new as HTML + Rendering posts/new.html.erb within layouts/application + Rendered posts/_form.html.erb (4.3ms) + Rendered posts/new.html.erb within layouts/application (6.5ms) +Completed 200 OK in 14ms (Views: 12.0ms | Groonga: 0.0ms) + shutdown (2.3ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (4.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.8ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1" for 127.0.0.1 at 2017-02-03 18:14:33 +0900 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + select (59.4ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 64ms (Views: 2.0ms | Groonga: 59.4ms) + shutdown (0.9ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (2.8ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.3ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started POST "/posts" for 127.0.0.1 at 2017-02-03 18:14:33 +0900 +Processing by PostsController#create as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}} + load (3.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Redirected to http://www.example.com/posts/2 +Completed 302 Found in 6ms (Groonga: 3.0ms) + select (3.0ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + select (3.4ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts" + shutdown (2.2ms) shutdown +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (3.2ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.4ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started DELETE "/posts/1" for 127.0.0.1 at 2017-02-03 18:14:34 +0900 +Processing by PostsController#destroy as HTML + Parameters: {"id"=>"1"} + select (53.0ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + delete (1.0ms) delete --filter "_id == 1" --table "posts" +Redirected to http://www.example.com/posts +Completed 302 Found in 56ms (Groonga: 54.0ms) + select (0.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + shutdown (0.7ms) shutdown +--------------------------------------------- +AgeTest: test_validate:__key:_invalid:_string +--------------------------------------------- +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (2.5ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.0ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]" + select (57.7ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + shutdown (0.8ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.5ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (4.0ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.6ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]" + load (2.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]" + select (58.8ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + select (1.1ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts" + shutdown (0.7ms) shutdown +--------------------------------------------- +AgeTest: test_validate:__key:_invalid:_string +--------------------------------------------- + schema (0.7ms) schema +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (1.3ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.0ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.0ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (0.9ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (0.9ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (3.2ms) schema + load (1.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]" + select (35.5ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + shutdown (0.9ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (4.9ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (3.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.5ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.9ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (1.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]" + load (1.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]" + select (38.9ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + select (1.3ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts" + shutdown (0.9ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (2.0ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.0ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.9ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.0ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (15.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (1.8ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started POST "/posts" for 127.0.0.1 at 2017-02-03 18:14:44 +0900 +Processing by PostsController#create as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}} + load (1.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Redirected to http://www.example.com/posts/2 +Completed 302 Found in 11ms (Groonga: 1.3ms) + select (1.0ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + select (1.0ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts" + shutdown (0.8ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.7ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.8ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.7ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.6ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1/edit" for 127.0.0.1 at 2017-02-03 18:14:44 +0900 +Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + select (51.4ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/edit.html.erb within layouts/application + Rendered posts/_form.html.erb (7.0ms) + Rendered posts/edit.html.erb within layouts/application (8.1ms) +Completed 200 OK in 155ms (Views: 101.5ms | Groonga: 51.4ms) + shutdown (1.0ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (3.1ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.9ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.0ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.8ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started PATCH "/posts/1" for 127.0.0.1 at 2017-02-03 18:14:45 +0900 +Processing by PostsController#update as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"} + select (47.0ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + load (0.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]" +Redirected to http://www.example.com/posts/1 +Completed 302 Found in 51ms (Groonga: 47.8ms) + shutdown (0.7ms) shutdown +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.8ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.7ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.0ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (1.4ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started DELETE "/posts/1" for 127.0.0.1 at 2017-02-03 18:14:45 +0900 +Processing by PostsController#destroy as HTML + Parameters: {"id"=>"1"} + select (35.7ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + delete (0.8ms) delete --filter "_id == 1" --table "posts" +Redirected to http://www.example.com/posts +Completed 302 Found in 38ms (Groonga: 36.5ms) + select (0.7ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + shutdown (0.5ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (1.3ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.5ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (0.8ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.0ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (1.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts" for 127.0.0.1 at 2017-02-03 18:14:45 +0900 +Processing by PostsController#index as HTML + Rendering posts/index.html.erb within layouts/application + select (1.2ms) select --limit "-1" --match_columns "body" --table "posts" + Rendered posts/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 6ms (Views: 3.8ms | Groonga: 1.2ms) + shutdown (0.9ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (2.0ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.7ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.8ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.6ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.2ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/new" for 127.0.0.1 at 2017-02-03 18:14:45 +0900 +Processing by PostsController#new as HTML + Rendering posts/new.html.erb within layouts/application + Rendered posts/_form.html.erb (3.4ms) + Rendered posts/new.html.erb within layouts/application (5.1ms) +Completed 200 OK in 10ms (Views: 9.1ms | Groonga: 0.0ms) + shutdown (1.9ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (1.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.0ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.0ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (0.8ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1" for 127.0.0.1 at 2017-02-03 18:14:45 +0900 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + select (37.7ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 42ms (Views: 2.0ms | Groonga: 37.7ms) + shutdown (0.7ms) shutdown +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (2.1ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.5ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.4ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.6ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.0ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (5.4ms) schema + load (3.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]" + select (62.2ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + shutdown (0.9ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (3.3ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]" + load (2.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]" + select (60.4ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + select (1.4ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts" + shutdown (0.7ms) shutdown +--------------------------------------------- +AgeTest: test_validate:__key:_invalid:_string +--------------------------------------------- +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (3.2ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.8ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.0ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (1.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (1.1ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started POST "/posts" for 127.0.0.1 at 2017-02-03 18:14:53 +0900 +Processing by PostsController#create as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}} + load (1.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Redirected to http://www.example.com/posts/2 +Completed 302 Found in 9ms (Groonga: 1.1ms) + select (0.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + select (0.9ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts" + shutdown (0.7ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.0ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/new" for 127.0.0.1 at 2017-02-03 18:14:53 +0900 +Processing by PostsController#new as HTML + Rendering posts/new.html.erb within layouts/application + Rendered posts/_form.html.erb (22.8ms) + Rendered posts/new.html.erb within layouts/application (26.9ms) +Completed 200 OK in 129ms (Views: 127.3ms | Groonga: 0.0ms) + shutdown (1.0ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started PATCH "/posts/1" for 127.0.0.1 at 2017-02-03 18:14:53 +0900 +Processing by PostsController#update as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"} + select (58.5ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + load (0.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]" +Redirected to http://www.example.com/posts/1 +Completed 302 Found in 62ms (Groonga: 59.4ms) + shutdown (0.7ms) shutdown +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.5ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started DELETE "/posts/1" for 127.0.0.1 at 2017-02-03 18:14:53 +0900 +Processing by PostsController#destroy as HTML + Parameters: {"id"=>"1"} + select (53.2ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + delete (1.1ms) delete --filter "_id == 1" --table "posts" +Redirected to http://www.example.com/posts +Completed 302 Found in 56ms (Groonga: 54.3ms) + select (0.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + shutdown (0.7ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (2.9ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.6ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1" for 127.0.0.1 at 2017-02-03 18:14:54 +0900 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + select (55.4ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 60ms (Views: 2.2ms | Groonga: 55.4ms) + shutdown (1.0ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (1.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.0ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (1.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1/edit" for 127.0.0.1 at 2017-02-03 18:14:54 +0900 +Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + select (32.2ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/edit.html.erb within layouts/application + Rendered posts/_form.html.erb (1.3ms) + Rendered posts/edit.html.erb within layouts/application (1.9ms) +Completed 200 OK in 37ms (Views: 3.5ms | Groonga: 32.2ms) + shutdown (0.9ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (2.5ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts" for 127.0.0.1 at 2017-02-03 18:14:54 +0900 +Processing by PostsController#index as HTML + Rendering posts/index.html.erb within layouts/application + select (2.3ms) select --limit "-1" --match_columns "body" --table "posts" + Rendered posts/index.html.erb within layouts/application (5.4ms) +Completed 200 OK in 15ms (Views: 9.2ms | Groonga: 2.3ms) + shutdown (1.1ms) shutdown +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (2.1ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.1ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (0.9ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (2.0ms) schema + load (1.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (1.2ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started DELETE "/posts/1" for 127.0.0.1 at 2017-02-03 18:15:40 +0900 +Processing by PostsController#destroy as HTML + Parameters: {"id"=>"1"} + select (27.1ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + delete (1.0ms) delete --filter "_id == 1" --table "posts" +Redirected to http://www.example.com/posts +Completed 302 Found in 36ms (Groonga: 28.1ms) + select (0.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + shutdown (0.6ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (2.8ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1" for 127.0.0.1 at 2017-02-03 18:15:40 +0900 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + select (59.7ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 155ms (Views: 93.1ms | Groonga: 59.7ms) + shutdown (0.9ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (2.5ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/new" for 127.0.0.1 at 2017-02-03 18:15:41 +0900 +Processing by PostsController#new as HTML + Rendering posts/new.html.erb within layouts/application + Rendered posts/_form.html.erb (24.4ms) + Rendered posts/new.html.erb within layouts/application (26.6ms) +Completed 200 OK in 32ms (Views: 30.4ms | Groonga: 0.0ms) + shutdown (1.2ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.5ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started POST "/posts" for 127.0.0.1 at 2017-02-03 18:15:41 +0900 +Processing by PostsController#create as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}} + load (2.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Redirected to http://www.example.com/posts/2 +Completed 302 Found in 6ms (Groonga: 2.8ms) + select (2.3ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + select (2.7ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts" + shutdown (2.0ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (4.6ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1/edit" for 127.0.0.1 at 2017-02-03 18:15:41 +0900 +Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + select (48.4ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/edit.html.erb within layouts/application + Rendered posts/_form.html.erb (1.4ms) + Rendered posts/edit.html.erb within layouts/application (2.1ms) +Completed 200 OK in 54ms (Views: 3.7ms | Groonga: 48.4ms) + shutdown (0.9ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts" for 127.0.0.1 at 2017-02-03 18:15:41 +0900 +Processing by PostsController#index as HTML + Rendering posts/index.html.erb within layouts/application + select (2.9ms) select --limit "-1" --match_columns "body" --table "posts" + Rendered posts/index.html.erb within layouts/application (6.1ms) +Completed 200 OK in 14ms (Views: 8.9ms | Groonga: 2.9ms) + shutdown (2.2ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (2.5ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started PATCH "/posts/1" for 127.0.0.1 at 2017-02-03 18:15:41 +0900 +Processing by PostsController#update as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"} + select (58.4ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + load (1.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]" +Redirected to http://www.example.com/posts/1 +Completed 302 Found in 62ms (Groonga: 59.4ms) + shutdown (0.7ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (2.1ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]" + load (2.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]" + select (57.8ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + select (1.0ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts" + shutdown (0.6ms) shutdown +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]" + select (62.9ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + shutdown (0.9ms) shutdown +--------------------------------------------- +AgeTest: test_validate:__key:_invalid:_string +--------------------------------------------- +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (1.9ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.8ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.6ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (4.4ms) schema + load (3.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]" + select (63.5ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + shutdown (1.0ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (3.4ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.7ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.6ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.5ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]" + load (2.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]" + select (62.9ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + select (1.1ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts" + shutdown (0.7ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (2.5ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.8ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.0ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (3.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1/edit" for 127.0.0.1 at 2017-02-03 18:16:36 +0900 +Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + select (27.2ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/edit.html.erb within layouts/application + Rendered posts/_form.html.erb (8.7ms) + Rendered posts/edit.html.erb within layouts/application (9.8ms) +Completed 200 OK in 138ms (Views: 104.8ms | Groonga: 27.2ms) + shutdown (1.0ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.9ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/new" for 127.0.0.1 at 2017-02-03 18:16:36 +0900 +Processing by PostsController#new as HTML + Rendering posts/new.html.erb within layouts/application + Rendered posts/_form.html.erb (4.6ms) + Rendered posts/new.html.erb within layouts/application (6.7ms) +Completed 200 OK in 13ms (Views: 11.4ms | Groonga: 0.0ms) + shutdown (1.5ms) shutdown +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.4ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started DELETE "/posts/1" for 127.0.0.1 at 2017-02-03 18:16:36 +0900 +Processing by PostsController#destroy as HTML + Parameters: {"id"=>"1"} + select (54.9ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + delete (1.1ms) delete --filter "_id == 1" --table "posts" +Redirected to http://www.example.com/posts +Completed 302 Found in 58ms (Groonga: 56.0ms) + select (0.8ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + shutdown (0.6ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (2.5ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.0ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.1ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts" for 127.0.0.1 at 2017-02-03 18:16:36 +0900 +Processing by PostsController#index as HTML + Rendering posts/index.html.erb within layouts/application + select (3.2ms) select --limit "-1" --match_columns "body" --table "posts" + Rendered posts/index.html.erb within layouts/application (7.2ms) +Completed 200 OK in 16ms (Views: 10.0ms | Groonga: 3.2ms) + shutdown (2.2ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started PATCH "/posts/1" for 127.0.0.1 at 2017-02-03 18:16:37 +0900 +Processing by PostsController#update as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"} + select (54.7ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + load (0.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]" +Redirected to http://www.example.com/posts/1 +Completed 302 Found in 58ms (Groonga: 55.5ms) + shutdown (0.7ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.5ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started POST "/posts" for 127.0.0.1 at 2017-02-03 18:16:37 +0900 +Processing by PostsController#create as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}} + load (2.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Redirected to http://www.example.com/posts/2 +Completed 302 Found in 6ms (Groonga: 2.8ms) + select (2.3ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + select (2.7ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts" + shutdown (1.9ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (2.5ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1" for 127.0.0.1 at 2017-02-03 18:16:37 +0900 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + select (61.5ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 66ms (Views: 2.0ms | Groonga: 61.5ms) + shutdown (0.9ms) shutdown +--------------------------------------------- +AgeTest: test_validate:__key:_invalid:_string +--------------------------------------------- +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (2.1ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (2.4ms) schema + shutdown (1.0ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.5ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + shutdown (2.4ms) shutdown +--------------------------------------------- +AgeTest: test_validate:__key:_invalid:_string +--------------------------------------------- +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (2.1ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.6ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.6ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + shutdown (2.5ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (20.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + shutdown (1.9ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.8ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.7ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + shutdown (2.4ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.5ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.5ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + shutdown (1.9ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (3.0ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.7ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + shutdown (2.0ms) shutdown +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (2.9ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + shutdown (1.9ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (2.9ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.7ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + shutdown (2.0ms) shutdown +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (2.0ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.5ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.7ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (4.5ms) schema + shutdown (1.9ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (3.0ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.5ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + shutdown (2.5ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (1.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.6ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.7ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.6ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + shutdown (1.9ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (2.1ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.7ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + shutdown (1.9ms) shutdown +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (2.5ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.6ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + shutdown (2.1ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (2.5ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + shutdown (2.0ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.9ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + shutdown (2.0ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (1.4ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.0ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.1ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (0.8ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + shutdown (0.9ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (2.1ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.6ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.6ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.5ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + shutdown (1.6ms) shutdown +--------------------------------------------- +AgeTest: test_validate:__key:_invalid:_string +--------------------------------------------- +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (3.3ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (4.9ms) schema + load (4.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.6ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started DELETE "/posts/1" for 127.0.0.1 at 2017-02-03 18:18:25 +0900 +Processing by PostsController#destroy as HTML + Parameters: {"id"=>"1"} + select (27.5ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + delete (0.9ms) delete --filter "_id == 1" --table "posts" +Redirected to http://www.example.com/posts +Completed 302 Found in 37ms (Groonga: 28.4ms) + select (1.4ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + shutdown (1.0ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (3.0ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1/edit" for 127.0.0.1 at 2017-02-03 18:18:25 +0900 +Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + select (61.7ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/edit.html.erb within layouts/application + Rendered posts/_form.html.erb (7.1ms) + Rendered posts/edit.html.erb within layouts/application (8.2ms) +Completed 200 OK in 168ms (Views: 103.8ms | Groonga: 61.7ms) + shutdown (0.7ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts" for 127.0.0.1 at 2017-02-03 18:18:26 +0900 +Processing by PostsController#index as HTML + Rendering posts/index.html.erb within layouts/application + select (2.8ms) select --limit "-1" --match_columns "body" --table "posts" + Rendered posts/index.html.erb within layouts/application (6.0ms) +Completed 200 OK in 14ms (Views: 8.7ms | Groonga: 2.8ms) + shutdown (2.0ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (2.9ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/new" for 127.0.0.1 at 2017-02-03 18:18:26 +0900 +Processing by PostsController#new as HTML + Rendering posts/new.html.erb within layouts/application + Rendered posts/_form.html.erb (4.4ms) + Rendered posts/new.html.erb within layouts/application (6.5ms) +Completed 200 OK in 14ms (Views: 11.9ms | Groonga: 0.0ms) + shutdown (2.1ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started PATCH "/posts/1" for 127.0.0.1 at 2017-02-03 18:18:26 +0900 +Processing by PostsController#update as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"} + select (59.9ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + load (1.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]" +Redirected to http://www.example.com/posts/1 +Completed 302 Found in 64ms (Groonga: 61.0ms) + shutdown (0.8ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.4ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started POST "/posts" for 127.0.0.1 at 2017-02-03 18:18:26 +0900 +Processing by PostsController#create as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}} + load (2.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Redirected to http://www.example.com/posts/2 +Completed 302 Found in 6ms (Groonga: 2.8ms) + select (2.4ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + select (2.7ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts" + shutdown (2.0ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1" for 127.0.0.1 at 2017-02-03 18:18:26 +0900 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + select (54.6ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 59ms (Views: 2.6ms | Groonga: 54.6ms) + shutdown (1.0ms) shutdown +--------------------------------------------- +AgeTest: test_validate:__key:_invalid:_string +--------------------------------------------- +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]" + load (1.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]" + select (37.8ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + select (1.1ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts" + shutdown (0.6ms) shutdown +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]" + select (52.9ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + shutdown (0.9ms) shutdown +--------------------------------------------- +AgeTest: test_validate:__key:_invalid:_string +--------------------------------------------- + schema (0.7ms) schema +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (1.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.0ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (2.8ms) schema + load (2.2ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]" + select (47.6ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + shutdown (1.0ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (3.0ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.6ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.6ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.5ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.6ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]" + load (2.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]" + select (57.1ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + select (1.2ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts" + shutdown (0.6ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (1.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.0ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.8ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (9.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (1.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started PATCH "/posts/1" for 127.0.0.1 at 2017-02-03 18:18:42 +0900 +Processing by PostsController#update as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"} + select (27.8ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + load (1.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]" +Redirected to http://www.example.com/posts/1 +Completed 302 Found in 39ms (Groonga: 29.2ms) + shutdown (0.9ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (2.0ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.8ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.0ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.1ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1/edit" for 127.0.0.1 at 2017-02-03 18:18:42 +0900 +Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + select (56.7ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/edit.html.erb within layouts/application + Rendered posts/_form.html.erb (7.1ms) + Rendered posts/edit.html.erb within layouts/application (8.2ms) +Completed 200 OK in 162ms (Views: 102.6ms | Groonga: 56.7ms) + shutdown (0.9ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.5ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started POST "/posts" for 127.0.0.1 at 2017-02-03 18:18:43 +0900 +Processing by PostsController#create as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}} + load (2.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Redirected to http://www.example.com/posts/2 +Completed 302 Found in 6ms (Groonga: 2.7ms) + select (3.3ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + select (2.8ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts" + shutdown (2.0ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (3.0ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.7ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1" for 127.0.0.1 at 2017-02-03 18:18:43 +0900 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + select (50.6ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 55ms (Views: 2.1ms | Groonga: 50.6ms) + shutdown (0.8ms) shutdown +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (2.5ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.8ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.6ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started DELETE "/posts/1" for 127.0.0.1 at 2017-02-03 18:18:43 +0900 +Processing by PostsController#destroy as HTML + Parameters: {"id"=>"1"} + select (61.0ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + delete (0.9ms) delete --filter "_id == 1" --table "posts" +Redirected to http://www.example.com/posts +Completed 302 Found in 64ms (Groonga: 61.8ms) + select (0.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + shutdown (0.7ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts" for 127.0.0.1 at 2017-02-03 18:18:43 +0900 +Processing by PostsController#index as HTML + Rendering posts/index.html.erb within layouts/application + select (2.8ms) select --limit "-1" --match_columns "body" --table "posts" + Rendered posts/index.html.erb within layouts/application (6.0ms) +Completed 200 OK in 14ms (Views: 9.0ms | Groonga: 2.8ms) + shutdown (2.0ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (2.8ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/new" for 127.0.0.1 at 2017-02-03 18:18:43 +0900 +Processing by PostsController#new as HTML + Rendering posts/new.html.erb within layouts/application + Rendered posts/_form.html.erb (4.5ms) + Rendered posts/new.html.erb within layouts/application (6.6ms) +Completed 200 OK in 14ms (Views: 12.1ms | Groonga: 0.0ms) + shutdown (2.2ms) shutdown +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (2.1ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.5ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.6ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.0ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (2.5ms) schema + load (1.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]" + select (47.6ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + shutdown (1.1ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (2.8ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.6ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.6ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.7ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.6ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.5ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]" + load (2.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]" + select (58.0ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + select (1.1ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts" + shutdown (0.8ms) shutdown +--------------------------------------------- +AgeTest: test_validate:__key:_invalid:_string +--------------------------------------------- +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (1.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.4ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.5ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (14.0ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.7ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts" for 127.0.0.1 at 2017-02-03 18:18:49 +0900 +Processing by PostsController#index as HTML + Rendering posts/index.html.erb within layouts/application + select (1.2ms) select --limit "-1" --match_columns "body" --table "posts" + Rendered posts/index.html.erb within layouts/application (4.5ms) +Completed 200 OK in 100ms (Views: 92.7ms | Groonga: 1.2ms) + shutdown (0.9ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started PATCH "/posts/1" for 127.0.0.1 at 2017-02-03 18:18:50 +0900 +Processing by PostsController#update as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"} + select (59.7ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + load (0.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]" +Redirected to http://www.example.com/posts/1 +Completed 302 Found in 64ms (Groonga: 60.7ms) + shutdown (0.6ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/new" for 127.0.0.1 at 2017-02-03 18:18:50 +0900 +Processing by PostsController#new as HTML + Rendering posts/new.html.erb within layouts/application + Rendered posts/_form.html.erb (24.0ms) + Rendered posts/new.html.erb within layouts/application (26.1ms) +Completed 200 OK in 32ms (Views: 30.3ms | Groonga: 0.0ms) + shutdown (1.4ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.5ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1/edit" for 127.0.0.1 at 2017-02-03 18:18:50 +0900 +Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + select (56.7ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/edit.html.erb within layouts/application + Rendered posts/_form.html.erb (1.3ms) + Rendered posts/edit.html.erb within layouts/application (2.0ms) +Completed 200 OK in 62ms (Views: 3.6ms | Groonga: 56.7ms) + shutdown (0.9ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (3.0ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.5ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started POST "/posts" for 127.0.0.1 at 2017-02-03 18:18:50 +0900 +Processing by PostsController#create as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}} + load (3.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Redirected to http://www.example.com/posts/2 +Completed 302 Found in 7ms (Groonga: 3.3ms) + select (2.5ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + select (2.9ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts" + shutdown (1.9ms) shutdown +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.5ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started DELETE "/posts/1" for 127.0.0.1 at 2017-02-03 18:18:50 +0900 +Processing by PostsController#destroy as HTML + Parameters: {"id"=>"1"} + select (59.1ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + delete (0.9ms) delete --filter "_id == 1" --table "posts" +Redirected to http://www.example.com/posts +Completed 302 Found in 62ms (Groonga: 60.0ms) + select (0.6ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + shutdown (0.7ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1" for 127.0.0.1 at 2017-02-03 18:18:51 +0900 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + select (56.3ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 60ms (Views: 2.0ms | Groonga: 56.3ms) + shutdown (0.9ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (3.5ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (5.3ms) schema + load (2.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]" + load (2.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]" + select (64.0ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + select (1.4ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts" + shutdown (0.9ms) shutdown +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (2.5ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.7ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.5ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.6ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]" + select (59.4ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + shutdown (0.8ms) shutdown +--------------------------------------------- +AgeTest: test_validate:__key:_invalid:_string +--------------------------------------------- +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (1.5ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.1ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.8ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.0ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1" for 127.0.0.1 at 2017-02-03 18:19:19 +0900 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + select (27.4ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (2.5ms) +Completed 200 OK in 126ms (Views: 91.2ms | Groonga: 27.4ms) + shutdown (1.0ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (2.5ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.5ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.0ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.1ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.1ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1/edit" for 127.0.0.1 at 2017-02-03 18:19:19 +0900 +Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + select (52.2ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/edit.html.erb within layouts/application + Rendered posts/_form.html.erb (7.3ms) + Rendered posts/edit.html.erb within layouts/application (8.0ms) +Completed 200 OK in 64ms (Views: 9.6ms | Groonga: 52.2ms) + shutdown (0.9ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.2ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started PATCH "/posts/1" for 127.0.0.1 at 2017-02-03 18:19:19 +0900 +Processing by PostsController#update as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"} + select (63.9ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + load (1.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]" +Redirected to http://www.example.com/posts/1 +Completed 302 Found in 68ms (Groonga: 64.9ms) + shutdown (0.8ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (3.0ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.8ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.7ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started POST "/posts" for 127.0.0.1 at 2017-02-03 18:19:20 +0900 +Processing by PostsController#create as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}} + load (2.2ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Redirected to http://www.example.com/posts/2 +Completed 302 Found in 4ms (Groonga: 2.2ms) + select (1.4ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + select (1.3ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts" + shutdown (1.0ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (4.1ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.8ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts" for 127.0.0.1 at 2017-02-03 18:19:20 +0900 +Processing by PostsController#index as HTML + Rendering posts/index.html.erb within layouts/application + select (2.8ms) select --limit "-1" --match_columns "body" --table "posts" + Rendered posts/index.html.erb within layouts/application (6.0ms) +Completed 200 OK in 14ms (Views: 8.8ms | Groonga: 2.8ms) + shutdown (1.5ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (2.8ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/new" for 127.0.0.1 at 2017-02-03 18:19:20 +0900 +Processing by PostsController#new as HTML + Rendering posts/new.html.erb within layouts/application + Rendered posts/_form.html.erb (4.4ms) + Rendered posts/new.html.erb within layouts/application (6.5ms) +Completed 200 OK in 14ms (Views: 11.9ms | Groonga: 0.0ms) + shutdown (2.2ms) shutdown +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.3ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started DELETE "/posts/1" for 127.0.0.1 at 2017-02-03 18:19:20 +0900 +Processing by PostsController#destroy as HTML + Parameters: {"id"=>"1"} + select (50.2ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + delete (1.1ms) delete --filter "_id == 1" --table "posts" +Redirected to http://www.example.com/posts +Completed 302 Found in 53ms (Groonga: 51.3ms) + select (0.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + shutdown (0.7ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (1.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (2.9ms) schema + load (2.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]" + load (1.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]" + select (45.5ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + select (1.2ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts" + shutdown (0.6ms) shutdown +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (3.5ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.7ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (4.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (3.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.8ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.5ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]" + select (52.5ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + shutdown (0.6ms) shutdown +--------------------------------------------- +AgeTest: test_validate:__key:_invalid:_string +--------------------------------------------- +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (1.8ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (10.6ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (1.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts" for 127.0.0.1 at 2017-02-03 18:24:35 +0900 +Processing by PostsController#index as HTML + Rendering posts/index.html.erb within layouts/application + select (1.2ms) select --limit "-1" --match_columns "body" --table "posts" + Rendered posts/index.html.erb within layouts/application (4.5ms) +Completed 200 OK in 109ms (Views: 100.9ms | Groonga: 1.2ms) + shutdown (0.9ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (2.5ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/new" for 127.0.0.1 at 2017-02-03 18:24:35 +0900 +Processing by PostsController#new as HTML + Rendering posts/new.html.erb within layouts/application + Rendered posts/_form.html.erb (21.9ms) + Rendered posts/new.html.erb within layouts/application (24.1ms) +Completed 200 OK in 30ms (Views: 28.2ms | Groonga: 0.0ms) + shutdown (1.2ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1" for 127.0.0.1 at 2017-02-03 18:24:35 +0900 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + select (61.4ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (0.4ms) +Completed 200 OK in 66ms (Views: 2.0ms | Groonga: 61.4ms) + shutdown (0.9ms) shutdown +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.9ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.5ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started DELETE "/posts/1" for 127.0.0.1 at 2017-02-03 18:24:36 +0900 +Processing by PostsController#destroy as HTML + Parameters: {"id"=>"1"} + select (61.3ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + delete (1.0ms) delete --filter "_id == 1" --table "posts" +Redirected to http://www.example.com/posts +Completed 302 Found in 65ms (Groonga: 62.3ms) + select (0.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + shutdown (0.6ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (3.6ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.9ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.5ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started POST "/posts" for 127.0.0.1 at 2017-02-03 18:24:36 +0900 +Processing by PostsController#create as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}} + load (3.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Redirected to http://www.example.com/posts/2 +Completed 302 Found in 7ms (Groonga: 3.5ms) + select (2.7ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + select (2.2ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts" + shutdown (1.6ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1/edit" for 127.0.0.1 at 2017-02-03 18:24:36 +0900 +Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + select (53.1ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/edit.html.erb within layouts/application + Rendered posts/_form.html.erb (1.3ms) + Rendered posts/edit.html.erb within layouts/application (1.9ms) +Completed 200 OK in 59ms (Views: 3.5ms | Groonga: 53.1ms) + shutdown (0.7ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (2.8ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.6ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started PATCH "/posts/1" for 127.0.0.1 at 2017-02-03 18:24:36 +0900 +Processing by PostsController#update as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"} + select (48.3ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + load (1.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]" +Redirected to http://www.example.com/posts/1 +Completed 302 Found in 52ms (Groonga: 49.3ms) + shutdown (0.7ms) shutdown +--------------------------------------------- +AgeTest: test_validate:__key:_invalid:_string +--------------------------------------------- + schema (0.7ms) schema +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (2.0ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.6ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.6ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.6ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.0ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (5.1ms) schema + load (5.2ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (3.1ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started DELETE "/posts/1" for 127.0.0.1 at 2017-02-03 18:25:13 +0900 +Processing by PostsController#destroy as HTML + Parameters: {"id"=>"1"} + select (27.2ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + delete (1.0ms) delete --filter "_id == 1" --table "posts" +Redirected to http://www.example.com/posts +Completed 302 Found in 37ms (Groonga: 28.3ms) + select (1.0ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + shutdown (0.7ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (1.3ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.0ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (0.7ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (0.8ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.0ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (0.8ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (1.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started PATCH "/posts/1" for 127.0.0.1 at 2017-02-03 18:25:14 +0900 +Processing by PostsController#update as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"} + select (31.6ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + load (0.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]" +Redirected to http://www.example.com/posts/1 +Completed 302 Found in 34ms (Groonga: 32.5ms) + shutdown (0.7ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.4ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started POST "/posts" for 127.0.0.1 at 2017-02-03 18:25:14 +0900 +Processing by PostsController#create as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}} + load (2.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Redirected to http://www.example.com/posts/2 +Completed 302 Found in 6ms (Groonga: 2.8ms) + select (2.3ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + select (2.7ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts" + shutdown (1.9ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts" for 127.0.0.1 at 2017-02-03 18:25:14 +0900 +Processing by PostsController#index as HTML + Rendering posts/index.html.erb within layouts/application + select (2.9ms) select --limit "-1" --match_columns "body" --table "posts" + Rendered posts/index.html.erb within layouts/application (8.4ms) +Completed 200 OK in 117ms (Views: 111.6ms | Groonga: 2.9ms) + shutdown (0.9ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (5.6ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1/edit" for 127.0.0.1 at 2017-02-03 18:25:14 +0900 +Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + select (60.6ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/edit.html.erb within layouts/application + Rendered posts/_form.html.erb (7.1ms) + Rendered posts/edit.html.erb within layouts/application (7.8ms) +Completed 200 OK in 72ms (Views: 9.4ms | Groonga: 60.6ms) + shutdown (1.0ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (3.0ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.6ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.5ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1" for 127.0.0.1 at 2017-02-03 18:25:14 +0900 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + select (53.8ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (0.8ms) +Completed 200 OK in 59ms (Views: 3.1ms | Groonga: 53.8ms) + shutdown (0.9ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/new" for 127.0.0.1 at 2017-02-03 18:25:15 +0900 +Processing by PostsController#new as HTML + Rendering posts/new.html.erb within layouts/application + Rendered posts/_form.html.erb (4.6ms) + Rendered posts/new.html.erb within layouts/application (6.7ms) +Completed 200 OK in 14ms (Views: 11.8ms | Groonga: 0.0ms) + shutdown (1.4ms) shutdown +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.9ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]" + select (59.7ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + shutdown (0.7ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]" + load (2.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]" + select (61.8ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + select (1.4ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts" + shutdown (1.0ms) shutdown +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (2.0ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.6ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.6ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.0ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.1ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (4.7ms) schema + load (3.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.4ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started DELETE "/posts/1" for 127.0.0.1 at 2017-02-03 18:25:22 +0900 +Processing by PostsController#destroy as HTML + Parameters: {"id"=>"1"} + select (28.1ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + delete (1.0ms) delete --filter "_id == 1" --table "posts" +Redirected to http://www.example.com/posts +Completed 302 Found in 39ms (Groonga: 29.1ms) + select (0.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + shutdown (0.7ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1/edit" for 127.0.0.1 at 2017-02-03 18:25:22 +0900 +Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + select (49.5ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/edit.html.erb within layouts/application + Rendered posts/_form.html.erb (7.2ms) + Rendered posts/edit.html.erb within layouts/application (8.3ms) +Completed 200 OK in 159ms (Views: 107.5ms | Groonga: 49.5ms) + shutdown (1.0ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (2.9ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.4ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started POST "/posts" for 127.0.0.1 at 2017-02-03 18:25:23 +0900 +Processing by PostsController#create as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}} + load (2.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Redirected to http://www.example.com/posts/2 +Completed 302 Found in 6ms (Groonga: 2.8ms) + select (2.4ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + select (2.8ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts" + shutdown (2.0ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts" for 127.0.0.1 at 2017-02-03 18:25:23 +0900 +Processing by PostsController#index as HTML + Rendering posts/index.html.erb within layouts/application + select (2.8ms) select --limit "-1" --match_columns "body" --table "posts" + Rendered posts/index.html.erb within layouts/application (6.1ms) +Completed 200 OK in 14ms (Views: 8.9ms | Groonga: 2.8ms) + shutdown (2.0ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started PATCH "/posts/1" for 127.0.0.1 at 2017-02-03 18:25:23 +0900 +Processing by PostsController#update as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"} + select (57.2ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + load (0.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]" +Redirected to http://www.example.com/posts/1 +Completed 302 Found in 61ms (Groonga: 58.0ms) + shutdown (0.7ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (2.8ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/new" for 127.0.0.1 at 2017-02-03 18:25:23 +0900 +Processing by PostsController#new as HTML + Rendering posts/new.html.erb within layouts/application + Rendered posts/_form.html.erb (5.3ms) + Rendered posts/new.html.erb within layouts/application (7.6ms) +Completed 200 OK in 15ms (Views: 13.3ms | Groonga: 0.0ms) + shutdown (2.3ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (2.5ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1" for 127.0.0.1 at 2017-02-03 18:25:23 +0900 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + select (56.3ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (0.6ms) +Completed 200 OK in 61ms (Views: 2.5ms | Groonga: 56.3ms) + shutdown (1.2ms) shutdown +--------------------------------------------- +AgeTest: test_validate:__key:_invalid:_string +--------------------------------------------- +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.7ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.0ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]" + select (55.7ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + shutdown (0.9ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (2.8ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]" + load (2.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]" + select (53.0ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + select (1.0ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts" + shutdown (0.5ms) shutdown +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (2.0ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (3.7ms) schema + load (2.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]" + select (46.1ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + shutdown (0.8ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (3.0ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.6ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.5ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.2ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]" + load (2.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]" + select (55.5ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + select (1.3ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts" + shutdown (0.8ms) shutdown +--------------------------------------------- +AgeTest: test_validate:__key:_invalid:_string +--------------------------------------------- +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (1.4ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.0ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.1ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (1.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (1.2ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started DELETE "/posts/1" for 127.0.0.1 at 2017-02-03 18:25:57 +0900 +Processing by PostsController#destroy as HTML + Parameters: {"id"=>"1"} + select (26.9ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + delete (1.0ms) delete --filter "_id == 1" --table "posts" +Redirected to http://www.example.com/posts +Completed 302 Found in 36ms (Groonga: 27.9ms) + select (1.0ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + shutdown (0.7ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (2.5ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.6ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.5ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started POST "/posts" for 127.0.0.1 at 2017-02-03 18:25:57 +0900 +Processing by PostsController#create as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}} + load (2.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Redirected to http://www.example.com/posts/2 +Completed 302 Found in 7ms (Groonga: 2.9ms) + select (1.6ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + select (1.9ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts" + shutdown (1.4ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (2.5ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.0ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1" for 127.0.0.1 at 2017-02-03 18:25:58 +0900 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + select (54.5ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (0.9ms) +Completed 200 OK in 156ms (Views: 99.3ms | Groonga: 54.5ms) + shutdown (0.8ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.0ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1/edit" for 127.0.0.1 at 2017-02-03 18:25:58 +0900 +Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + select (51.7ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/edit.html.erb within layouts/application + Rendered posts/_form.html.erb (7.2ms) + Rendered posts/edit.html.erb within layouts/application (8.0ms) +Completed 200 OK in 63ms (Views: 9.5ms | Groonga: 51.7ms) + shutdown (0.8ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (3.1ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.9ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/new" for 127.0.0.1 at 2017-02-03 18:25:58 +0900 +Processing by PostsController#new as HTML + Rendering posts/new.html.erb within layouts/application + Rendered posts/_form.html.erb (4.2ms) + Rendered posts/new.html.erb within layouts/application (6.4ms) +Completed 200 OK in 14ms (Views: 12.2ms | Groonga: 0.0ms) + shutdown (2.1ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started PATCH "/posts/1" for 127.0.0.1 at 2017-02-03 18:25:58 +0900 +Processing by PostsController#update as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"} + select (54.1ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + load (0.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]" +Redirected to http://www.example.com/posts/1 +Completed 302 Found in 57ms (Groonga: 54.8ms) + shutdown (0.6ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts" for 127.0.0.1 at 2017-02-03 18:25:58 +0900 +Processing by PostsController#index as HTML + Rendering posts/index.html.erb within layouts/application + select (2.8ms) select --limit "-1" --match_columns "body" --table "posts" + Rendered posts/index.html.erb within layouts/application (5.7ms) +Completed 200 OK in 14ms (Views: 8.6ms | Groonga: 2.8ms) + shutdown (2.1ms) shutdown +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (1.8ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (2.7ms) schema + load (1.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]" + select (40.4ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + shutdown (1.0ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.6ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.9ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]" + load (2.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]" + select (51.0ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + select (1.0ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts" + shutdown (0.8ms) shutdown +--------------------------------------------- +AgeTest: test_validate:__key:_invalid:_string +--------------------------------------------- +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (4.0ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.1ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.3ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started POST "/posts" for 127.0.0.1 at 2017-02-03 18:26:15 +0900 +Processing by PostsController#create as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}} + load (1.2ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Redirected to http://www.example.com/posts/2 +Completed 302 Found in 9ms (Groonga: 1.2ms) + select (0.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + select (1.1ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts" + shutdown (0.7ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (2.9ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.1ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.6ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts" for 127.0.0.1 at 2017-02-03 18:26:16 +0900 +Processing by PostsController#index as HTML + Rendering posts/index.html.erb within layouts/application + select (1.9ms) select --limit "-1" --match_columns "body" --table "posts" + Rendered posts/index.html.erb within layouts/application (5.1ms) +Completed 200 OK in 109ms (Views: 104.1ms | Groonga: 1.9ms) + shutdown (1.0ms) shutdown +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.5ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started DELETE "/posts/1" for 127.0.0.1 at 2017-02-03 18:26:16 +0900 +Processing by PostsController#destroy as HTML + Parameters: {"id"=>"1"} + select (48.9ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + delete (1.1ms) delete --filter "_id == 1" --table "posts" +Redirected to http://www.example.com/posts +Completed 302 Found in 52ms (Groonga: 50.0ms) + select (0.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + shutdown (0.8ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1" for 127.0.0.1 at 2017-02-03 18:26:16 +0900 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + select (58.1ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (0.6ms) +Completed 200 OK in 63ms (Views: 2.7ms | Groonga: 58.1ms) + shutdown (1.1ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1/edit" for 127.0.0.1 at 2017-02-03 18:26:16 +0900 +Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + select (57.2ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/edit.html.erb within layouts/application + Rendered posts/_form.html.erb (5.6ms) + Rendered posts/edit.html.erb within layouts/application (6.4ms) +Completed 200 OK in 68ms (Views: 7.9ms | Groonga: 57.2ms) + shutdown (1.0ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.9ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.7ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.1ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/new" for 127.0.0.1 at 2017-02-03 18:26:16 +0900 +Processing by PostsController#new as HTML + Rendering posts/new.html.erb within layouts/application + Rendered posts/_form.html.erb (3.6ms) + Rendered posts/new.html.erb within layouts/application (5.3ms) +Completed 200 OK in 11ms (Views: 9.9ms | Groonga: 0.0ms) + shutdown (1.8ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started PATCH "/posts/1" for 127.0.0.1 at 2017-02-03 18:26:17 +0900 +Processing by PostsController#update as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"} + select (57.0ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + load (1.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]" +Redirected to http://www.example.com/posts/1 +Completed 302 Found in 61ms (Groonga: 58.2ms) + shutdown (1.1ms) shutdown +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (1.5ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.9ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (2.8ms) schema + load (2.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (1.8ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started DELETE "/posts/1" for 127.0.0.1 at 2017-02-03 18:27:25 +0900 +Processing by PostsController#destroy as HTML + Parameters: {"id"=>"1"} + select (26.9ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + delete (0.9ms) delete --filter "_id == 1" --table "posts" +Redirected to http://www.example.com/posts +Completed 302 Found in 36ms (Groonga: 27.9ms) + select (1.1ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + shutdown (0.8ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/new" for 127.0.0.1 at 2017-02-03 18:27:25 +0900 +Processing by PostsController#new as HTML + Rendering posts/new.html.erb within layouts/application + Rendered posts/_form.html.erb (19.0ms) + Rendered posts/new.html.erb within layouts/application (22.9ms) +Completed 200 OK in 125ms (Views: 123.1ms | Groonga: 0.0ms) + shutdown (1.0ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (3.2ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.6ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.6ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1/edit" for 127.0.0.1 at 2017-02-03 18:27:26 +0900 +Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + select (59.3ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/edit.html.erb within layouts/application + Rendered posts/_form.html.erb (1.3ms) + Rendered posts/edit.html.erb within layouts/application (2.0ms) +Completed 200 OK in 65ms (Views: 3.5ms | Groonga: 59.3ms) + shutdown (0.9ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.0ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1" for 127.0.0.1 at 2017-02-03 18:27:26 +0900 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + select (47.3ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 52ms (Views: 2.0ms | Groonga: 47.3ms) + shutdown (0.9ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts" for 127.0.0.1 at 2017-02-03 18:27:26 +0900 +Processing by PostsController#index as HTML + Rendering posts/index.html.erb within layouts/application + select (2.8ms) select --limit "-1" --match_columns "body" --table "posts" + Rendered posts/index.html.erb within layouts/application (5.9ms) +Completed 200 OK in 14ms (Views: 8.8ms | Groonga: 2.8ms) + shutdown (2.1ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started PATCH "/posts/1" for 127.0.0.1 at 2017-02-03 18:27:26 +0900 +Processing by PostsController#update as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"} + select (60.5ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + load (1.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]" +Redirected to http://www.example.com/posts/1 +Completed 302 Found in 64ms (Groonga: 61.5ms) + shutdown (0.6ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (4.1ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.8ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.5ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started POST "/posts" for 127.0.0.1 at 2017-02-03 18:27:26 +0900 +Processing by PostsController#create as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}} + load (3.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Redirected to http://www.example.com/posts/2 +Completed 302 Found in 7ms (Groonga: 3.0ms) + select (2.5ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + select (2.9ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts" + shutdown (2.1ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (2.9ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.8ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.8ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]" + load (2.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]" + select (53.2ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + select (1.1ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts" + shutdown (0.7ms) shutdown +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (2.3ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.8ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.4ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (1.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]" + select (34.9ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + shutdown (0.9ms) shutdown +--------------------------------------------- +AgeTest: test_validate:__key:_invalid:_string +--------------------------------------------- +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (3.1ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.5ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.7ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (5.7ms) schema + load (4.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.8ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started DELETE "/posts/1" for 127.0.0.1 at 2017-02-03 18:27:49 +0900 +Processing by PostsController#destroy as HTML + Parameters: {"id"=>"1"} + select (28.9ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + delete (1.1ms) delete --filter "_id == 1" --table "posts" +Redirected to http://www.example.com/posts +Completed 302 Found in 40ms (Groonga: 30.0ms) + select (1.0ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + shutdown (0.7ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (3.2ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.7ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (4.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1/edit" for 127.0.0.1 at 2017-02-03 18:27:49 +0900 +Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + select (47.3ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/edit.html.erb within layouts/application + Rendered posts/_form.html.erb (7.1ms) + Rendered posts/edit.html.erb within layouts/application (8.2ms) +Completed 200 OK in 154ms (Views: 104.4ms | Groonga: 47.3ms) + shutdown (0.8ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (1.2ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (0.9ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.0ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.0ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.0ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (1.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started PATCH "/posts/1" for 127.0.0.1 at 2017-02-03 18:27:50 +0900 +Processing by PostsController#update as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"} + select (42.7ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + load (1.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]" +Redirected to http://www.example.com/posts/1 +Completed 302 Found in 46ms (Groonga: 43.8ms) + shutdown (1.9ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (2.5ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (5.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (4.1ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started POST "/posts" for 127.0.0.1 at 2017-02-03 18:27:50 +0900 +Processing by PostsController#create as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}} + load (3.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Redirected to http://www.example.com/posts/2 +Completed 302 Found in 8ms (Groonga: 3.6ms) + select (1.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + select (1.6ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts" + shutdown (1.2ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (2.5ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (3.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (4.1ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts" for 127.0.0.1 at 2017-02-03 18:27:50 +0900 +Processing by PostsController#index as HTML + Rendering posts/index.html.erb within layouts/application + select (3.7ms) select --limit "-1" --match_columns "body" --table "posts" + Rendered posts/index.html.erb within layouts/application (7.7ms) +Completed 200 OK in 16ms (Views: 10.0ms | Groonga: 3.7ms) + shutdown (2.3ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/new" for 127.0.0.1 at 2017-02-03 18:27:50 +0900 +Processing by PostsController#new as HTML + Rendering posts/new.html.erb within layouts/application + Rendered posts/_form.html.erb (4.5ms) + Rendered posts/new.html.erb within layouts/application (6.8ms) +Completed 200 OK in 14ms (Views: 12.4ms | Groonga: 0.0ms) + shutdown (2.2ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (3.0ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.9ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.5ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1" for 127.0.0.1 at 2017-02-03 18:27:50 +0900 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + select (35.4ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 39ms (Views: 2.0ms | Groonga: 35.4ms) + shutdown (0.8ms) shutdown +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]" + select (59.7ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + shutdown (0.9ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]" + load (2.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]" + select (51.6ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + select (1.0ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts" + shutdown (0.8ms) shutdown +--------------------------------------------- +AgeTest: test_validate:__key:_invalid:_string +--------------------------------------------- +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (1.1ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (0.7ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (0.7ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (0.7ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (0.7ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (1.6ms) schema + load (1.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (0.8ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started DELETE "/posts/1" for 127.0.0.1 at 2017-02-03 21:36:02 +0900 +Processing by PostsController#destroy as HTML + Parameters: {"id"=>"1"} + select (29.2ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + delete (1.0ms) delete --filter "_id == 1" --table "posts" +Redirected to http://www.example.com/posts +Completed 302 Found in 85ms (Groonga: 30.2ms) + select (2.0ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + shutdown (2.2ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (2.4ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (1.7ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started POST "/posts" for 127.0.0.1 at 2017-02-03 21:36:03 +0900 +Processing by PostsController#create as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}} + load (1.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Redirected to http://www.example.com/posts/2 +Completed 302 Found in 4ms (Groonga: 1.5ms) + select (1.1ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + select (1.3ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts" + shutdown (0.9ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.5ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.6ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.6ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.2ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/new" for 127.0.0.1 at 2017-02-03 21:36:03 +0900 +Processing by PostsController#new as HTML + Rendering posts/new.html.erb within layouts/application + Rendered posts/_form.html.erb (29.6ms) + Rendered posts/new.html.erb within layouts/application (35.6ms) +Completed 200 OK in 314ms (Views: 313.0ms | Groonga: 0.0ms) + shutdown (1.0ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (1.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started PATCH "/posts/1" for 127.0.0.1 at 2017-02-03 21:36:03 +0900 +Processing by PostsController#update as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"} + select (42.4ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + load (0.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]" +Redirected to http://www.example.com/posts/1 +Completed 302 Found in 46ms (Groonga: 43.2ms) + shutdown (0.6ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (2.3ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.9ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.0ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.0ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.0ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts" for 127.0.0.1 at 2017-02-03 21:36:03 +0900 +Processing by PostsController#index as HTML + Rendering posts/index.html.erb within layouts/application + select (2.6ms) select --limit "-1" --match_columns "body" --table "posts" + Rendered posts/index.html.erb within layouts/application (5.6ms) +Completed 200 OK in 13ms (Views: 8.3ms | Groonga: 2.6ms) + shutdown (1.9ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (1.1ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.0ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (0.8ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (0.8ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (0.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (0.8ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (1.2ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1" for 127.0.0.1 at 2017-02-03 21:36:03 +0900 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + select (27.9ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (0.5ms) +Completed 200 OK in 32ms (Views: 2.1ms | Groonga: 27.9ms) + shutdown (0.8ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (0.9ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (0.7ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (0.7ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (0.7ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (0.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (0.6ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (1.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1/edit" for 127.0.0.1 at 2017-02-03 21:36:04 +0900 +Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + select (27.1ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/edit.html.erb within layouts/application + Rendered posts/_form.html.erb (1.3ms) + Rendered posts/edit.html.erb within layouts/application (2.0ms) +Completed 200 OK in 32ms (Views: 3.6ms | Groonga: 27.1ms) + shutdown (0.8ms) shutdown +--------------------------------------------- +AgeTest: test_validate:__key:_invalid:_string +--------------------------------------------- +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (0.8ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (0.8ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (0.7ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (0.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (0.8ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (0.6ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (0.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]" + select (26.9ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + shutdown (0.7ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (1.0ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (0.8ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (0.7ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (0.7ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (0.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (0.6ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (0.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]" + load (0.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]" + select (26.9ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + select (0.9ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts" + shutdown (0.6ms) shutdown +--------------------------------------------- +AgeTest: test_validate:__key:_invalid:_string +--------------------------------------------- + schema (0.6ms) schema +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (1.3ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (0.9ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.1ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (2.9ms) schema + load (1.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1" for 127.0.0.1 at 2017-02-03 21:40:12 +0900 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + select (27.9ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (2.5ms) +Completed 200 OK in 135ms (Views: 99.5ms | Groonga: 27.9ms) + shutdown (1.0ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (2.3ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.0ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.9ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.0ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.0ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.9ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started PATCH "/posts/1" for 127.0.0.1 at 2017-02-03 21:40:12 +0900 +Processing by PostsController#update as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"} + select (48.6ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + load (0.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]" +Redirected to http://www.example.com/posts/1 +Completed 302 Found in 52ms (Groonga: 49.5ms) + shutdown (0.8ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (2.3ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.0ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.8ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.9ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.0ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.9ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.1ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started POST "/posts" for 127.0.0.1 at 2017-02-03 21:40:12 +0900 +Processing by PostsController#create as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}} + load (2.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Redirected to http://www.example.com/posts/2 +Completed 302 Found in 6ms (Groonga: 2.6ms) + select (2.1ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + select (2.4ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts" + shutdown (1.8ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (1.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.5ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.6ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.5ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.5ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts" for 127.0.0.1 at 2017-02-03 21:40:13 +0900 +Processing by PostsController#index as HTML + Rendering posts/index.html.erb within layouts/application + select (2.0ms) select --limit "-1" --match_columns "body" --table "posts" + Rendered posts/index.html.erb within layouts/application (4.2ms) +Completed 200 OK in 11ms (Views: 6.7ms | Groonga: 2.0ms) + shutdown (1.5ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1/edit" for 127.0.0.1 at 2017-02-03 21:40:13 +0900 +Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + select (56.3ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/edit.html.erb within layouts/application + Rendered posts/_form.html.erb (7.3ms) + Rendered posts/edit.html.erb within layouts/application (8.0ms) +Completed 200 OK in 68ms (Views: 9.7ms | Groonga: 56.3ms) + shutdown (0.9ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.0ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/new" for 127.0.0.1 at 2017-02-03 21:40:13 +0900 +Processing by PostsController#new as HTML + Rendering posts/new.html.erb within layouts/application + Rendered posts/_form.html.erb (2.9ms) + Rendered posts/new.html.erb within layouts/application (4.2ms) +Completed 200 OK in 9ms (Views: 7.7ms | Groonga: 0.0ms) + shutdown (1.0ms) shutdown +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.2ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started DELETE "/posts/1" for 127.0.0.1 at 2017-02-03 21:40:13 +0900 +Processing by PostsController#destroy as HTML + Parameters: {"id"=>"1"} + select (52.9ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + delete (1.1ms) delete --filter "_id == 1" --table "posts" +Redirected to http://www.example.com/posts +Completed 302 Found in 57ms (Groonga: 54.0ms) + select (0.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + shutdown (0.7ms) shutdown +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]" + select (57.7ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + shutdown (0.7ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]" + load (1.7ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]" + select (44.2ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + select (1.1ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts" + shutdown (0.8ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.0ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.9ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.0ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.7ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (3.7ms) schema + load (3.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1" for 127.0.0.1 at 2017-02-03 21:40:19 +0900 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + select (27.2ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (2.5ms) +Completed 200 OK in 127ms (Views: 93.5ms | Groonga: 27.2ms) + shutdown (1.0ms) shutdown +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (2.4ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.0ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.8ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.7ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.0ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started DELETE "/posts/1" for 127.0.0.1 at 2017-02-03 21:40:20 +0900 +Processing by PostsController#destroy as HTML + Parameters: {"id"=>"1"} + select (53.8ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + delete (1.0ms) delete --filter "_id == 1" --table "posts" +Redirected to http://www.example.com/posts +Completed 302 Found in 57ms (Groonga: 54.8ms) + select (0.7ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + shutdown (0.6ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (2.1ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.9ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.9ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.9ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.8ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1/edit" for 127.0.0.1 at 2017-02-03 21:40:20 +0900 +Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + select (48.9ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/edit.html.erb within layouts/application + Rendered posts/_form.html.erb (7.4ms) + Rendered posts/edit.html.erb within layouts/application (8.2ms) +Completed 200 OK in 61ms (Views: 9.8ms | Groonga: 48.9ms) + shutdown (0.9ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (1.0ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (0.8ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (0.8ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (0.7ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (0.8ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (1.2ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (0.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started POST "/posts" for 127.0.0.1 at 2017-02-03 21:40:20 +0900 +Processing by PostsController#create as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}} + load (0.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Redirected to http://www.example.com/posts/2 +Completed 302 Found in 2ms (Groonga: 0.9ms) + select (0.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + select (1.0ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts" + shutdown (0.7ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (2.4ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.0ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.1ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.0ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.9ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/new" for 127.0.0.1 at 2017-02-03 21:40:20 +0900 +Processing by PostsController#new as HTML + Rendering posts/new.html.erb within layouts/application + Rendered posts/_form.html.erb (4.2ms) + Rendered posts/new.html.erb within layouts/application (6.1ms) +Completed 200 OK in 13ms (Views: 11.3ms | Groonga: 0.0ms) + shutdown (2.1ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (2.2ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.9ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.0ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.0ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.8ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.0ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started PATCH "/posts/1" for 127.0.0.1 at 2017-02-03 21:40:20 +0900 +Processing by PostsController#update as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"} + select (52.7ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + load (0.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]" +Redirected to http://www.example.com/posts/1 +Completed 302 Found in 56ms (Groonga: 53.6ms) + shutdown (0.7ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (2.1ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.8ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.9ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.9ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.8ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.8ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.2ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts" for 127.0.0.1 at 2017-02-03 21:40:20 +0900 +Processing by PostsController#index as HTML + Rendering posts/index.html.erb within layouts/application + select (2.4ms) select --limit "-1" --match_columns "body" --table "posts" + Rendered posts/index.html.erb within layouts/application (5.4ms) +Completed 200 OK in 14ms (Views: 9.1ms | Groonga: 2.4ms) + shutdown (1.7ms) shutdown +--------------------------------------------- +AgeTest: test_validate:__key:_invalid:_string +--------------------------------------------- +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (2.4ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.0ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.1ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.0ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.9ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.2ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]" + select (55.7ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + shutdown (0.8ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (2.0ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.8ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.8ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.8ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.7ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]" + load (2.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]" + select (54.7ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + select (1.1ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts" + shutdown (0.6ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (2.0ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.6ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (3.5ms) schema + load (1.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]" + load (1.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]" + select (49.9ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + select (1.0ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts" + shutdown (0.9ms) shutdown +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.7ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.6ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.7ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.5ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.1ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]" + select (54.6ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + shutdown (0.8ms) shutdown +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (1.3ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.0ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.4ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1/edit" for 127.0.0.1 at 2017-02-03 21:41:17 +0900 +Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + select (27.1ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/edit.html.erb within layouts/application + Rendered posts/_form.html.erb (9.0ms) + Rendered posts/edit.html.erb within layouts/application (10.2ms) +Completed 200 OK in 152ms (Views: 116.8ms | Groonga: 27.1ms) + shutdown (1.2ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts" for 127.0.0.1 at 2017-02-03 21:41:17 +0900 +Processing by PostsController#index as HTML + Rendering posts/index.html.erb within layouts/application + select (2.8ms) select --limit "-1" --match_columns "body" --table "posts" + Rendered posts/index.html.erb within layouts/application (6.4ms) +Completed 200 OK in 15ms (Views: 9.7ms | Groonga: 2.8ms) + shutdown (2.2ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (2.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.2ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1" for 127.0.0.1 at 2017-02-03 21:41:17 +0900 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + select (49.2ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (0.6ms) +Completed 200 OK in 54ms (Views: 2.5ms | Groonga: 49.2ms) + shutdown (1.0ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.4ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/new" for 127.0.0.1 at 2017-02-03 21:41:17 +0900 +Processing by PostsController#new as HTML + Rendering posts/new.html.erb within layouts/application + Rendered posts/_form.html.erb (4.5ms) + Rendered posts/new.html.erb within layouts/application (6.7ms) +Completed 200 OK in 15ms (Views: 13.0ms | Groonga: 0.0ms) + shutdown (3.4ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (2.4ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (2.8ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.6ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started PATCH "/posts/1" for 127.0.0.1 at 2017-02-03 21:41:17 +0900 +Processing by PostsController#update as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"} + select (56.9ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + load (1.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]" +Redirected to http://www.example.com/posts/1 +Completed 302 Found in 62ms (Groonga: 58.2ms) + shutdown (1.0ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (1.9ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.0ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (2.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.9ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started POST "/posts" for 127.0.0.1 at 2017-02-03 21:41:18 +0900 +Processing by PostsController#create as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}} + load (2.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Redirected to http://www.example.com/posts/2 +Completed 302 Found in 6ms (Groonga: 2.6ms) + select (2.2ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + select (3.1ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts" + shutdown (2.1ms) shutdown +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (3.3ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (3.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.9ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (3.0ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (4.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.2ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (3.3ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started DELETE "/posts/1" for 127.0.0.1 at 2017-02-03 21:41:18 +0900 +Processing by PostsController#destroy as HTML + Parameters: {"id"=>"1"} + select (57.0ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + delete (1.3ms) delete --filter "_id == 1" --table "posts" +Redirected to http://www.example.com/posts +Completed 302 Found in 61ms (Groonga: 58.3ms) + select (0.8ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + shutdown (0.8ms) shutdown +--------------------------------------------- +AgeTest: test_validate:__key:_invalid:_string +--------------------------------------------- +----------------------------------------- +PostsControllerTest: test_should_get_edit +----------------------------------------- + table_create (1.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.2ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.4ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.5ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + schema (3.8ms) schema + load (3.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1/edit" for 127.0.0.1 at 2017-02-03 21:44:45 +0900 +Processing by PostsController#edit as HTML + Parameters: {"id"=>"1"} + select (27.3ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/edit.html.erb within layouts/application + Rendered posts/_form.html.erb (8.8ms) + Rendered posts/edit.html.erb within layouts/application (10.0ms) +Completed 200 OK in 141ms (Views: 106.5ms | Groonga: 27.3ms) + shutdown (1.1ms) shutdown +---------------------------------------- +PostsControllerTest: test_should_get_new +---------------------------------------- + table_create (2.1ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.7ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.6ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (1.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.9ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.1ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (1.9ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/new" for 127.0.0.1 at 2017-02-03 21:44:45 +0900 +Processing by PostsController#new as HTML + Rendering posts/new.html.erb within layouts/application + Rendered posts/_form.html.erb (2.0ms) + Rendered posts/new.html.erb within layouts/application (2.9ms) +Completed 200 OK in 6ms (Views: 5.2ms | Groonga: 0.0ms) + shutdown (1.1ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_create_post +-------------------------------------------- + table_create (2.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.4ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.4ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.4ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (2.6ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started POST "/posts" for 127.0.0.1 at 2017-02-03 21:44:45 +0900 +Processing by PostsController#create as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}} + load (3.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Redirected to http://www.example.com/posts/2 +Completed 302 Found in 8ms (Groonga: 3.3ms) + select (2.6ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + select (2.9ms) select --limit "1" --match_columns "body" --sort_keys "-_id" --sortby "-_id" --table "posts" + shutdown (1.9ms) shutdown +--------------------------------------------- +PostsControllerTest: test_should_destroy_post +--------------------------------------------- + table_create (2.3ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.1ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.3ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (4.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.7ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" + select (3.5ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" +Started DELETE "/posts/1" for 127.0.0.1 at 2017-02-03 21:44:45 +0900 +Processing by PostsController#destroy as HTML + Parameters: {"id"=>"1"} + select (53.1ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + delete (1.4ms) delete --filter "_id == 1" --table "posts" +Redirected to http://www.example.com/posts +Completed 302 Found in 58ms (Groonga: 54.5ms) + select (1.0ms) select --limit "0" --match_columns "body" --output_columns "_id" --table "posts" + shutdown (1.1ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_show_post +------------------------------------------ + table_create (3.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (3.1ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (13.8ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (3.0ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (4.2ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.9ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (5.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts/1" for 127.0.0.1 at 2017-02-03 21:44:45 +0900 +Processing by PostsController#show as HTML + Parameters: {"id"=>"1"} + select (54.3ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + Rendering posts/show.html.erb within layouts/application + Rendered posts/show.html.erb within layouts/application (0.7ms) +Completed 200 OK in 60ms (Views: 3.0ms | Groonga: 54.3ms) + shutdown (1.1ms) shutdown +-------------------------------------------- +PostsControllerTest: test_should_update_post +-------------------------------------------- + table_create (3.2ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.8ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.9ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (6.6ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (4.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (3.0ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.5ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started PATCH "/posts/1" for 127.0.0.1 at 2017-02-03 21:44:46 +0900 +Processing by PostsController#update as HTML + Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"} + select (55.7ms) select --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts" + load (1.2ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]" +Redirected to http://www.example.com/posts/1 +Completed 302 Found in 61ms (Groonga: 56.9ms) + shutdown (1.1ms) shutdown +------------------------------------------ +PostsControllerTest: test_should_get_index +------------------------------------------ + table_create (1.7ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (2.0ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.9ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.0ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (3.3ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.6ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (4.6ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]" +Started GET "/posts" for 127.0.0.1 at 2017-02-03 21:44:46 +0900 +Processing by PostsController#index as HTML + Rendering posts/index.html.erb within layouts/application + select (2.8ms) select --limit "-1" --match_columns "body" --table "posts" + Rendered posts/index.html.erb within layouts/application (7.1ms) +Completed 200 OK in 18ms (Views: 12.8ms | Groonga: 2.8ms) + shutdown (2.1ms) shutdown +---------------------------- +PostTest: test_.create(Hash) +---------------------------- + table_create (1.6ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (1.3ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (1.3ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (0.8ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (1.7ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (1.3ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (1.8ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]" + select (35.5ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + shutdown (0.9ms) shutdown +------------------------------ +PostTest: test_.create([Hash]) +------------------------------ + table_create (3.4ms) table_create --flags "TABLE_NO_KEY" --name "posts" + column_create (3.0ms) column_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText" + column_create (2.8ms) column_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text" + table_create (2.9ms) table_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto" + column_create (4.0ms) column_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts" + table_create (2.9ms) table_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages" + load (3.3ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]" + load (3.0ms) load --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]" + select (67.8ms) select --filter "_id == 1" --limit "1" --match_columns "body" --table "posts" + select (1.6ms) select --filter "_id == 2" --limit "1" --match_columns "body" --table "posts" + shutdown (0.9ms) shutdown +--------------------------------------------- +AgeTest: test_validate:__key:_invalid:_string +---------------------------------------------