Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (2.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121119074223)  (0.0ms) select sqlite_version(*)  (0.0ms) begin transaction  (0.5ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "teaser" varchar(255), "content" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121119074223')  (1.7ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Started GET "/posts.json" for 127.0.0.1 at 2012-11-19 23:18:16 +1100 Connecting to database specified by database.yml Processing by PostsController#index as JSON Post Load (44.0ms) SELECT "posts".* FROM "posts"  Completed 400 Bad Request in 153ms (Views: 0.5ms | ActiveRecord: 50.9ms) Started GET "/posts.json" for 127.0.0.1 at 2012-11-19 23:19:03 +1100 Processing by PostsController#index as JSON Post Load (0.4ms) SELECT "posts".* FROM "posts" Completed 400 Bad Request in 39ms (Views: 0.6ms | ActiveRecord: 1.9ms) Started GET "/posts.json" for 127.0.0.1 at 2012-11-19 23:19:17 +1100 Connecting to database specified by database.yml Processing by PostsController#index as JSON Post Load (0.4ms) SELECT "posts".* FROM "posts"  Completed 500 Internal Server Error in 105ms NameError (uninitialized constant Api::PostsApi::Jbuilder): app/models/api/posts_api.rb:21:in `v1_1' app/controllers/posts_controller.rb:8:in `block (2 levels) in index' app/controllers/posts_controller.rb:7:in `index' Rendered /Users/craig/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (6.9ms) Rendered /Users/craig/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (4.7ms) Rendered /Users/craig/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (51.8ms) Started GET "/posts.json" for 127.0.0.1 at 2012-11-19 23:23:06 +1100 Connecting to database specified by database.yml Processing by PostsController#index as JSON Post Load (0.4ms) SELECT "posts".* FROM "posts"  Completed 200 OK in 277ms (Views: 0.5ms | ActiveRecord: 7.7ms)