From d498cbf60581ca57a65c2b38defe65c6d665366f Mon Sep 17 00:00:00 2001 From: Douglas Andre Date: Fri, 23 Oct 2015 18:12:27 -0200 Subject: [PATCH 1/5] Adding formatted Exceptions for JSONAPI::Utils --- lib/jsonapi/utils.rb | 9 ++++++++ lib/jsonapi/utils/exceptions.rb | 41 +++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 lib/jsonapi/utils/exceptions.rb diff --git a/lib/jsonapi/utils.rb b/lib/jsonapi/utils.rb index 7cf640a..3bd27d1 100644 --- a/lib/jsonapi/utils.rb +++ b/lib/jsonapi/utils.rb @@ -1,4 +1,5 @@ require 'jsonapi/utils/version' +require 'jsonapi/utils/exceptions' module JSONAPI module Utils @@ -47,6 +48,14 @@ def jsonapi_serialize(records, options = {}) create_response_document(results).contents end + def jsonapi_bad_request + jsonapi_error(::JSONAPI::Utils::Exceptions::BadRequest.new) + end + + def jsonapi_internal_server_error + jsonapi_error(::JSONAPI::Utils::Exceptions::InternalServerError.new) + end + def jsonapi_error(exception) JSONAPI::ErrorsOperationResult.new(exception.errors[0].code, exception.errors).as_json end diff --git a/lib/jsonapi/utils/exceptions.rb b/lib/jsonapi/utils/exceptions.rb new file mode 100644 index 0000000..a7222f8 --- /dev/null +++ b/lib/jsonapi/utils/exceptions.rb @@ -0,0 +1,41 @@ +require 'jsonapi/utils/version' + +module JSONAPI + module Utils + module Exceptions + + # 400 - Bad Request + ################################ + class BadRequest < ::JSONAPI::Exceptions::Error + + def code + 400 + end + + def errors + [JSONAPI::Error.new(code: 400, + status: :bad_request, + title: 'Bad Request.', + detail: "Sorry, but this request is not supported. Please, check the documentation, or the development team.")] + end + end + + # 500 - Internal Server Error + ################################ + class InternalServerError < ::JSONAPI::Exceptions::Error + + def code + 500 + end + + def errors + [JSONAPI::Error.new(code: 404, + status: :not_found, + title: 'Internal Server error.', + detail: "Sorry, but an error ocurred during this request. Please, contact the development team.")] + end + end + + end + end +end \ No newline at end of file From 717f8de30514f8e530cef760f5d898b3ed182c05 Mon Sep 17 00:00:00 2001 From: Douglas Andre Date: Mon, 26 Oct 2015 09:46:26 -0200 Subject: [PATCH 2/5] Updating the jsonapi-utils version --- lib/jsonapi/utils/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jsonapi/utils/version.rb b/lib/jsonapi/utils/version.rb index e97839b..571e904 100644 --- a/lib/jsonapi/utils/version.rb +++ b/lib/jsonapi/utils/version.rb @@ -1,5 +1,5 @@ module JSONAPI module Utils - VERSION = '0.2.2' + VERSION = '0.2.3' end end From b71e9766d9fe78de1e5e688ca0cf3c0cda601981 Mon Sep 17 00:00:00 2001 From: Douglas Andre Date: Wed, 28 Oct 2015 13:26:35 -0200 Subject: [PATCH 3/5] Updating the messages on exceptions of JSONAPI::Utils --- lib/jsonapi/utils/exceptions.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/jsonapi/utils/exceptions.rb b/lib/jsonapi/utils/exceptions.rb index a7222f8..98ddc6f 100644 --- a/lib/jsonapi/utils/exceptions.rb +++ b/lib/jsonapi/utils/exceptions.rb @@ -16,7 +16,7 @@ def errors [JSONAPI::Error.new(code: 400, status: :bad_request, title: 'Bad Request.', - detail: "Sorry, but this request is not supported. Please, check the documentation, or the development team.")] + detail: "Sorry, but this request is not supported.")] end end @@ -32,7 +32,7 @@ def errors [JSONAPI::Error.new(code: 404, status: :not_found, title: 'Internal Server error.', - detail: "Sorry, but an error ocurred during this request. Please, contact the development team.")] + detail: "Sorry, but an error ocurred during this request.")] end end From 90e4afa98c6e14c45a59247fc9ec067c1daa5528 Mon Sep 17 00:00:00 2001 From: Tiago Guedes Date: Wed, 28 Oct 2015 16:58:41 -0200 Subject: [PATCH 4/5] Improve error methods and do some refactoring --- lib/jsonapi/utils.rb | 70 ++-- lib/jsonapi/utils/exceptions.rb | 37 +- lib/jsonapi/utils/version.rb | 2 +- spec/log/test.log | 693 ++++++++++++++++++++++++++++++++ spec/test_db | Bin 0 -> 20480 bytes 5 files changed, 740 insertions(+), 62 deletions(-) create mode 100644 spec/log/test.log create mode 100644 spec/test_db diff --git a/lib/jsonapi/utils.rb b/lib/jsonapi/utils.rb index 3bd27d1..81ee2a0 100644 --- a/lib/jsonapi/utils.rb +++ b/lib/jsonapi/utils.rb @@ -11,68 +11,54 @@ module Utils def jsonapi_render(options) if options.has_key?(:json) - response = build_response(options) - render json: response[:body], status: options[:status] || response[:status] || :ok + response = jsonapi_serialize(options[:json], options[:options] || {}) + render json: response, status: options[:status] || :ok end end + def jsonapi_errors(exception) + JSONAPI::ErrorsOperationResult.new(exception.errors[0].code, exception.errors).as_json + end + + def jsonapi_render_internal_server_error + errors = ::JSONAPI::Utils::Exceptions::InternalServerError.new + render json: jsonapi_errors(errors), status: 500 + end + + def jsonapi_render_bad_request + errors = ::JSONAPI::Utils::Exceptions::BadRequest.new + render json: jsonapi_errors(errors), status: 400 + end + def jsonapi_render_not_found - jsonapi_render json: nil + id = extract_ids(@request.params) + exception = JSONAPI::Exceptions::RecordNotFound.new(id) + render json: jsonapi_errors(exception), status: 404 end def jsonapi_render_not_found_with_null - jsonapi_render json: nil, options: { allow_null: true } + render json: { data: nil }, status: 200 end def jsonapi_serialize(records, options = {}) - return build_nil if records.nil? && options[:allow_null] results = JSONAPI::OperationResults.new - if records.nil? - id = extract_ids(@request.params) - record_not_found = JSONAPI::Exceptions::RecordNotFound.new(id) - results.add_result(JSONAPI::ErrorsOperationResult.new(record_not_found.errors[0].code, record_not_found.errors)) + fix_request_options(params, records) + + if records.respond_to?(:to_ary) + records = fix_when_hash(records, options) if needs_to_be_fixed?(records) + @resources = build_collection(records, options) + results.add_result(JSONAPI::ResourcesOperationResult.new(:ok, @resources, result_options(options))) else - fix_request_options(params, records) - - if records.respond_to?(:to_ary) - records = fix_when_hash(records, options) if needs_to_be_fixed?(records) - @resources = build_collection(records, options) - results.add_result(JSONAPI::ResourcesOperationResult.new(:ok, @resources, result_options(options))) - else - @resource = turn_into_resource(records, options) - results.add_result(JSONAPI::ResourceOperationResult.new(:ok, @resource)) - end + @resource = turn_into_resource(records, options) + results.add_result(JSONAPI::ResourceOperationResult.new(:ok, @resource)) end create_response_document(results).contents end - def jsonapi_bad_request - jsonapi_error(::JSONAPI::Utils::Exceptions::BadRequest.new) - end - - def jsonapi_internal_server_error - jsonapi_error(::JSONAPI::Utils::Exceptions::InternalServerError.new) - end - - def jsonapi_error(exception) - JSONAPI::ErrorsOperationResult.new(exception.errors[0].code, exception.errors).as_json - end - private - def build_response(options) - { - body: jsonapi_serialize(options[:json], options[:options] || {}), - status: options[:json].nil? && !options[:allow_null] ? :not_found : :ok - } - end - - def build_nil - { data: nil } - end - def extract_ids(hash) ids = hash.keys.select { |e| e =~ /id$/i }.map { |e| hash[e] } ids.first rescue '(id not identified)' diff --git a/lib/jsonapi/utils/exceptions.rb b/lib/jsonapi/utils/exceptions.rb index 98ddc6f..5edd7ba 100644 --- a/lib/jsonapi/utils/exceptions.rb +++ b/lib/jsonapi/utils/exceptions.rb @@ -3,39 +3,38 @@ module JSONAPI module Utils module Exceptions - - # 400 - Bad Request - ################################ class BadRequest < ::JSONAPI::Exceptions::Error - - def code - 400 - end + def code; 400 end def errors [JSONAPI::Error.new(code: 400, status: :bad_request, - title: 'Bad Request.', - detail: "Sorry, but this request is not supported.")] + title: 'Bad Request', + detail: 'This request is not supported.')] end end - # 500 - Internal Server Error - ################################ - class InternalServerError < ::JSONAPI::Exceptions::Error - - def code - 500 - end + class NotFoundError < ::JSONAPI::Exceptions::Error + def code; 404 end def errors [JSONAPI::Error.new(code: 404, status: :not_found, - title: 'Internal Server error.', - detail: "Sorry, but an error ocurred during this request.")] + title: 'Not Found', + detail: 'The requested resource was not found.')] end end + class InternalServerError < ::JSONAPI::Exceptions::Error + def code; 500 end + + def errors + [JSONAPI::Error.new(code: 500, + status: :internal_server_error, + title: 'Internal Server Error', + detail: 'An internal error ocurred while processing the request.')] + end + end end end -end \ No newline at end of file +end diff --git a/lib/jsonapi/utils/version.rb b/lib/jsonapi/utils/version.rb index 571e904..b2f499a 100644 --- a/lib/jsonapi/utils/version.rb +++ b/lib/jsonapi/utils/version.rb @@ -1,5 +1,5 @@ module JSONAPI module Utils - VERSION = '0.2.3' + VERSION = '0.3.0' end end diff --git a/spec/log/test.log b/spec/log/test.log new file mode 100644 index 0000000..74a2068 --- /dev/null +++ b/spec/log/test.log @@ -0,0 +1,693 @@ +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  +  (0.1ms) select sqlite_version(*) +  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (2.3ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (2.1ms) DROP TABLE "posts" +  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.9ms) DROP TABLE "posts" +  (0.8ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (1.2ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (1.8ms) DROP TABLE "posts" +  (1.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (1.9ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (1.7ms) DROP TABLE "posts" +  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (1.9ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (1.1ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.9ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (1.9ms) DROP TABLE "posts" +  (0.8ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (2.0ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (2.0ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.7ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (2.1ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (1.2ms) DROP TABLE "posts" +  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (1.2ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (1.0ms) DROP TABLE "users" +  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (2.1ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (1.1ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (2.1ms) DROP TABLE "posts" +  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (1.9ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (2.0ms) DROP TABLE "posts" +  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (1.2ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.9ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (1.7ms) DROP TABLE "posts" +  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.7ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (2.0ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.9ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (2.0ms) DROP TABLE "posts" +  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (2.0ms) DROP TABLE "posts" +  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (2.1ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (2.5ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.9ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (2.2ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.9ms) DROP TABLE "users" +  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (2.6ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (2.0ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.9ms) DROP TABLE "users" +  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (1.9ms) DROP TABLE "posts" +  (1.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (1.7ms) DROP TABLE "posts" +  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (2.1ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.9ms) DROP TABLE "users" +  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (1.8ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (1.2ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (1.1ms) DROP TABLE "users" +  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (2.2ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (1.2ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (1.1ms) DROP TABLE "users" +  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (2.5ms) DROP TABLE "posts" +  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (1.2ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.9ms) DROP TABLE "users" +  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (1.8ms) DROP TABLE "posts" +  (0.8ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (1.0ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (1.7ms) DROP TABLE "posts" +  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.0ms) select sqlite_version(*) +  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.7ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (2.1ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.0ms) select sqlite_version(*) +  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.7ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +Processing by PostsController#index as HTML +  (0.1ms) SELECT COUNT(*) FROM "posts" +  (0.1ms) SELECT COUNT(*) FROM "posts" +Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) +  (1.7ms) DROP TABLE "posts" +  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.0ms) select sqlite_version(*) +  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +Processing by PostsController#index as HTML +  (0.1ms) SELECT COUNT(*) FROM "posts" +  (0.1ms) SELECT COUNT(*) FROM "posts" +Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) +  (1.9ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.7ms) DROP TABLE "users" +  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +Processing by PostsController#index as HTML +  (0.1ms) SELECT COUNT(*) FROM "posts" +  (0.1ms) SELECT COUNT(*) FROM "posts" +Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) +  (1.7ms) DROP TABLE "posts" +  (0.8ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.0ms) select sqlite_version(*) +  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +Processing by PostsController#index as HTML + Parameters: {"Accept"=>"application/vnd.api+json"} +  (0.1ms) SELECT COUNT(*) FROM "posts" +  (0.1ms) SELECT COUNT(*) FROM "posts" +Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) +  (1.8ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.9ms) DROP TABLE "users" +  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +Processing by PostsController#index as HTML +  (0.1ms) SELECT COUNT(*) FROM "posts" +  (0.1ms) SELECT COUNT(*) FROM "posts" +Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) +  (2.0ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +Processing by UsersController#index as HTML +  (0.1ms) SELECT COUNT(*) FROM "users" +  (0.1ms) SELECT COUNT(*) FROM "users" +Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.3ms) +  (2.1ms) DROP TABLE "posts" +  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.7ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (2.1ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.0ms) select sqlite_version(*) +  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.7ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +Processing by UsersController#index as HTML + Parameters: {""=>"1", "fields"=>{"foo"=>"bar"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML +  (0.1ms) SELECT COUNT(*) FROM "users" +  (0.1ms) SELECT COUNT(*) FROM "users" +Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.4ms) +Processing by UsersController#index as HTML + Parameters: {""=>nil} +  (0.1ms) SELECT COUNT(*) FROM "users" +  (0.1ms) SELECT COUNT(*) FROM "users" +Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms) +Processing by UsersController#index as HTML +  (0.1ms) SELECT COUNT(*) FROM "users" +  (0.1ms) SELECT COUNT(*) FROM "users" +Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms) +  (2.2ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +Processing by UsersController#index as HTML +  (0.1ms) SELECT COUNT(*) FROM "users" +  (0.1ms) SELECT COUNT(*) FROM "users" +Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) +  (1.7ms) DROP TABLE "posts" +  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.0ms) select sqlite_version(*) +  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +Processing by UsersController#index as HTML + Parameters: {"fields"=>{"foo"=>"bar"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML +  (0.1ms) SELECT COUNT(*) FROM "users" +  (0.1ms) SELECT COUNT(*) FROM "users" +Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.3ms) +  (2.1ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.0ms) select sqlite_version(*) +  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +Processing by UsersController#index as HTML + Parameters: {"fields"=>{"foo"=>"bar"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML +  (0.1ms) SELECT COUNT(*) FROM "users" +  (0.1ms) SELECT COUNT(*) FROM "users" +Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) +  (1.7ms) DROP TABLE "posts" +  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.7ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +Processing by UsersController#index as HTML + Parameters: {"fields"=>{"foo"=>"bar"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML +  (0.1ms) SELECT COUNT(*) FROM "users" +  (0.1ms) SELECT COUNT(*) FROM "users" +Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.3ms) +  (1.6ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +Processing by UsersController#index as HTML + Parameters: {"id"=>"1", "fields"=>{"foo"=>"bar"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML + Parameters: {"id"=>"99"} +  (0.1ms) SELECT COUNT(*) FROM "users" +  (0.1ms) SELECT COUNT(*) FROM "users" +Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.3ms) +Processing by UsersController#index as HTML +  (0.1ms) SELECT COUNT(*) FROM "users" +  (0.1ms) SELECT COUNT(*) FROM "users" +Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms) +  (1.8ms) DROP TABLE "posts" +  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.7ms) DROP TABLE "users" +  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +Processing by UsersController#index as HTML + Parameters: {"fields"=>{"foo"=>"bar"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML +  (0.1ms) SELECT COUNT(*) FROM "users" +  (0.1ms) SELECT COUNT(*) FROM "users" +Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.3ms) +  (2.2ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.9ms) DROP TABLE "users" +  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +Processing by UsersController#index as HTML + Parameters: {"fields"=>{"foo"=>"bar"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML +  (0.1ms) SELECT COUNT(*) FROM "users" +  (0.1ms) SELECT COUNT(*) FROM "users" +Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) +  (2.1ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +Processing by UsersController#index as HTML + Parameters: {"fields"=>{"foo"=>"bar"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML +  (0.1ms) SELECT COUNT(*) FROM "users" +  (0.1ms) SELECT COUNT(*) FROM "users" +Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) +  (2.2ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.7ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.7ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +Processing by UsersController#index as HTML + Parameters: {"fields"=>{"foo"=>"bar"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML +  (0.3ms) SELECT COUNT(*) FROM "users" +  (0.1ms) SELECT COUNT(*) FROM "users" +Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.6ms) +  (1.6ms) DROP TABLE "posts" +  (0.7ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.0ms) select sqlite_version(*) +  (0.6ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.6ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +Processing by UsersController#index as HTML + Parameters: {"fields"=>{"foo"=>"bar"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML +  (0.1ms) SELECT COUNT(*) FROM "users" +  (0.1ms) SELECT COUNT(*) FROM "users" +Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) +  (2.0ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.7ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +Processing by UsersController#index as HTML + Parameters: {"fields"=>{"foo"=>"bar"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML +  (0.1ms) SELECT COUNT(*) FROM "users" +  (0.1ms) SELECT COUNT(*) FROM "users" +Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) +  (2.1ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.0ms) select sqlite_version(*) +  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.7ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +Processing by UsersController#index as HTML + Parameters: {"fields"=>{"foo"=>"bar"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML +  (0.1ms) SELECT COUNT(*) FROM "users" +  (0.1ms) SELECT COUNT(*) FROM "users" +Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.4ms) +  (2.2ms) DROP TABLE "posts" +  (1.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.7ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.9ms) DROP TABLE "users" +  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +Processing by UsersController#index as HTML + Parameters: {"fields"=>{"foo"=>"bar"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML +  (0.1ms) SELECT COUNT(*) FROM "users" +  (0.1ms) SELECT COUNT(*) FROM "users" +Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) +  (3.8ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +Processing by UsersController#index as HTML + Parameters: {"fields"=>{"users"=>"bar"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML +  (0.1ms) SELECT COUNT(*) FROM "users" +  (0.1ms) SELECT COUNT(*) FROM "users" +Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.4ms) +  (2.0ms) DROP TABLE "posts" +  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.7ms) DROP TABLE "users" +  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +Processing by UsersController#index as HTML + Parameters: {"fields"=>{"foo"=>"name"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML +  (0.1ms) SELECT COUNT(*) FROM "users" +  (0.1ms) SELECT COUNT(*) FROM "users" +Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) +  (1.7ms) DROP TABLE "posts" +  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.0ms) select sqlite_version(*) +  (0.7ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.7ms) DROP TABLE "users" +  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +Processing by UsersController#index as HTML + Parameters: {"fields"=>{"foo"=>"name"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML +  (0.1ms) SELECT COUNT(*) FROM "users" +  (0.1ms) SELECT COUNT(*) FROM "users" +Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.3ms) +  (2.1ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.7ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.7ms) DROP TABLE "users" +  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +Processing by UsersController#index as HTML + Parameters: {"fields"=>{"foo"=>"name"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML + Parameters: {"fields"=>{"users"=>"foo"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML +  (0.1ms) SELECT COUNT(*) FROM "users" +  (0.1ms) SELECT COUNT(*) FROM "users" +Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) +  (1.7ms) DROP TABLE "posts" +  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.0ms) select sqlite_version(*) +  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +Processing by UsersController#index as HTML + Parameters: {"fields"=>{"foo"=>"name"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML + Parameters: {"fields"=>{"users"=>"foo"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML +  (0.1ms) SELECT COUNT(*) FROM "users" +  (0.1ms) SELECT COUNT(*) FROM "users" +Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.3ms) +  (2.3ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.0ms) select sqlite_version(*) +  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.9ms) DROP TABLE "users" +  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +Processing by UsersController#index as HTML + Parameters: {"fields"=>{"foo"=>"name"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML + Parameters: {"fields"=>{"users"=>"foo"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML + Parameters: {"fields"=>{"users"=>"foo"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML +  (0.1ms) SELECT COUNT(*) FROM "users" +  (0.1ms) SELECT COUNT(*) FROM "users" +Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) +  (2.1ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +Processing by UsersController#index as HTML + Parameters: {"fields"=>{"foo"=>"name"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML + Parameters: {"fields"=>{"users"=>"foo"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML + Parameters: {"filter"=>{"foo"=>"bar"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML +  (0.1ms) SELECT COUNT(*) FROM "users" +  (0.1ms) SELECT COUNT(*) FROM "users" +Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) +  (2.1ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.0ms) select sqlite_version(*) +  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (2.2ms) DROP TABLE "users" +  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +Processing by UsersController#index as HTML + Parameters: {"fields"=>{"foo"=>"name"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML + Parameters: {"fields"=>{"users"=>"foo"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML + Parameters: {"filter"=>{"foo"=>"bar"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML +  (0.1ms) SELECT COUNT(*) FROM "users" +  (0.1ms) SELECT COUNT(*) FROM "users" +Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) +  (2.0ms) DROP TABLE "posts" +  (1.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.0ms) select sqlite_version(*) +  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +Processing by UsersController#index as HTML + Parameters: {"fields"=>{"foo"=>"name"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML + Parameters: {"fields"=>{"users"=>"foo"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML + Parameters: {"include"=>"foo"} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML +  (0.1ms) SELECT COUNT(*) FROM "users" +  (0.1ms) SELECT COUNT(*) FROM "users" +Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) +  (2.1ms) DROP TABLE "posts" +  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.0ms) select sqlite_version(*) +  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.8ms) DROP TABLE "users" +  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +Processing by UsersController#index as HTML + Parameters: {"fields"=>{"foo"=>"name"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML + Parameters: {"fields"=>{"users"=>"foo"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML + Parameters: {"include"=>"foo"} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML + Parameters: {"include"=>"foo"} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML +  (0.1ms) SELECT COUNT(*) FROM "users" +  (0.1ms) SELECT COUNT(*) FROM "users" +Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.4ms) +  (2.0ms) DROP TABLE "posts" +  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.0ms) select sqlite_version(*) +  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") +  (0.7ms) DROP TABLE "users" +  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +Processing by UsersController#index as HTML + Parameters: {"fields"=>{"foo"=>"name"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML + Parameters: {"fields"=>{"users"=>"foo"}} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML + Parameters: {"include"=>"foo"} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML + Parameters: {"sort"=>"foo"} +Filter chain halted as :setup_request rendered or redirected +Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) +Processing by UsersController#index as HTML +  (0.1ms) SELECT COUNT(*) FROM "users" +  (0.1ms) SELECT COUNT(*) FROM "users" +Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.3ms) diff --git a/spec/test_db b/spec/test_db new file mode 100644 index 0000000000000000000000000000000000000000..838d480219daa712e8f2b071a1316b3fcce28902 GIT binary patch literal 20480 zcmeI%J#W)M7{GBmBve95Qzoycn;NyK0|R0z0Zbc_IwiOgnJhQHf>C0(_5~F&nQy^| zW94&jc7l{t&5}^5mHv@z-;1BzbH6(emOp;z#afArG@FE4Jhyf%+qPZ_VOjREWmye# z%zstA{;y`P_Ck3@(ZoFa(`dF1ta|g%+Wy@z*rQ)h5NRj3X(!p6?#H193X&o^%F7 z@!lPZ&Y9oudM4<^^?c#=&2iT2?F*^n!YkZ6A4HFp6yL&Z^d-#9sOM?)T?(zPwW&;V zl?7$uaiY~{RrZfE6>1d)p_U>tB^^)HV%F2kvUNp&yErb6W;04FwsL^HIyIKrsM(RfO(bD8@bnce9?wiQA z*^6KAdQZ)kJ1X97IWHZ%Xv9gRuB%f}ZPg%6g88yn_4+*ZuJ_jcB;@UPO40Wgw)#9? zwwvYCwX^0UMi>GJAb Date: Wed, 28 Oct 2015 17:01:56 -0200 Subject: [PATCH 5/5] Remove and ignore some test files --- .gitignore | 2 + spec/log/test.log | 693 ---------------------------------------------- spec/test_db | Bin 20480 -> 0 bytes 3 files changed, 2 insertions(+), 693 deletions(-) delete mode 100644 spec/log/test.log delete mode 100644 spec/test_db diff --git a/.gitignore b/.gitignore index ba564ee..db9fde9 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,8 @@ /coverage/ /doc/ /pkg/ +/spec/log/ +/spec/test_db /spec/reports/ /tmp/ *.bundle diff --git a/spec/log/test.log b/spec/log/test.log deleted file mode 100644 index 74a2068..0000000 --- a/spec/log/test.log +++ /dev/null @@ -1,693 +0,0 @@ -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (2.3ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (2.1ms) DROP TABLE "posts" -  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.9ms) DROP TABLE "posts" -  (0.8ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.2ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.8ms) DROP TABLE "posts" -  (1.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.9ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.7ms) DROP TABLE "posts" -  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.9ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.1ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.9ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.9ms) DROP TABLE "posts" -  (0.8ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (2.0ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (2.0ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.7ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (2.1ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.2ms) DROP TABLE "posts" -  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.2ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (1.0ms) DROP TABLE "users" -  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (2.1ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.1ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (2.1ms) DROP TABLE "posts" -  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.9ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (2.0ms) DROP TABLE "posts" -  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.2ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.9ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.7ms) DROP TABLE "posts" -  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.7ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (2.0ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.9ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (2.0ms) DROP TABLE "posts" -  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (2.0ms) DROP TABLE "posts" -  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (2.1ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (2.5ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.9ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (2.2ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.9ms) DROP TABLE "users" -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (2.6ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (2.0ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.9ms) DROP TABLE "users" -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.9ms) DROP TABLE "posts" -  (1.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.7ms) DROP TABLE "posts" -  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (2.1ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.9ms) DROP TABLE "users" -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.8ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.2ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (1.1ms) DROP TABLE "users" -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (2.2ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.2ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (1.1ms) DROP TABLE "users" -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (2.5ms) DROP TABLE "posts" -  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.2ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.9ms) DROP TABLE "users" -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.8ms) DROP TABLE "posts" -  (0.8ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.0ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.7ms) DROP TABLE "posts" -  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.0ms) select sqlite_version(*) -  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.7ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (2.1ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.0ms) select sqlite_version(*) -  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.7ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -Processing by PostsController#index as HTML -  (0.1ms) SELECT COUNT(*) FROM "posts" -  (0.1ms) SELECT COUNT(*) FROM "posts" -Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) -  (1.7ms) DROP TABLE "posts" -  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.0ms) select sqlite_version(*) -  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -Processing by PostsController#index as HTML -  (0.1ms) SELECT COUNT(*) FROM "posts" -  (0.1ms) SELECT COUNT(*) FROM "posts" -Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) -  (1.9ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.7ms) DROP TABLE "users" -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -Processing by PostsController#index as HTML -  (0.1ms) SELECT COUNT(*) FROM "posts" -  (0.1ms) SELECT COUNT(*) FROM "posts" -Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) -  (1.7ms) DROP TABLE "posts" -  (0.8ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.0ms) select sqlite_version(*) -  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -Processing by PostsController#index as HTML - Parameters: {"Accept"=>"application/vnd.api+json"} -  (0.1ms) SELECT COUNT(*) FROM "posts" -  (0.1ms) SELECT COUNT(*) FROM "posts" -Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) -  (1.8ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.9ms) DROP TABLE "users" -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -Processing by PostsController#index as HTML -  (0.1ms) SELECT COUNT(*) FROM "posts" -  (0.1ms) SELECT COUNT(*) FROM "posts" -Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) -  (2.0ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -Processing by UsersController#index as HTML -  (0.1ms) SELECT COUNT(*) FROM "users" -  (0.1ms) SELECT COUNT(*) FROM "users" -Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.3ms) -  (2.1ms) DROP TABLE "posts" -  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.7ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (2.1ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.0ms) select sqlite_version(*) -  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.7ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -Processing by UsersController#index as HTML - Parameters: {""=>"1", "fields"=>{"foo"=>"bar"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML -  (0.1ms) SELECT COUNT(*) FROM "users" -  (0.1ms) SELECT COUNT(*) FROM "users" -Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.4ms) -Processing by UsersController#index as HTML - Parameters: {""=>nil} -  (0.1ms) SELECT COUNT(*) FROM "users" -  (0.1ms) SELECT COUNT(*) FROM "users" -Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms) -Processing by UsersController#index as HTML -  (0.1ms) SELECT COUNT(*) FROM "users" -  (0.1ms) SELECT COUNT(*) FROM "users" -Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms) -  (2.2ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -Processing by UsersController#index as HTML -  (0.1ms) SELECT COUNT(*) FROM "users" -  (0.1ms) SELECT COUNT(*) FROM "users" -Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) -  (1.7ms) DROP TABLE "posts" -  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.0ms) select sqlite_version(*) -  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -Processing by UsersController#index as HTML - Parameters: {"fields"=>{"foo"=>"bar"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML -  (0.1ms) SELECT COUNT(*) FROM "users" -  (0.1ms) SELECT COUNT(*) FROM "users" -Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.3ms) -  (2.1ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.0ms) select sqlite_version(*) -  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -Processing by UsersController#index as HTML - Parameters: {"fields"=>{"foo"=>"bar"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML -  (0.1ms) SELECT COUNT(*) FROM "users" -  (0.1ms) SELECT COUNT(*) FROM "users" -Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) -  (1.7ms) DROP TABLE "posts" -  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.7ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -Processing by UsersController#index as HTML - Parameters: {"fields"=>{"foo"=>"bar"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML -  (0.1ms) SELECT COUNT(*) FROM "users" -  (0.1ms) SELECT COUNT(*) FROM "users" -Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.3ms) -  (1.6ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -Processing by UsersController#index as HTML - Parameters: {"id"=>"1", "fields"=>{"foo"=>"bar"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML - Parameters: {"id"=>"99"} -  (0.1ms) SELECT COUNT(*) FROM "users" -  (0.1ms) SELECT COUNT(*) FROM "users" -Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.3ms) -Processing by UsersController#index as HTML -  (0.1ms) SELECT COUNT(*) FROM "users" -  (0.1ms) SELECT COUNT(*) FROM "users" -Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms) -  (1.8ms) DROP TABLE "posts" -  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.7ms) DROP TABLE "users" -  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -Processing by UsersController#index as HTML - Parameters: {"fields"=>{"foo"=>"bar"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML -  (0.1ms) SELECT COUNT(*) FROM "users" -  (0.1ms) SELECT COUNT(*) FROM "users" -Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.3ms) -  (2.2ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.9ms) DROP TABLE "users" -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -Processing by UsersController#index as HTML - Parameters: {"fields"=>{"foo"=>"bar"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML -  (0.1ms) SELECT COUNT(*) FROM "users" -  (0.1ms) SELECT COUNT(*) FROM "users" -Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) -  (2.1ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -Processing by UsersController#index as HTML - Parameters: {"fields"=>{"foo"=>"bar"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML -  (0.1ms) SELECT COUNT(*) FROM "users" -  (0.1ms) SELECT COUNT(*) FROM "users" -Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) -  (2.2ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.7ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.7ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -Processing by UsersController#index as HTML - Parameters: {"fields"=>{"foo"=>"bar"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML -  (0.3ms) SELECT COUNT(*) FROM "users" -  (0.1ms) SELECT COUNT(*) FROM "users" -Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.6ms) -  (1.6ms) DROP TABLE "posts" -  (0.7ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.0ms) select sqlite_version(*) -  (0.6ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.6ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -Processing by UsersController#index as HTML - Parameters: {"fields"=>{"foo"=>"bar"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML -  (0.1ms) SELECT COUNT(*) FROM "users" -  (0.1ms) SELECT COUNT(*) FROM "users" -Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) -  (2.0ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.7ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -Processing by UsersController#index as HTML - Parameters: {"fields"=>{"foo"=>"bar"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML -  (0.1ms) SELECT COUNT(*) FROM "users" -  (0.1ms) SELECT COUNT(*) FROM "users" -Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) -  (2.1ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.0ms) select sqlite_version(*) -  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.7ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -Processing by UsersController#index as HTML - Parameters: {"fields"=>{"foo"=>"bar"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML -  (0.1ms) SELECT COUNT(*) FROM "users" -  (0.1ms) SELECT COUNT(*) FROM "users" -Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.4ms) -  (2.2ms) DROP TABLE "posts" -  (1.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.7ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.9ms) DROP TABLE "users" -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -Processing by UsersController#index as HTML - Parameters: {"fields"=>{"foo"=>"bar"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML -  (0.1ms) SELECT COUNT(*) FROM "users" -  (0.1ms) SELECT COUNT(*) FROM "users" -Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) -  (3.8ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -Processing by UsersController#index as HTML - Parameters: {"fields"=>{"users"=>"bar"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML -  (0.1ms) SELECT COUNT(*) FROM "users" -  (0.1ms) SELECT COUNT(*) FROM "users" -Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.4ms) -  (2.0ms) DROP TABLE "posts" -  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.7ms) DROP TABLE "users" -  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -Processing by UsersController#index as HTML - Parameters: {"fields"=>{"foo"=>"name"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML -  (0.1ms) SELECT COUNT(*) FROM "users" -  (0.1ms) SELECT COUNT(*) FROM "users" -Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) -  (1.7ms) DROP TABLE "posts" -  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.0ms) select sqlite_version(*) -  (0.7ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.7ms) DROP TABLE "users" -  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -Processing by UsersController#index as HTML - Parameters: {"fields"=>{"foo"=>"name"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML -  (0.1ms) SELECT COUNT(*) FROM "users" -  (0.1ms) SELECT COUNT(*) FROM "users" -Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.3ms) -  (2.1ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.7ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.7ms) DROP TABLE "users" -  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -Processing by UsersController#index as HTML - Parameters: {"fields"=>{"foo"=>"name"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML - Parameters: {"fields"=>{"users"=>"foo"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML -  (0.1ms) SELECT COUNT(*) FROM "users" -  (0.1ms) SELECT COUNT(*) FROM "users" -Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) -  (1.7ms) DROP TABLE "posts" -  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.0ms) select sqlite_version(*) -  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -Processing by UsersController#index as HTML - Parameters: {"fields"=>{"foo"=>"name"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML - Parameters: {"fields"=>{"users"=>"foo"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML -  (0.1ms) SELECT COUNT(*) FROM "users" -  (0.1ms) SELECT COUNT(*) FROM "users" -Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.3ms) -  (2.3ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.0ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.9ms) DROP TABLE "users" -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -Processing by UsersController#index as HTML - Parameters: {"fields"=>{"foo"=>"name"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML - Parameters: {"fields"=>{"users"=>"foo"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML - Parameters: {"fields"=>{"users"=>"foo"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML -  (0.1ms) SELECT COUNT(*) FROM "users" -  (0.1ms) SELECT COUNT(*) FROM "users" -Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) -  (2.1ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -Processing by UsersController#index as HTML - Parameters: {"fields"=>{"foo"=>"name"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML - Parameters: {"fields"=>{"users"=>"foo"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML - Parameters: {"filter"=>{"foo"=>"bar"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML -  (0.1ms) SELECT COUNT(*) FROM "users" -  (0.1ms) SELECT COUNT(*) FROM "users" -Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) -  (2.1ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.0ms) select sqlite_version(*) -  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (2.2ms) DROP TABLE "users" -  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -Processing by UsersController#index as HTML - Parameters: {"fields"=>{"foo"=>"name"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML - Parameters: {"fields"=>{"users"=>"foo"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML - Parameters: {"filter"=>{"foo"=>"bar"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML -  (0.1ms) SELECT COUNT(*) FROM "users" -  (0.1ms) SELECT COUNT(*) FROM "users" -Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) -  (2.0ms) DROP TABLE "posts" -  (1.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.0ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -Processing by UsersController#index as HTML - Parameters: {"fields"=>{"foo"=>"name"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML - Parameters: {"fields"=>{"users"=>"foo"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML - Parameters: {"include"=>"foo"} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML -  (0.1ms) SELECT COUNT(*) FROM "users" -  (0.1ms) SELECT COUNT(*) FROM "users" -Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.3ms) -  (2.1ms) DROP TABLE "posts" -  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.0ms) select sqlite_version(*) -  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.8ms) DROP TABLE "users" -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -Processing by UsersController#index as HTML - Parameters: {"fields"=>{"foo"=>"name"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML - Parameters: {"fields"=>{"users"=>"foo"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML - Parameters: {"include"=>"foo"} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML - Parameters: {"include"=>"foo"} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML -  (0.1ms) SELECT COUNT(*) FROM "users" -  (0.1ms) SELECT COUNT(*) FROM "users" -Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.4ms) -  (2.0ms) DROP TABLE "posts" -  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.0ms) select sqlite_version(*) -  (0.8ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id") -  (0.7ms) DROP TABLE "users" -  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -Processing by UsersController#index as HTML - Parameters: {"fields"=>{"foo"=>"name"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML - Parameters: {"fields"=>{"users"=>"foo"}} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML - Parameters: {"include"=>"foo"} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML - Parameters: {"sort"=>"foo"} -Filter chain halted as :setup_request rendered or redirected -Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) -Processing by UsersController#index as HTML -  (0.1ms) SELECT COUNT(*) FROM "users" -  (0.1ms) SELECT COUNT(*) FROM "users" -Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.3ms) diff --git a/spec/test_db b/spec/test_db deleted file mode 100644 index 838d480219daa712e8f2b071a1316b3fcce28902..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 20480 zcmeI%J#W)M7{GBmBve95Qzoycn;NyK0|R0z0Zbc_IwiOgnJhQHf>C0(_5~F&nQy^| zW94&jc7l{t&5}^5mHv@z-;1BzbH6(emOp;z#afArG@FE4Jhyf%+qPZ_VOjREWmye# z%zstA{;y`P_Ck3@(ZoFa(`dF1ta|g%+Wy@z*rQ)h5NRj3X(!p6?#H193X&o^%F7 z@!lPZ&Y9oudM4<^^?c#=&2iT2?F*^n!YkZ6A4HFp6yL&Z^d-#9sOM?)T?(zPwW&;V zl?7$uaiY~{RrZfE6>1d)p_U>tB^^)HV%F2kvUNp&yErb6W;04FwsL^HIyIKrsM(RfO(bD8@bnce9?wiQA z*^6KAdQZ)kJ1X97IWHZ%Xv9gRuB%f}ZPg%6g88yn_4+*ZuJ_jcB;@UPO40Wgw)#9? zwwvYCwX^0UMi>GJAb