Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (169.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (115.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreateUsers (20130622120853)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "single" boolean, "dob" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130622120853')  (140.1ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-06-22 18:13:30 +0600 ActionController::RoutingError (No route matches [GET] "/"): actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' rack (1.4.5) lib/rack/runtime.rb:17:in `call' activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.5) lib/rack/lock.rb:15:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call' railties (3.2.13) lib/rails/engine.rb:479:in `call' railties (3.2.13) lib/rails/application.rb:223:in `call' rack (1.4.5) lib/rack/content_length.rb:14:in `call' railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (3.7ms) Started GET "/users" for 127.0.0.1 at 2013-06-22 18:13:34 +0600 Processing by UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users"  Rendered users/index.html.erb within layouts/application (0.9ms) Compiled scaffold.css (0ms) (pid 28778) Compiled users.css (0ms) (pid 28778) Compiled application.css (10ms) (pid 28778) Compiled jquery.js (1ms) (pid 28778) Compiled jquery_ujs.js (0ms) (pid 28778) Compiled users.js (0ms) (pid 28778) Compiled application.js (122ms) (pid 28778) Completed 200 OK in 208ms (Views: 178.8ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 18:13:35 +0600 Served asset /application.css - 200 OK (3ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 18:13:35 +0600 Served asset /users.css - 200 OK (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 18:13:35 +0600 Served asset /users.js - 200 OK (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 18:13:35 +0600 Served asset /application.js - 200 OK (9ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 18:13:35 +0600 Served asset /scaffold.css - 200 OK (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 18:13:35 +0600 Served asset /jquery.js - 200 OK (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 18:13:35 +0600 Served asset /jquery_ujs.js - 200 OK (1ms) Started GET "/users/new" for 127.0.0.1 at 2013-06-22 18:13:37 +0600 Processing by UsersController#new as HTML Rendered users/_form.html.erb (8.1ms) Rendered users/new.html.erb within layouts/application (10.9ms) Completed 200 OK in 34ms (Views: 13.6ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2013-06-22 18:13:50 +0600 Processing by UsersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"hXyw3G3Nc8ol8hG2c6EJo4cdLZ4owOWlPLLyrDsPUJs=", "user"=>{"name"=>"ashraf", "email"=>"ashraf@gmail.com", "single"=>"0", "dob(1i)"=>"2013", "dob(2i)"=>"6", "dob(3i)"=>"22"}, "commit"=>"Create User"}  (0.1ms) begin transaction SQL (6.8ms) INSERT INTO "users" ("created_at", "dob", "email", "name", "single", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sat, 22 Jun 2013 12:13:50 UTC +00:00], ["dob", Sat, 22 Jun 2013], ["email", "ashraf@gmail.com"], ["name", "ashraf"], ["single", false], ["updated_at", Sat, 22 Jun 2013 12:13:50 UTC +00:00]]  (156.8ms) commit transaction Redirected to http://localhost:3000/users/1 Completed 302 Found in 173ms (ActiveRecord: 163.6ms) Started GET "/users/1" for 127.0.0.1 at 2013-06-22 18:13:50 +0600 Processing by UsersController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] Rendered users/show.html.erb within layouts/application (1.3ms) Completed 200 OK in 8ms (Views: 4.8ms | ActiveRecord: 0.2ms) Started GET "/users" for 127.0.0.1 at 2013-06-22 18:13:52 +0600 Processing by UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" Rendered users/index.html.erb within layouts/application (1.0ms) Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.2ms) Started GET "/users" for 127.0.0.1 at 2013-06-22 18:14:49 +0600 Processing by UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users"  Rendered users/index.html.erb within layouts/application (1.5ms) Completed 200 OK in 12ms (Views: 4.6ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 18:14:49 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 18:14:49 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 18:14:49 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 18:14:49 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 18:14:49 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 18:14:49 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 18:14:49 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/users" for 127.0.0.1 at 2013-06-22 18:15:42 +0600 Processing by UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" Completed 500 Internal Server Error in 10ms NoMethodError (undefined method `model_class' for #): app/controllers/users_controller.rb:11:in `block in index' app/controllers/users_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.0ms) Connecting to database specified by database.yml Connecting to database specified by database.yml Started GET "/users" for 127.0.0.1 at 2013-06-22 18:17:51 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (18.7ms) Completed 500 Internal Server Error in 67ms ActionView::Template::Error (undefined method `search' for nil:NilClass): 1: <%= search_form_for @record.search, :url => url_for, :html => {:method => :get, :class => 'form-inline'} do |f| %> 2: <% @record.filters.each do |filter| %> 3: <% if filter.class.supported_types.include?(filter.type) %> 4: <% filter.comparators.each do |key, hint| %> app/controllers/users_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.2ms) Started GET "/users" for 127.0.0.1 at 2013-06-22 18:24:30 +0600 Processing by UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (33.0ms) Completed 500 Internal Server Error in 35ms ActionView::Template::Error (undefined local variable or method `link_to_download_report_pdf' for #<#:0x007f3aa015a1f8>): 18: <%# end %> 19: 20:
21: <%= link_to_download_report_pdf %> 22: <%= link_to_download_report_csv %> 23:
24:
app/controllers/users_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.6ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.5ms) Started GET "/users" for 127.0.0.1 at 2013-06-22 18:24:38 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (1.7ms) Completed 500 Internal Server Error in 3ms ActionView::Template::Error (undefined method `filtered_query' for nil:NilClass): 37:
38:
39: 40: <% if @record.filtered_query.count > 0 %> 41: 42: 43: <% @record.columns.each do |column| %> app/controllers/users_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.3ms) Started GET "/users" for 127.0.0.1 at 2013-06-22 18:26:18 +0600 Processing by UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (3.2ms) Completed 500 Internal Server Error in 5ms ActionView::Template::Error (undefined method `search' for #): 37:
38:
39: 40: <% if @report.filtered_query.count > 0 %> 41:
42: 43: <% @report.columns.each do |column| %> app/controllers/users_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.7ms) Connecting to database specified by database.yml Started GET "/users" for 127.0.0.1 at 2013-06-22 18:26:33 +0600 Processing by UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (25.7ms) Completed 500 Internal Server Error in 87ms ActionView::Template::Error (undefined method `search' for #): 37:
38:
39: 40: <% if @report.filtered_query.count > 0 %> 41:
42: 43: <% @report.columns.each do |column| %> app/controllers/users_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.9ms) Started GET "/users" for 127.0.0.1 at 2013-06-22 18:27:14 +0600 Processing by UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (2.1ms) Completed 500 Internal Server Error in 4ms ActionView::Template::Error (undefined method `search' for #): 37:
38:
39: 40: <% if @report.filtered_query.count > 0 %> 41:
42: 43: <% @report.columns.each do |column| %> app/controllers/users_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.4ms) Connecting to database specified by database.yml Started GET "/users" for 127.0.0.1 at 2013-06-22 18:27:21 +0600 Processing by UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (25.5ms) Completed 500 Internal Server Error in 75ms ActionView::Template::Error (undefined method `search' for #): 37:
38:
39: 40: <% if @report.filtered_query.count > 0 %> 41:
42: 43: <% @report.columns.each do |column| %> app/controllers/users_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.6ms) Started GET "/users" for 127.0.0.1 at 2013-06-22 18:27:23 +0600 Processing by UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (2.5ms) Completed 500 Internal Server Error in 21ms ActionView::Template::Error (undefined method `search' for #): 37:
38:
39: 40: <% if @report.filtered_query.count > 0 %> 41:
42: 43: <% @report.columns.each do |column| %> app/controllers/users_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.9ms) Connecting to database specified by database.yml Started GET "/users" for 127.0.0.1 at 2013-06-22 18:28:51 +0600 Processing by UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (12.2ms) Completed 500 Internal Server Error in 76ms ActionView::Template::Error (undefined method `search' for #): 37:
38:
39: 40: <% if @report.filtered_query.count > 0 %> 41:
42: 43: <% @report.columns.each do |column| %> app/controllers/users_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (19.3ms) Connecting to database specified by database.yml Started GET "/users" for 127.0.0.1 at 2013-06-22 18:29:20 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (24.4ms) Completed 500 Internal Server Error in 86ms ActionView::Template::Error (uninitialized constant QueryReport::PaginateModule::Kaminari): 37:
38:
39: 40: <% if @report.filtered_query.count > 0 %> 41:
42: 43: <% @report.columns.each do |column| %> app/controllers/users_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.8ms) Started GET "/users" for 127.0.0.1 at 2013-06-22 18:29:31 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (5.3ms) Completed 500 Internal Server Error in 7ms ActionView::Template::Error (uninitialized constant QueryReport::PaginateModule::Kaminari): 37:
38:
39: 40: <% if @report.filtered_query.count > 0 %> 41:
42: 43: <% @report.columns.each do |column| %> app/controllers/users_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.0ms) Connecting to database specified by database.yml Started GET "/users" for 127.0.0.1 at 2013-06-22 18:29:42 +0600 Processing by UsersController#index as HTML  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "users" LIMIT 25 OFFSET 0) subquery_for_count  User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (46.6ms) Completed 500 Internal Server Error in 111ms ActionView::Template::Error (undefined local variable or method `column' for #): 46: 47: 48: 49: <% @report.records.each do |record| %> 50: 51: <% @report.columns.each do |column| %> 52: app/controllers/users_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.6ms) Started GET "/users" for 127.0.0.1 at 2013-06-22 18:30:43 +0600 Processing by UsersController#index as HTML  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "users" LIMIT 25 OFFSET 0) subquery_for_count User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (27.2ms) Completed 500 Internal Server Error in 29ms ActionView::Template::Error (undefined local variable or method `column' for #): 46: 47: 48: 49: <% @report.records.each do |record| %> 50: 51: <% @report.columns.each do |column| %> 52: app/controllers/users_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.8ms) Connecting to database specified by database.yml Started GET "/users" for 127.0.0.1 at 2013-06-22 18:30:49 +0600 Processing by UsersController#index as HTML  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "users" LIMIT 25 OFFSET 0) subquery_for_count  User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (37.3ms) Completed 500 Internal Server Error in 102ms ActionView::Template::Error (undefined method `email' for {"Email"=>"ashraf@gmail.com"}:Hash): 49: <% @report.records.each do |record| %> 50: 51: <% @report.columns.each do |column| %> 52: 53: <% end %> 54: 55: <% end %> app/controllers/users_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.9ms) Connecting to database specified by database.yml Started GET "/users" for 127.0.0.1 at 2013-06-22 18:35:15 +0600 Processing by UsersController#index as HTML  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "users" LIMIT 25 OFFSET 0) subquery_for_count  User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (36.6ms) Completed 500 Internal Server Error in 99ms ActionView::Template::Error (undefined method `email' for {"Email"=>"ashraf@gmail.com"}:Hash): 49: <% @report.records.each do |record| %> 50: 51: <% @report.columns.each do |column| %> 52: 53: <% end %> 54: 55: <% end %> app/controllers/users_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.7ms) Connecting to database specified by database.yml Started GET "/users" for 127.0.0.1 at 2013-06-22 18:35:59 +0600 Processing by UsersController#index as HTML  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "users" LIMIT 25 OFFSET 0) subquery_for_count  User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (38.6ms) Completed 500 Internal Server Error in 102ms ActionView::Template::Error (undefined method `current_page' for #): 59:

No record found

60: <% end %> 61: 62: <%= paginate @report.query if @report.paginate? %> app/controllers/users_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.8ms) Started GET "/users" for 127.0.0.1 at 2013-06-22 18:36:08 +0600 Processing by UsersController#index as HTML  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "users" LIMIT 25 OFFSET 0) subquery_for_count User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (5.1ms) Completed 200 OK in 17ms (Views: 16.4ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 18:36:08 +0600 Served asset /application.css - 304 Not Modified (8ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 18:36:08 +0600 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 18:36:08 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 18:36:08 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 18:36:08 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 18:36:08 +0600 Served asset /users.js - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 18:36:08 +0600 Served asset /application.js - 304 Not Modified (21ms) Connecting to database specified by database.yml Started GET "/users" for 127.0.0.1 at 2013-06-22 18:37:11 +0600 Processing by UsersController#index as HTML  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "users" LIMIT 25 OFFSET 0) subquery_for_count  User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (40.5ms) Completed 200 OK in 98ms (Views: 53.3ms | ActiveRecord: 1.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 18:37:11 +0600 Served asset /application.css - 304 Not Modified (10ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 18:37:11 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 18:37:11 +0600 Served asset /users.js - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 18:37:11 +0600 Served asset /jquery.js - 304 Not Modified (22ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 18:37:11 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 18:37:11 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 18:37:11 +0600 Served asset /application.js - 304 Not Modified (4ms) Started GET "/users" for 127.0.0.1 at 2013-06-22 18:37:39 +0600 Processing by UsersController#index as HTML  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "users" LIMIT 25 OFFSET 0) subquery_for_count  User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (5.2ms) Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 18:37:39 +0600 Served asset /application.css - 304 Not Modified (2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 18:37:39 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 18:37:39 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 18:37:39 +0600 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 18:37:39 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 18:37:39 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 18:37:39 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/users" for 127.0.0.1 at 2013-06-22 18:37:51 +0600 Processing by UsersController#index as HTML  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "users" LIMIT 25 OFFSET 0) subquery_for_count  User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.1ms) Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 18:37:51 +0600 Served asset /application.css - 304 Not Modified (4ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 18:37:51 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 18:37:51 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 18:37:51 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 18:37:51 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 18:37:51 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 18:37:51 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users" for 127.0.0.1 at 2013-06-22 18:38:23 +0600 Processing by UsersController#index as HTML  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "users" LIMIT 25 OFFSET 0) subquery_for_count  User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (4.6ms) Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 18:38:23 +0600 Served asset /application.css - 304 Not Modified (3ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 18:38:23 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 18:38:23 +0600 Served asset /jquery.js - 304 Not Modified (6ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 18:38:23 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 18:38:23 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 18:38:23 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 18:38:23 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users" for 127.0.0.1 at 2013-06-22 18:38:39 +0600 Processing by UsersController#index as HTML  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "users" LIMIT 25 OFFSET 0) subquery_for_count  User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (5.3ms) Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 18:38:39 +0600 Served asset /application.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 18:38:39 +0600 Served asset /jquery.js - 200 OK (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 18:38:39 +0600 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 18:38:39 +0600 Served asset /users.js - 200 OK (3ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 18:38:39 +0600 Served asset /scaffold.css - 200 OK (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 18:38:39 +0600 Served asset /users.css - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 18:38:39 +0600 Served asset /application.js - 200 OK (1ms) Started GET "/users" for 127.0.0.1 at 2013-06-22 18:39:07 +0600 Processing by UsersController#index as HTML  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "users" LIMIT 25 OFFSET 0) subquery_for_count  User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (5.2ms) Completed 200 OK in 10ms (Views: 9.7ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 18:39:07 +0600 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 18:39:07 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 18:39:07 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 18:39:07 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 18:39:07 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 18:39:07 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 18:39:07 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/users" for 127.0.0.1 at 2013-06-22 18:39:42 +0600 Processing by UsersController#index as HTML  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "users" LIMIT 25 OFFSET 0) subquery_for_count  User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (5.3ms) Completed 200 OK in 11ms (Views: 9.9ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 18:39:42 +0600 Served asset /application.css - 200 OK (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 18:39:42 +0600 Served asset /scaffold.css - 200 OK (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 18:39:42 +0600 Served asset /users.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 18:39:42 +0600 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 18:39:42 +0600 Served asset /users.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 18:39:42 +0600 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 18:39:42 +0600 Served asset /application.js - 200 OK (0ms) Connecting to database specified by database.yml Started GET "/users" for 127.0.0.1 at 2013-06-22 18:39:54 +0600 Processing by UsersController#index as HTML  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "users" LIMIT 25 OFFSET 0) subquery_for_count  User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (32.8ms) Completed 200 OK in 91ms (Views: 45.8ms | ActiveRecord: 1.6ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 18:39:54 +0600 Served asset /jquery.js - 304 Not Modified (33ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 18:39:54 +0600 Served asset /scaffold.css - 304 Not Modified (2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 18:39:54 +0600 Served asset /application.css - 304 Not Modified (9ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 18:39:54 +0600 Served asset /jquery_ujs.js - 304 Not Modified (6ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 18:39:54 +0600 Served asset /users.css - 304 Not Modified (2ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 18:39:54 +0600 Served asset /users.js - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 18:39:54 +0600 Served asset /application.js - 304 Not Modified (5ms) Started GET "/users" for 127.0.0.1 at 2013-06-22 18:39:58 +0600 Processing by UsersController#index as HTML  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "users" LIMIT 25 OFFSET 0) subquery_for_count  User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (4.5ms) Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 18:39:58 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 18:39:58 +0600 Served asset /application.css - 304 Not Modified (3ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 18:39:58 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 18:39:58 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 18:39:58 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 18:39:58 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 18:39:58 +0600 Served asset /application.js - 304 Not Modified (0ms) Connecting to database specified by database.yml Started GET "/users" for 127.0.0.1 at 2013-06-22 18:42:54 +0600 ActionController::RoutingError (uninitialized constant QueryReport::Record): app/controllers/users_controller.rb:1:in `' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.2ms) Connecting to database specified by database.yml Started GET "/users" for 127.0.0.1 at 2013-06-22 18:43:19 +0600 Processing by UsersController#index as HTML  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "users" LIMIT 25 OFFSET 0) subquery_for_count  User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (33.3ms) Completed 200 OK in 91ms (Views: 46.3ms | ActiveRecord: 1.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 18:43:19 +0600 Served asset /application.css - 200 OK (8ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 18:43:19 +0600 Served asset /users.css - 200 OK (5ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 18:43:19 +0600 Served asset /jquery.js - 200 OK (6ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 18:43:19 +0600 Served asset /scaffold.css - 200 OK (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 18:43:19 +0600 Served asset /users.js - 200 OK (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 18:43:19 +0600 Served asset /jquery_ujs.js - 200 OK (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 18:43:19 +0600 Served asset /application.js - 200 OK (9ms) Connecting to database specified by database.yml Started GET "/users" for 127.0.0.1 at 2013-06-22 18:48:03 +0600 Processing by UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (31.5ms) Completed 200 OK in 90ms (Views: 44.3ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 18:48:03 +0600 Served asset /application.css - 200 OK (26ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 18:48:03 +0600 Served asset /scaffold.css - 200 OK (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 18:48:03 +0600 Served asset /jquery_ujs.js - 200 OK (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 18:48:03 +0600 Served asset /users.css - 200 OK (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 18:48:03 +0600 Served asset /jquery.js - 200 OK (2ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 18:48:03 +0600 Served asset /users.js - 200 OK (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 18:48:03 +0600 Served asset /application.js - 200 OK (5ms) Started GET "/users" for 127.0.0.1 at 2013-06-22 18:48:10 +0600 Processing by UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (22.9ms) Completed 200 OK in 28ms (Views: 27.6ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 18:48:10 +0600 Served asset /application.css - 304 Not Modified (5ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 18:48:10 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 18:48:10 +0600 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 18:48:10 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 18:48:10 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 18:48:10 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 18:48:10 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/front_desk?lan=en" for 127.0.0.1 at 2013-06-22 19:12:13 +0600 ActionController::RoutingError (No route matches [GET] "/front_desk"): actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' rack (1.4.5) lib/rack/runtime.rb:17:in `call' activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.5) lib/rack/lock.rb:15:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call' railties (3.2.13) lib/rails/engine.rb:479:in `call' railties (3.2.13) lib/rails/application.rb:223:in `call' rack (1.4.5) lib/rack/content_length.rb:14:in `call' railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms) Started GET "/users" for 127.0.0.1 at 2013-06-22 19:12:14 +0600 Processing by UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.3ms) Completed 200 OK in 13ms (Views: 11.6ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 19:12:14 +0600 Served asset /application.css - 304 Not Modified (4ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 19:12:14 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 19:12:14 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 19:12:14 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 19:12:14 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 19:12:14 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 19:12:14 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users" for 127.0.0.1 at 2013-06-22 19:14:24 +0600 Processing by UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (9.3ms) Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.5ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 19:14:24 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 19:14:24 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 19:14:24 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 19:14:24 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 19:14:24 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 19:14:24 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 19:14:24 +0600 Served asset /application.js - 304 Not Modified (0ms) Connecting to database specified by database.yml Started GET "/users" for 127.0.0.1 at 2013-06-22 19:27:12 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_custom_filters.html.erb (13.8ms) User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (32.2ms) Completed 200 OK in 109ms (Views: 59.1ms | ActiveRecord: 1.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 19:27:13 +0600 Served asset /application.css - 304 Not Modified (15ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 19:27:13 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 19:27:13 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 19:27:13 +0600 Served asset /jquery_ujs.js - 304 Not Modified (3ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 19:27:13 +0600 Served asset /users.js - 304 Not Modified (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 19:27:13 +0600 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 19:27:13 +0600 Served asset /application.js - 304 Not Modified (6ms) Started GET "/users" for 127.0.0.1 at 2013-06-22 19:27:58 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.7ms) Completed 500 Internal Server Error in 10ms ActionView::Template::Error (undefined method `date?' for #): 3: <% if filter.class.supported_types.include?(filter.type) %> 4: <% filter.comparators.each do |key, hint| %> 5: <% search_key = "#{filter.column}_#{key}" %> 6: <% if filter.date? %> 7: <%= f.date_field search_key, :placeholder => hint %> 8: <% elsif filter.text? %> 9: <%= f.text_field search_key, placeholder: hint %> app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.8ms) Connecting to database specified by database.yml Started GET "/users" for 127.0.0.1 at 2013-06-22 19:29:38 +0600 Processing by UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (33.6ms) Completed 200 OK in 96ms (Views: 46.5ms | ActiveRecord: 1.5ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 19:29:38 +0600 Served asset /scaffold.css - 304 Not Modified (5ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 19:29:38 +0600 Served asset /users.css - 304 Not Modified (3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 19:29:38 +0600 Served asset /application.css - 304 Not Modified (6ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 19:29:38 +0600 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 19:29:38 +0600 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 19:29:38 +0600 Served asset /users.js - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 19:29:38 +0600 Served asset /application.js - 304 Not Modified (3ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=as&commit=Search" for 127.0.0.1 at 2013-06-22 19:29:44 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"as"}, "commit"=>"Search"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%as%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%as%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (24.3ms) Completed 200 OK in 30ms (Views: 28.4ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 19:29:44 +0600 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 19:29:44 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 19:29:44 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 19:29:44 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 19:29:44 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 19:29:44 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 19:29:44 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=asd&commit=Search" for 127.0.0.1 at 2013-06-22 19:29:47 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"asd"}, "commit"=>"Search"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%asd%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%asd%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (13.3ms) Completed 200 OK in 19ms (Views: 18.0ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 19:29:47 +0600 Served asset /application.css - 304 Not Modified (6ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 19:29:47 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 19:29:47 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 19:29:47 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 19:29:47 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 19:29:47 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 19:29:47 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=as&commit=Search" for 127.0.0.1 at 2013-06-22 19:29:51 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"as"}, "commit"=>"Search"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%as%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%as%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (10.6ms) Completed 200 OK in 17ms (Views: 15.7ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 19:29:51 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 19:29:51 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 19:29:51 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 19:29:51 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 19:29:51 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 19:29:51 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 19:29:51 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=as&commit=Search" for 127.0.0.1 at 2013-06-22 19:33:14 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"as"}, "commit"=>"Search"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%as%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%as%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (7.7ms) Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 19:33:15 +0600 Served asset /jquery.js - 304 Not Modified (5ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 19:33:15 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 19:33:15 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 19:33:15 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 19:33:15 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 19:33:15 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 19:33:15 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=as&commit=Search" for 127.0.0.1 at 2013-06-22 19:38:33 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"as"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.2ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%as%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%as%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (10.3ms) Completed 200 OK in 16ms (Views: 15.3ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 19:38:33 +0600 Served asset /application.css - 304 Not Modified (6ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 19:38:33 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 19:38:33 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 19:38:33 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 19:38:33 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 19:38:33 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 19:38:33 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=as&commit=Search" for 127.0.0.1 at 2013-06-22 19:38:38 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"as"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (3.3ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%as%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%as%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (8.9ms) Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 19:38:38 +0600 Served asset /scaffold.css - 304 Not Modified (23ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 19:38:38 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 19:38:38 +0600 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 19:38:38 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 19:38:38 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 19:38:38 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 19:38:38 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=as&commit=Search" for 127.0.0.1 at 2013-06-22 19:38:43 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"as"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.2ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%as%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%as%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (9.8ms) Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 19:38:43 +0600 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 19:38:43 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 19:38:43 +0600 Served asset /users.js - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 19:38:43 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 19:38:43 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 19:38:43 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 19:38:43 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=as&commit=Search" for 127.0.0.1 at 2013-06-22 19:39:59 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"as"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (22.5ms) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (23.1ms) Completed 500 Internal Server Error in 26ms ActionView::Template::Error (undefined method `keys' for #): 1: <%= search_form_for report.search, :url => url_for, :html => {:method => :get, :class => 'form-inline'} do |f| %> 2: <% report.filters.each do |filter| %> 3: <% if filter.class.supported_types.include?(filter.type) %> 4: <% filter.comparators.each do |key, hint| %> app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.1ms) Started GET "/users" for 127.0.0.1 at 2013-06-22 19:40:27 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.8ms) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (2.5ms) Completed 500 Internal Server Error in 7ms ActionView::Template::Error (undefined method `keys' for #): 1: <%= search_form_for report.search, :url => url_for, :html => {:method => :get, :class => 'form-inline'} do |f| %> 2: <% report.filters.each do |filter| %> 3: <% if filter.class.supported_types.include?(filter.type) %> 4: <% filter.comparators.each do |key, hint| %> app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.0ms) Connecting to database specified by database.yml Started GET "/users" for 127.0.0.1 at 2013-06-22 19:41:12 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (19.9ms) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (24.6ms) Completed 500 Internal Server Error in 94ms ActionView::Template::Error (undefined method `keys' for #): 1: <%= search_form_for report.search, :url => url_for, :html => {:method => :get, :class => 'form-inline'} do |f| %> 2: <% report.filters.each do |filter| %> 3: <% if filter.class.supported_types.include?(filter.type) %> 4: <% filter.comparators.each do |key, hint| %> app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.7ms) Connecting to database specified by database.yml Started GET "/users" for 127.0.0.1 at 2013-06-22 19:42:12 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (6.5ms) User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (34.7ms) Completed 200 OK in 113ms (Views: 64.0ms | ActiveRecord: 1.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 19:42:12 +0600 Served asset /application.css - 304 Not Modified (7ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 19:42:12 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 19:42:12 +0600 Served asset /users.css - 304 Not Modified (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 19:42:12 +0600 Served asset /jquery.js - 304 Not Modified (5ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 19:42:12 +0600 Served asset /jquery_ujs.js - 304 Not Modified (4ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 19:42:12 +0600 Served asset /users.js - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 19:42:12 +0600 Served asset /application.js - 304 Not Modified (5ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=ashraf&q%5Bname_cont%5D=&commit=Search" for 127.0.0.1 at 2013-06-22 19:42:22 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"ashraf", "name_cont"=>""}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (6.5ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%ashraf%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%ashraf%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (11.9ms) Completed 200 OK in 18ms (Views: 16.8ms | ActiveRecord: 0.2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 19:42:22 +0600 Served asset /users.css - 304 Not Modified (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 19:42:22 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 19:42:22 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 19:42:22 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 19:42:22 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 19:42:22 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 19:42:22 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=&q%5Bname_cont%5D=a&commit=Search" for 127.0.0.1 at 2013-06-22 19:42:27 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"", "name_cont"=>"a"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (10.3ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."name" LIKE '%a%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."name" LIKE '%a%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (16.0ms) Completed 200 OK in 22ms (Views: 21.0ms | ActiveRecord: 0.2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 19:42:27 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 19:42:27 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 19:42:27 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 19:42:27 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 19:42:27 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 19:42:27 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 19:42:27 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=&q%5Bname_cont%5D=e&commit=Search" for 127.0.0.1 at 2013-06-22 19:42:43 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"", "name_cont"=>"e"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (23.5ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."name" LIKE '%e%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."name" LIKE '%e%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (27.8ms) Completed 200 OK in 32ms (Views: 31.1ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 19:42:43 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 19:42:43 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 19:42:43 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 19:42:43 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 19:42:43 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 19:42:43 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 19:42:43 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=&q%5Bname_cont%5D=e&commit=Search" for 127.0.0.1 at 2013-06-22 19:43:44 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"", "name_cont"=>"e"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_custom_filters.html.erb (0.4ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (5.7ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."name" LIKE '%e%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."name" LIKE '%e%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (9.8ms) Completed 200 OK in 14ms (Views: 13.1ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 19:43:44 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 19:43:44 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 19:43:44 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 19:43:44 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 19:43:44 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 19:43:44 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 19:43:44 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=&q%5Bname_cont%5D=e&commit=Search" for 127.0.0.1 at 2013-06-22 19:43:47 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"", "name_cont"=>"e"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_custom_filters.html.erb (0.1ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (5.6ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."name" LIKE '%e%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."name" LIKE '%e%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (9.8ms) Completed 200 OK in 14ms (Views: 13.5ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 19:43:47 +0600 Served asset /application.css - 304 Not Modified (28ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 19:43:47 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 19:43:47 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 19:43:47 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 19:43:47 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 19:43:47 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 19:43:47 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=&q%5Bname_cont%5D=e&commit=Search" for 127.0.0.1 at 2013-06-22 19:44:33 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"", "name_cont"=>"e"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_custom_filters.html.erb (0.1ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (5.8ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."name" LIKE '%e%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."name" LIKE '%e%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (10.3ms) Completed 200 OK in 15ms (Views: 14.3ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 19:44:33 +0600 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 19:44:33 +0600 Served asset /users.css - 304 Not Modified (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 19:44:33 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 19:44:33 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 19:44:33 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 19:44:33 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 19:44:33 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/users" for 127.0.0.1 at 2013-06-22 19:44:39 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_custom_filters.html.erb (0.1ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.1ms) User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (8.9ms) Completed 200 OK in 14ms (Views: 13.2ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 19:44:39 +0600 Served asset /application.css - 304 Not Modified (4ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 19:44:39 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 19:44:39 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 19:44:39 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 19:44:39 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 19:44:39 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 19:44:39 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users" for 127.0.0.1 at 2013-06-22 19:50:29 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.1ms) User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.5ms) Completed 200 OK in 10ms (Views: 9.8ms | ActiveRecord: 0.2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 19:50:29 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 19:50:29 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 19:50:29 +0600 Served asset /users.js - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 19:50:29 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 19:50:29 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 19:50:29 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 19:50:29 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/users" for 127.0.0.1 at 2013-06-22 19:50:52 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (3.7ms) User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (8.2ms) Completed 200 OK in 19ms (Views: 16.2ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 19:50:53 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 19:50:53 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 19:50:53 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 19:50:53 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 19:50:53 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 19:50:53 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 19:50:53 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users" for 127.0.0.1 at 2013-06-22 19:51:07 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.6ms) User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (9.7ms) Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 19:51:07 +0600 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 19:51:07 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 19:51:07 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 19:51:07 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 19:51:07 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 19:51:07 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 19:51:07 +0600 Served asset /application.js - 304 Not Modified (20ms) Started GET "/users" for 127.0.0.1 at 2013-06-22 19:52:50 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (3.1ms) User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (7.6ms) Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 19:52:50 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 19:52:50 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 19:52:50 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 19:52:50 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 19:52:50 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 19:52:50 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 19:52:50 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/users" for 127.0.0.1 at 2013-06-22 19:52:58 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (3.1ms) User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (7.4ms) Completed 200 OK in 12ms (Views: 10.8ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 19:52:58 +0600 Served asset /application.css - 304 Not Modified (11ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 19:52:58 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 19:52:58 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 19:52:58 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 19:52:58 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 19:52:58 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 19:52:58 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users" for 127.0.0.1 at 2013-06-22 19:53:20 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.9ms) User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (9.9ms) Completed 200 OK in 16ms (Views: 14.5ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 19:53:20 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 19:53:20 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 19:53:20 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 19:53:20 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 19:53:20 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 19:53:20 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 19:53:20 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/users" for 127.0.0.1 at 2013-06-22 19:54:01 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (3.5ms) User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (8.0ms) Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 19:54:01 +0600 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 19:54:01 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 19:54:01 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 19:54:01 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 19:54:01 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 19:54:01 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 19:54:01 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=a&commit=Search" for 127.0.0.1 at 2013-06-22 19:54:05 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a"}, "custom_search"=>{"name_cont"=>"a"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (3.4ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%a%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (8.1ms) Completed 200 OK in 13ms (Views: 11.7ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 19:54:05 +0600 Served asset /application.css - 304 Not Modified (3ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 19:54:05 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 19:54:05 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 19:54:05 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 19:54:05 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 19:54:05 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 19:54:05 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=a&commit=Search" for 127.0.0.1 at 2013-06-22 19:55:02 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a"}, "custom_search"=>{"name_cont"=>"a"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.2ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%a%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (8.7ms) Completed 200 OK in 13ms (Views: 11.9ms | ActiveRecord: 0.2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 19:55:02 +0600 Served asset /scaffold.css - 304 Not Modified (6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 19:55:02 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 19:55:02 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 19:55:02 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 19:55:02 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 19:55:02 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 19:55:02 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=a&commit=Search" for 127.0.0.1 at 2013-06-22 19:55:20 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a"}, "custom_search"=>{"name_cont"=>"a"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (5.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%a%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (10.3ms) Completed 200 OK in 15ms (Views: 14.0ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 19:59:00 +0600 Served asset /application.css - 304 Not Modified (0ms) Connecting to database specified by database.yml Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=a&commit=Search" for 127.0.0.1 at 2013-06-22 19:59:08 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a"}, "custom_search"=>{"name_cont"=>"a"}, "commit"=>"Search"} User Load (0.1ms) SELECT "users".* FROM "users"  Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (51.5ms) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (55.8ms) Completed 500 Internal Server Error in 124ms ActionView::Template::Error (undefined method `ap' for #): 1: <%= search_form_for report.search, :url => url_for, :html => {:method => :get, :class => 'form-inline'} do |f| %> 2: <% report.filters.each do |filter| %> 3: <% if filter.class.supported_types.include?(filter.type) %> 4: <% filter.comparators.each do |key, hint| %> app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.0ms) Connecting to database specified by database.yml Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=a&commit=Search" for 127.0.0.1 at 2013-06-22 19:59:58 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a"}, "custom_search"=>{"name_cont"=>"a"}, "commit"=>"Search"} comparators :: {:cont=>"translation missing: en.query_report.filters.name.contains"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (20.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%a%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (35.3ms) Completed 200 OK in 114ms (Views: 61.9ms | ActiveRecord: 1.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 19:59:59 +0600 Served asset /application.css - 304 Not Modified (11ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 19:59:59 +0600 Served asset /users.css - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 19:59:59 +0600 Served asset /jquery.js - 304 Not Modified (7ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 19:59:59 +0600 Served asset /jquery_ujs.js - 304 Not Modified (3ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 19:59:59 +0600 Served asset /scaffold.css - 304 Not Modified (2ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 19:59:59 +0600 Served asset /users.js - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 19:59:59 +0600 Served asset /application.js - 304 Not Modified (3ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=a&commit=Search" for 127.0.0.1 at 2013-06-22 20:00:04 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a"}, "custom_search"=>{"name_cont"=>"a"}, "commit"=>"Search"} comparators :: {:cont=>"translation missing: en.query_report.filters.name.contains"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%a%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (9.3ms) Completed 200 OK in 14ms (Views: 13.1ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 20:00:04 +0600 Served asset /application.css - 304 Not Modified (4ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 20:00:04 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 20:00:04 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 20:00:04 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 20:00:04 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 20:00:04 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 20:00:04 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=a&commit=Search" for 127.0.0.1 at 2013-06-22 20:00:05 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a"}, "custom_search"=>{"name_cont"=>"a"}, "commit"=>"Search"} comparators :: {:cont=>"translation missing: en.query_report.filters.name.contains"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%a%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (8.6ms) Completed 200 OK in 15ms (Views: 13.5ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 20:00:05 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 20:00:05 +0600 Served asset /jquery.js - 304 Not Modified (3ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 20:00:05 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 20:00:05 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 20:00:05 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 20:00:05 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 20:00:05 +0600 Served asset /application.js - 304 Not Modified (0ms) Connecting to database specified by database.yml Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=a&commit=Search" for 127.0.0.1 at 2013-06-22 20:37:58 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a"}, "custom_search"=>{"name_cont"=>"a"}, "commit"=>"Search"} comparators :: {:cont=>"translation missing: en.query_report.filters.name.contains"} param :: {"name_cont"=>"a"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (21.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%a%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (36.5ms) Completed 200 OK in 113ms (Views: 63.5ms | ActiveRecord: 1.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-22 20:37:58 +0600 Served asset /application.css - 304 Not Modified (14ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-22 20:37:58 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-22 20:37:58 +0600 Served asset /jquery.js - 304 Not Modified (9ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-22 20:37:58 +0600 Served asset /jquery_ujs.js - 304 Not Modified (3ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-22 20:37:58 +0600 Served asset /users.css - 304 Not Modified (2ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-22 20:37:58 +0600 Served asset /users.js - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-22 20:37:58 +0600 Served asset /application.js - 304 Not Modified (8ms) Connecting to database specified by database.yml Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=a&commit=Search" for 127.0.0.1 at 2013-06-22 20:42:39 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a"}, "custom_search"=>{"name_cont"=>"a"}, "commit"=>"Search"} comparators :: {:cont=>"translation missing: en.query_report.filters.name.contains"} param :: {"name_cont"=>"a"} first_val :: "a" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (19.8ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') AND (name LIKE %'a'%) LIMIT 25 OFFSET 0 SQLite3::SQLException: near "%": syntax error: SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') AND (name LIKE %'a'%) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (28.5ms) Completed 500 Internal Server Error in 97ms ActionView::Template::Error (SQLite3::SQLException: near "%": syntax error: SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') AND (name LIKE %'a'%) LIMIT 25 OFFSET 0): 15: <%# end %> 16:
17: 18: <% if @report.records.size > 0 %> 19:
<%= column.value(record) %>
<%= column.value(record) %>
<%= column.value(record) %>
<%= column.value(record) %>
20: 21: <% @report.columns.each do |column| %> app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.7ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=a&commit=Search" for 127.0.0.1 at 2013-06-22 20:43:14 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a"}, "custom_search"=>{"name_cont"=>"a"}, "commit"=>"Search"} comparators :: {:cont=>"translation missing: en.query_report.filters.name.contains"} param :: {"name_cont"=>"a"} first_val :: "a" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (3.2ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') AND (name LIKE %#{name}%) LIMIT 25 OFFSET 0 SQLite3::SQLException: near "%": syntax error: SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') AND (name LIKE %#{name}%) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (4.8ms) Completed 500 Internal Server Error in 8ms ActionView::Template::Error (SQLite3::SQLException: near "%": syntax error: SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') AND (name LIKE %#{name}%) LIMIT 25 OFFSET 0): 15: <%# end %> 16:
17: 18: <% if @report.records.size > 0 %> 19:
20: 21: <% @report.columns.each do |column| %> app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.9ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=a&commit=Search" for 127.0.0.1 at 2013-06-22 20:43:24 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a"}, "custom_search"=>{"name_cont"=>"a"}, "commit"=>"Search"} comparators :: {:cont=>"translation missing: en.query_report.filters.name.contains"} param :: {"name_cont"=>"a"} first_val :: "a" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (3.3ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') AND (name LIKE %a%) LIMIT 25 OFFSET 0 SQLite3::SQLException: near "%": syntax error: SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') AND (name LIKE %a%) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (4.9ms) Completed 500 Internal Server Error in 8ms ActionView::Template::Error (SQLite3::SQLException: near "%": syntax error: SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') AND (name LIKE %a%) LIMIT 25 OFFSET 0): 15: <%# end %> 16:
17: 18: <% if @report.records.size > 0 %> 19:
20: 21: <% @report.columns.each do |column| %> app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.9ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=a&commit=Search" for 127.0.0.1 at 2013-06-22 20:43:32 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a"}, "custom_search"=>{"name_cont"=>"a"}, "commit"=>"Search"} comparators :: {:cont=>"translation missing: en.query_report.filters.name.contains"} param :: {"name_cont"=>"a"} first_val :: "a" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (3.4ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') AND (name LIKE ''%a%') LIMIT 25 OFFSET 0 SQLite3::SQLException: unrecognized token: "') LIMIT 25 OFFSET 0": SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') AND (name LIKE ''%a%') LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (5.0ms) Completed 500 Internal Server Error in 8ms ActionView::Template::Error (SQLite3::SQLException: unrecognized token: "') LIMIT 25 OFFSET 0": SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') AND (name LIKE ''%a%') LIMIT 25 OFFSET 0): 15: <%# end %> 16:
17: 18: <% if @report.records.size > 0 %> 19:
20: 21: <% @report.columns.each do |column| %> app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.1ms) Connecting to database specified by database.yml Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=a&commit=Search" for 127.0.0.1 at 2013-06-23 09:03:31 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a"}, "custom_search"=>{"name_cont"=>"a"}, "commit"=>"Search"} comparators :: {:cont=>"translation missing: en.query_report.filters.name.contains"} param :: {"name_cont"=>"a"} first_val :: "a" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (22.9ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') AND (name LIKE ''%a%') LIMIT 25 OFFSET 0 SQLite3::SQLException: unrecognized token: "') LIMIT 25 OFFSET 0": SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') AND (name LIKE ''%a%') LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (34.4ms) Completed 500 Internal Server Error in 239ms ActionView::Template::Error (SQLite3::SQLException: unrecognized token: "') LIMIT 25 OFFSET 0": SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') AND (name LIKE ''%a%') LIMIT 25 OFFSET 0): 15: <%# end %> 16:
17: 18: <% if @report.records.size > 0 %> 19:
20: 21: <% @report.columns.each do |column| %> app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (7.3ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=a&commit=Search" for 127.0.0.1 at 2013-06-23 09:04:26 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a"}, "custom_search"=>{"name_cont"=>"a"}, "commit"=>"Search"} comparators :: {:cont=>"translation missing: en.query_report.filters.name.contains"} param :: {"name_cont"=>"a"} first_val :: "a" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (3.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') AND (name LIKE '%a%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%a%') AND (name LIKE '%a%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (41.5ms) Completed 200 OK in 146ms (Views: 144.0ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 09:04:27 +0600 Served asset /application.css - 304 Not Modified (10ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 09:04:27 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 09:04:27 +0600 Served asset /users.js - 304 Not Modified (4ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 09:04:27 +0600 Served asset /application.js - 304 Not Modified (5ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 09:04:27 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 09:04:27 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 09:04:27 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=ad&commit=Search" for 127.0.0.1 at 2013-06-23 09:04:31 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a"}, "custom_search"=>{"name_cont"=>"ad"}, "commit"=>"Search"} comparators :: {:cont=>"translation missing: en.query_report.filters.name.contains"} param :: {"name_cont"=>"ad"} first_val :: "ad" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (7.4ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') AND (name LIKE '%ad%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%a%') AND (name LIKE '%ad%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (12.3ms) Completed 200 OK in 19ms (Views: 17.4ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 09:04:31 +0600 Served asset /application.css - 304 Not Modified (6ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 09:04:31 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 09:04:31 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 09:04:31 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 09:04:31 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 09:04:31 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 09:04:31 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=ash&commit=Search" for 127.0.0.1 at 2013-06-23 09:04:34 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a"}, "custom_search"=>{"name_cont"=>"ash"}, "commit"=>"Search"} comparators :: {:cont=>"translation missing: en.query_report.filters.name.contains"} param :: {"name_cont"=>"ash"} first_val :: "ash" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (23.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') AND (name LIKE '%ash%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%a%') AND (name LIKE '%ash%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (28.6ms) Completed 200 OK in 34ms (Views: 33.2ms | ActiveRecord: 0.2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 09:04:35 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 09:04:35 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 09:04:35 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 09:04:35 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 09:04:35 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 09:04:35 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 09:04:35 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=&commit=Search" for 127.0.0.1 at 2013-06-23 09:04:38 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a"}, "custom_search"=>{"name_cont"=>""}, "commit"=>"Search"} comparators :: {:cont=>"translation missing: en.query_report.filters.name.contains"} param :: {"name_cont"=>""} first_val :: "" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (8.1ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%a%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (15.1ms) Completed 200 OK in 21ms (Views: 19.6ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 09:04:38 +0600 Served asset /application.css - 304 Not Modified (6ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 09:04:38 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 09:04:38 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 09:04:38 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 09:04:38 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 09:04:38 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 09:04:38 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=gmail&commit=Search" for 127.0.0.1 at 2013-06-23 09:05:37 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a"}, "custom_search"=>{"name_cont"=>"gmail"}, "commit"=>"Search"} comparators :: {:cont=>"translation missing: en.query_report.filters.name.contains"} param :: {"name_cont"=>"gmail"} first_val :: "gmail" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (3.7ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') AND (name LIKE '%gmail%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%a%') AND (name LIKE '%gmail%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (8.3ms) Completed 200 OK in 14ms (Views: 13.2ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 09:05:37 +0600 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 09:05:37 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 09:05:37 +0600 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 09:05:37 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 09:05:37 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 09:05:37 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 09:05:37 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=&commit=Search" for 127.0.0.1 at 2013-06-23 09:10:26 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a"}, "custom_search"=>{"name_cont"=>""}, "commit"=>"Search"} comparators :: {:cont=>"translation missing: en.query_report.filters.name.contains"} param :: {"name_cont"=>""} first_val :: "" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (3.7ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%a%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (8.3ms) Completed 200 OK in 13ms (Views: 11.7ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 09:10:26 +0600 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 09:10:26 +0600 Served asset /users.css - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 09:10:26 +0600 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 09:10:26 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 09:10:26 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 09:10:26 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 09:10:26 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=&commit=Search" for 127.0.0.1 at 2013-06-23 09:10:59 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a"}, "custom_search"=>{"name_cont"=>""}, "commit"=>"Search"} comparators :: {:cont=>"translation missing: en.query_report.filters.name.contains"} param :: {"name_cont"=>""} first_val :: "" User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (52.4ms) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (53.1ms) Completed 500 Internal Server Error in 56ms ActionView::Template::Error (undefined method `date_field' for #): 8: <% if filter.custom? %> 9: <%= date_field_tag custom_search_key, params[:custom_search][search_key], :placeholder => hint %> 10: <% else %> 11: <%= f.date_field search_key, :placeholder => hint %> 12: <% end %> 13: <% elsif filter.text? %> 14: <% if filter.custom? %> app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.8ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=&commit=Search" for 127.0.0.1 at 2013-06-23 09:14:24 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a"}, "custom_search"=>{"name_cont"=>""}, "commit"=>"Search"} comparators :: {:cont=>"translation missing: en.query_report.filters.name.contains"} param :: {"name_cont"=>""} first_val :: "" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (15.6ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%a%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (22.5ms) Completed 200 OK in 31ms (Views: 29.5ms | ActiveRecord: 0.4ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 09:14:24 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 09:14:24 +0600 Served asset /scaffold.css - 304 Not Modified (3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 09:14:24 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 09:14:24 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 09:14:24 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 09:14:24 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 09:14:24 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=&q%5Bcreated_at_gteq%5D=2013-06-03&q%5Bcreated_at_lteq%5D=&commit=Search" for 127.0.0.1 at 2013-06-23 09:15:05 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a", "created_at_gteq"=>"2013-06-03", "created_at_lteq"=>""}, "custom_search"=>{"name_cont"=>""}, "commit"=>"Search"} comparators :: {:cont=>"translation missing: en.query_report.filters.name.contains"} param :: {"name_cont"=>""} first_val :: "" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (81.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."email" LIKE '%a%' AND "users"."created_at" >= '2013-06-03 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (("users"."email" LIKE '%a%' AND "users"."created_at" >= '2013-06-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (165.3ms) Completed 200 OK in 170ms (Views: 169.0ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 09:15:05 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 09:15:05 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 09:15:05 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 09:15:05 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 09:15:05 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 09:15:05 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 09:15:05 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&commit=Search" for 127.0.0.1 at 2013-06-23 09:15:06 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a", "created_at_gteq"=>"", "created_at_lteq"=>""}, "custom_search"=>{"name_cont"=>""}, "commit"=>"Search"} comparators :: {:cont=>"translation missing: en.query_report.filters.name.contains"} param :: {"name_cont"=>""} first_val :: "" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (7.2ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%a%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (11.6ms) Completed 200 OK in 16ms (Views: 14.9ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 09:15:06 +0600 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 09:15:06 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 09:15:06 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 09:15:06 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 09:15:06 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 09:15:06 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 09:15:06 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&commit=Search" for 127.0.0.1 at 2013-06-23 09:15:35 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a", "created_at_gteq"=>"", "created_at_lteq"=>""}, "custom_search"=>{"name_cont"=>""}, "commit"=>"Search"} comparators :: {:cont=>"translation missing: en.query_report.filters.name.contains"} param :: {"name_cont"=>""} first_val :: "" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (8.3ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%a%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (30.7ms) Completed 200 OK in 35ms (Views: 34.0ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 09:15:35 +0600 Served asset /application.css - 304 Not Modified (13ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 09:15:35 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 09:15:35 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 09:15:35 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 09:15:35 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 09:15:35 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 09:15:35 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=&q%5Bcreated_at_gteq%5D=2013-06-02&q%5Bcreated_at_lteq%5D=2013-06-26&commit=Search" for 127.0.0.1 at 2013-06-23 09:15:54 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a", "created_at_gteq"=>"2013-06-02", "created_at_lteq"=>"2013-06-26"}, "custom_search"=>{"name_cont"=>""}, "commit"=>"Search"} comparators :: {:cont=>"translation missing: en.query_report.filters.name.contains"} param :: {"name_cont"=>""} first_val :: "" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (16.7ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."email" LIKE '%a%' AND "users"."created_at" >= '2013-06-02 00:00:00.000000' AND "users"."created_at" <= '2013-06-26 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (("users"."email" LIKE '%a%' AND "users"."created_at" >= '2013-06-02 00:00:00.000000' AND "users"."created_at" <= '2013-06-26 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (22.8ms) Completed 200 OK in 29ms (Views: 27.5ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 09:15:54 +0600 Served asset /application.css - 304 Not Modified (4ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 09:15:54 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 09:15:54 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 09:15:54 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 09:15:54 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 09:15:54 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 09:15:54 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=&q%5Bcreated_at_gteq%5D=2013-06-24&q%5Bcreated_at_lteq%5D=2013-06-30&commit=Search" for 127.0.0.1 at 2013-06-23 09:16:46 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a", "created_at_gteq"=>"2013-06-24", "created_at_lteq"=>"2013-06-30"}, "custom_search"=>{"name_cont"=>""}, "commit"=>"Search"} comparators :: {:cont=>"translation missing: en.query_report.filters.name.contains"} param :: {"name_cont"=>""} first_val :: "" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (7.2ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."email" LIKE '%a%' AND "users"."created_at" >= '2013-06-24 00:00:00.000000' AND "users"."created_at" <= '2013-06-30 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (("users"."email" LIKE '%a%' AND "users"."created_at" >= '2013-06-24 00:00:00.000000' AND "users"."created_at" <= '2013-06-30 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (11.7ms) Completed 200 OK in 18ms (Views: 16.2ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 09:16:46 +0600 Served asset /application.css - 304 Not Modified (12ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 09:16:46 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 09:16:46 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 09:16:46 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 09:16:46 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 09:16:46 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 09:16:46 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=&q%5Bcreated_at_gteq%5D=2013-06-04&q%5Bcreated_at_lteq%5D=&commit=Search" for 127.0.0.1 at 2013-06-23 09:16:51 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a", "created_at_gteq"=>"2013-06-04", "created_at_lteq"=>""}, "custom_search"=>{"name_cont"=>""}, "commit"=>"Search"} comparators :: {:cont=>"translation missing: en.query_report.filters.name.contains"} param :: {"name_cont"=>""} first_val :: "" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (12.4ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."email" LIKE '%a%' AND "users"."created_at" >= '2013-06-04 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (("users"."email" LIKE '%a%' AND "users"."created_at" >= '2013-06-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (17.8ms) Completed 200 OK in 24ms (Views: 22.5ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 09:16:51 +0600 Served asset /application.css - 304 Not Modified (3ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 09:16:51 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 09:16:51 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 09:16:51 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 09:16:51 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 09:16:51 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 09:16:51 +0600 Served asset /application.js - 304 Not Modified (1ms) Connecting to database specified by database.yml Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=&q%5Bcreated_at_gteq%5D=2013-06-04&q%5Bcreated_at_lteq%5D=&commit=Search" for 127.0.0.1 at 2013-06-23 10:47:13 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a", "created_at_gteq"=>"2013-06-04", "created_at_lteq"=>""}, "custom_search"=>{"name_cont"=>""}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (25.9ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."email" LIKE '%a%' AND "users"."created_at" >= '2013-06-04 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (("users"."email" LIKE '%a%' AND "users"."created_at" >= '2013-06-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (43.9ms) Completed 200 OK in 123ms (Views: 70.9ms | ActiveRecord: 1.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 10:47:13 +0600 Served asset /application.css - 304 Not Modified (18ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 10:47:13 +0600 Served asset /jquery.js - 304 Not Modified (8ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 10:47:13 +0600 Served asset /users.css - 304 Not Modified (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 10:47:13 +0600 Served asset /jquery_ujs.js - 304 Not Modified (3ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 10:47:13 +0600 Served asset /users.js - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 10:47:13 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 10:47:13 +0600 Served asset /application.js - 304 Not Modified (29ms) Started GET "/users" for 127.0.0.1 at 2013-06-23 10:48:35 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (8.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (8.6ms) Completed 500 Internal Server Error in 10ms ActionView::Template::Error (undefined method `[]' for nil:NilClass): 12: <% end %> 13: <% elsif filter.text? %> 14: <% if filter.custom? %> 15: <%= text_field_tag custom_search_key, params[:custom_search][search_key], html: {:placeholder => hint} %> 16: <% else %> 17: <%= f.text_field search_key, placeholder: hint %> 18: <% end %> app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.5ms) Started GET "/users" for 127.0.0.1 at 2013-06-23 10:50:56 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (8.1ms) User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (13.2ms) Completed 200 OK in 19ms (Views: 18.2ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 10:50:56 +0600 Served asset /application.css - 304 Not Modified (5ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 10:50:56 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 10:50:56 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 10:50:56 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 10:50:56 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 10:50:56 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 10:50:56 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/users" for 127.0.0.1 at 2013-06-23 10:51:05 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (6.0ms) User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (10.6ms) Completed 200 OK in 17ms (Views: 14.8ms | ActiveRecord: 0.2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 10:51:05 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 10:51:05 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 10:51:05 +0600 Served asset /users.css - 304 Not Modified (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 10:51:05 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 10:51:05 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 10:51:05 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 10:51:05 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=ash&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&commit=Search" for 127.0.0.1 at 2013-06-23 10:51:28 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a", "created_at_gteq"=>"", "created_at_lteq"=>""}, "custom_search"=>{"name_cont"=>"ash"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (10.9ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') AND (name LIKE '%ash%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%a%') AND (name LIKE '%ash%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (16.1ms) Completed 200 OK in 24ms (Views: 22.9ms | ActiveRecord: 0.2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 10:51:28 +0600 Served asset /scaffold.css - 304 Not Modified (3ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 10:51:28 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 10:51:28 +0600 Served asset /application.css - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 10:51:28 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 10:51:28 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 10:51:28 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 10:51:28 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=ash&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&commit=Search" for 127.0.0.1 at 2013-06-23 10:51:28 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a", "created_at_gteq"=>"", "created_at_lteq"=>""}, "custom_search"=>{"name_cont"=>"ash"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (7.2ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') AND (name LIKE '%ash%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%a%') AND (name LIKE '%ash%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (11.8ms) Completed 200 OK in 16ms (Views: 15.1ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 10:51:28 +0600 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 10:51:28 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 10:51:28 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 10:51:28 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 10:51:28 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 10:51:28 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 10:51:28 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=ash&q%5Bcreated_at_gteq%5D=2013-06-01&q%5Bcreated_at_lteq%5D=2013-06-30&commit=Search" for 127.0.0.1 at 2013-06-23 10:51:56 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a", "created_at_gteq"=>"2013-06-01", "created_at_lteq"=>"2013-06-30"}, "custom_search"=>{"name_cont"=>"ash"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (15.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."email" LIKE '%a%' AND "users"."created_at" >= '2013-06-01 00:00:00.000000' AND "users"."created_at" <= '2013-06-30 00:00:00.000000')) AND (name LIKE '%ash%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (("users"."email" LIKE '%a%' AND "users"."created_at" >= '2013-06-01 00:00:00.000000' AND "users"."created_at" <= '2013-06-30 00:00:00.000000')) AND (name LIKE '%ash%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (21.3ms) Completed 200 OK in 27ms (Views: 25.9ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 10:51:56 +0600 Served asset /application.css - 304 Not Modified (5ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 10:51:56 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 10:51:56 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 10:51:56 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 10:51:57 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 10:51:57 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 10:51:57 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=ash&q%5Bcreated_at_gteq%5D=2013-06-01&q%5Bcreated_at_lteq%5D=2013-06-30&commit=Search" for 127.0.0.1 at 2013-06-23 10:56:50 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a", "created_at_gteq"=>"2013-06-01", "created_at_lteq"=>"2013-06-30"}, "custom_search"=>{"name_cont"=>"ash"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (8.6ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."email" LIKE '%a%' AND "users"."created_at" >= '2013-06-01 00:00:00.000000' AND "users"."created_at" <= '2013-06-30 00:00:00.000000')) AND (name LIKE '%ash%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (("users"."email" LIKE '%a%' AND "users"."created_at" >= '2013-06-01 00:00:00.000000' AND "users"."created_at" <= '2013-06-30 00:00:00.000000')) AND (name LIKE '%ash%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (14.3ms) Completed 200 OK in 20ms (Views: 19.1ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 10:56:50 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 10:56:50 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 10:56:50 +0600 Served asset /jquery.js - 304 Not Modified (3ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 10:56:50 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 10:56:50 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 10:56:50 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 10:56:50 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/users?utf8=%E2%9C%93&email_cont=a&custom_search%5Bname_cont%5D=ash&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&commit=Search" for 127.0.0.1 at 2013-06-23 10:56:55 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "email_cont"=>"a", "custom_search"=>{"name_cont"=>"ash"}, "q"=>{"created_at_gteq"=>"", "created_at_lteq"=>""}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (5.2ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name LIKE '%ash%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (name LIKE '%ash%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (9.6ms) Completed 200 OK in 15ms (Views: 13.6ms | ActiveRecord: 0.2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 10:56:55 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 10:56:55 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 10:56:55 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 10:56:55 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 10:56:55 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 10:56:55 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 10:56:55 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users?utf8=%E2%9C%93&email_cont=a&custom_search%5Bname_cont%5D=ash&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&commit=Search" for 127.0.0.1 at 2013-06-23 10:56:57 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "email_cont"=>"a", "custom_search"=>{"name_cont"=>"ash"}, "q"=>{"created_at_gteq"=>"", "created_at_lteq"=>""}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (8.6ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name LIKE '%ash%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (name LIKE '%ash%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (13.8ms) Completed 200 OK in 20ms (Views: 18.5ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 10:56:57 +0600 Served asset /application.css - 304 Not Modified (9ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 10:56:57 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 10:56:57 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 10:56:57 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 10:56:57 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 10:56:57 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 10:56:57 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users?utf8=%E2%9C%93&email_cont=a&custom_search%5Bname_cont%5D=ash&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&commit=Search" for 127.0.0.1 at 2013-06-23 10:57:50 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "email_cont"=>"a", "custom_search"=>{"name_cont"=>"ash"}, "q"=>{"created_at_gteq"=>"", "created_at_lteq"=>""}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (24.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name LIKE '%ash%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (name LIKE '%ash%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (30.4ms) Completed 200 OK in 35ms (Views: 33.8ms | ActiveRecord: 0.2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 10:57:50 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 10:57:50 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 10:57:50 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 10:57:50 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 10:57:50 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 10:57:50 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 10:57:50 +0600 Served asset /application.js - 304 Not Modified (2ms) Started GET "/users?utf8=%E2%9C%93&email_cont=a&custom_search%5Bname_cont%5D=ash&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&commit=Search" for 127.0.0.1 at 2013-06-23 10:59:41 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "email_cont"=>"a", "custom_search"=>{"name_cont"=>"ash"}, "q"=>{"created_at_gteq"=>"", "created_at_lteq"=>""}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (11.2ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE (name LIKE '%ash%') LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "users" WHERE (name LIKE '%ash%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (21.2ms) Completed 200 OK in 30ms (Views: 28.2ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 10:59:41 +0600 Served asset /application.css - 304 Not Modified (10ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 10:59:41 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 10:59:41 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 10:59:41 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 10:59:41 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 10:59:41 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 10:59:41 +0600 Served asset /application.js - 304 Not Modified (2ms) Started GET "/users" for 127.0.0.1 at 2013-06-23 10:59:54 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (8.8ms) User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (14.2ms) Completed 200 OK in 20ms (Views: 19.0ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 10:59:54 +0600 Served asset /application.css - 304 Not Modified (12ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 10:59:54 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 10:59:54 +0600 Served asset /scaffold.css - 304 Not Modified (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 10:59:54 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 10:59:54 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 10:59:54 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 10:59:54 +0600 Served asset /application.js - 304 Not Modified (2ms) Started GET "/users" for 127.0.0.1 at 2013-06-23 10:59:54 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (6.2ms) User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (12.2ms) Completed 200 OK in 17ms (Views: 15.6ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 10:59:54 +0600 Served asset /application.css - 304 Not Modified (4ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 10:59:54 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 10:59:54 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 10:59:54 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 10:59:54 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 10:59:54 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 10:59:54 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&commit=Search" for 127.0.0.1 at 2013-06-23 10:59:58 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a", "created_at_gteq"=>"", "created_at_lteq"=>""}, "custom_search"=>{"name_cont"=>""}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (10.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%a%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (15.2ms) Completed 200 OK in 21ms (Views: 20.0ms | ActiveRecord: 0.2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 10:59:58 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 10:59:58 +0600 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 10:59:58 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 10:59:58 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 10:59:58 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 10:59:58 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 10:59:58 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=as&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&commit=Search" for 127.0.0.1 at 2013-06-23 11:00:02 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a", "created_at_gteq"=>"", "created_at_lteq"=>""}, "custom_search"=>{"name_cont"=>"as"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (6.4ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') AND (name LIKE '%as%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%a%') AND (name LIKE '%as%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (11.0ms) Completed 200 OK in 33ms (Views: 31.9ms | ActiveRecord: 0.2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 11:00:02 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 11:00:02 +0600 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 11:00:02 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 11:00:02 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 11:00:02 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 11:00:02 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 11:00:02 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=as&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&commit=Search" for 127.0.0.1 at 2013-06-23 11:00:11 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a", "created_at_gteq"=>"", "created_at_lteq"=>""}, "custom_search"=>{"name_cont"=>"as"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (9.4ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%a%') AND (name LIKE '%as%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%a%') AND (name LIKE '%as%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (14.7ms) Completed 200 OK in 22ms (Views: 18.8ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 11:00:11 +0600 Served asset /application.css - 304 Not Modified (9ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 11:00:11 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 11:00:11 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 11:00:11 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 11:00:11 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 11:00:11 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 11:00:11 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=ad&custom_search%5Bname_cont%5D=as&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&commit=Search" for 127.0.0.1 at 2013-06-23 11:00:15 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"ad", "created_at_gteq"=>"", "created_at_lteq"=>""}, "custom_search"=>{"name_cont"=>"as"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (26.3ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%ad%') AND (name LIKE '%as%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%ad%') AND (name LIKE '%as%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (31.8ms) Completed 200 OK in 40ms (Views: 38.9ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 11:00:15 +0600 Served asset /application.css - 304 Not Modified (12ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 11:00:15 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 11:00:15 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 11:00:15 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 11:00:15 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 11:00:15 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 11:00:15 +0600 Served asset /application.js - 304 Not Modified (2ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=aas&custom_search%5Bname_cont%5D=as&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&commit=Search" for 127.0.0.1 at 2013-06-23 11:00:18 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"aas", "created_at_gteq"=>"", "created_at_lteq"=>""}, "custom_search"=>{"name_cont"=>"as"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (5.9ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%aas%') AND (name LIKE '%as%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%aas%') AND (name LIKE '%as%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (10.2ms) Completed 200 OK in 15ms (Views: 14.2ms | ActiveRecord: 0.2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 11:00:18 +0600 Served asset /scaffold.css - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 11:00:18 +0600 Served asset /jquery.js - 304 Not Modified (5ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 11:00:18 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 11:00:18 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 11:00:18 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 11:00:18 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 11:00:18 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=as&custom_search%5Bname_cont%5D=as&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&commit=Search" for 127.0.0.1 at 2013-06-23 11:00:22 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"as", "created_at_gteq"=>"", "created_at_lteq"=>""}, "custom_search"=>{"name_cont"=>"as"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (6.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%as%') AND (name LIKE '%as%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%as%') AND (name LIKE '%as%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (10.8ms) Completed 200 OK in 17ms (Views: 16.0ms | ActiveRecord: 0.2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 11:00:22 +0600 Served asset /scaffold.css - 304 Not Modified (2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 11:00:22 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 11:00:22 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 11:00:22 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 11:00:22 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 11:00:22 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 11:00:22 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=as&custom_search%5Bname_cont%5D=as&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&commit=Search" for 127.0.0.1 at 2013-06-23 11:00:50 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"as", "created_at_gteq"=>"", "created_at_lteq"=>""}, "custom_search"=>{"name_cont"=>"as"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (15.8ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%as%') AND (name LIKE '%as%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%as%') AND (name LIKE '%as%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (21.1ms) Completed 200 OK in 27ms (Views: 25.8ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 11:00:50 +0600 Served asset /application.css - 304 Not Modified (3ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 11:00:50 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 11:00:50 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 11:00:50 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 11:00:50 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 11:00:50 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 11:00:50 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=as&custom_search%5Bname_cont%5D=as&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&commit=Search" for 127.0.0.1 at 2013-06-23 11:04:46 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"as", "created_at_gteq"=>"", "created_at_lteq"=>""}, "custom_search"=>{"name_cont"=>"as"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (7.3ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%as%') AND (name LIKE '%as%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%as%') AND (name LIKE '%as%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (34.3ms) Completed 200 OK in 40ms (Views: 37.7ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 11:04:46 +0600 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 11:04:46 +0600 Served asset /scaffold.css - 304 Not Modified (5ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 11:04:46 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 11:04:46 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 11:04:46 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 11:04:46 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 11:04:46 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=as&custom_search%5Bname_cont%5D=as&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&commit=Search" for 127.0.0.1 at 2013-06-23 11:05:25 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"as", "created_at_gteq"=>"", "created_at_lteq"=>""}, "custom_search"=>{"name_cont"=>"as"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (9.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%as%') AND (name LIKE '%as%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%as%') AND (name LIKE '%as%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (14.2ms) Completed 200 OK in 20ms (Views: 19.0ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 11:05:25 +0600 Served asset /application.css - 304 Not Modified (6ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 11:05:25 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 11:05:25 +0600 Served asset /jquery.js - 304 Not Modified (6ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 11:05:25 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 11:05:25 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 11:05:25 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 11:05:25 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=as&custom_search%5Bname_cont%5D=as&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&commit=Search" for 127.0.0.1 at 2013-06-23 11:07:26 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"as", "created_at_gteq"=>"", "created_at_lteq"=>""}, "custom_search"=>{"name_cont"=>"as"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (7.9ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%as%') AND (name LIKE '%as%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%as%') AND (name LIKE '%as%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (17.8ms) Completed 200 OK in 23ms (Views: 21.3ms | ActiveRecord: 0.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 11:07:26 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 11:07:26 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 11:07:26 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 11:07:26 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 11:07:26 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 11:07:26 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 11:07:26 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=as&custom_search%5Bname_cont%5D=as&q%5Bcreated_at_gteq%5D=2013-06-01&q%5Bcreated_at_lteq%5D=2013-06-30&commit=Search" for 127.0.0.1 at 2013-06-23 11:08:16 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"as", "created_at_gteq"=>"2013-06-01", "created_at_lteq"=>"2013-06-30"}, "custom_search"=>{"name_cont"=>"as"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (10.6ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."email" LIKE '%as%' AND "users"."created_at" >= '2013-06-01 00:00:00.000000' AND "users"."created_at" <= '2013-06-30 00:00:00.000000')) AND (name LIKE '%as%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (("users"."email" LIKE '%as%' AND "users"."created_at" >= '2013-06-01 00:00:00.000000' AND "users"."created_at" <= '2013-06-30 00:00:00.000000')) AND (name LIKE '%as%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (15.9ms) Completed 200 OK in 39ms (Views: 37.7ms | ActiveRecord: 0.3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 11:08:16 +0600 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 11:08:16 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 11:08:16 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 11:08:16 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 11:08:16 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 11:08:16 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 11:08:16 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=as&custom_search%5Bname_cont%5D=as&created_at_gteq=2013-06-01&created_at_lteq=2013-06-30&commit=Search" for 127.0.0.1 at 2013-06-23 11:08:18 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"as"}, "custom_search"=>{"name_cont"=>"as"}, "created_at_gteq"=>"2013-06-01", "created_at_lteq"=>"2013-06-30", "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (5.4ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."email" LIKE '%as%') AND (name LIKE '%as%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."email" LIKE '%as%') AND (name LIKE '%as%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (10.8ms) Completed 200 OK in 17ms (Views: 15.5ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 11:08:18 +0600 Served asset /application.css - 304 Not Modified (3ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 11:08:18 +0600 Served asset /users.css - 304 Not Modified (3ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 11:08:18 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 11:08:18 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 11:08:18 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 11:08:18 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 11:08:18 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users" for 127.0.0.1 at 2013-06-23 11:08:30 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.9ms) User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.4ms) Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 11:08:30 +0600 Served asset /application.css - 304 Not Modified (10ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 11:08:30 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 11:08:30 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 11:08:30 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 11:08:30 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 11:08:30 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 11:08:30 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users" for 127.0.0.1 at 2013-06-23 11:08:30 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (3.2ms) User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (10.6ms) Completed 200 OK in 17ms (Views: 16.4ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 11:08:30 +0600 Served asset /application.css - 304 Not Modified (8ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 11:08:30 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 11:08:30 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 11:08:30 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 11:08:30 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 11:08:30 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 11:08:30 +0600 Served asset /application.js - 304 Not Modified (2ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=&custom_search%5Bname_cont%5D=&created_at_gteq=2013-06-01&created_at_lteq=2013-06-30&commit=Search" for 127.0.0.1 at 2013-06-23 11:08:40 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>""}, "custom_search"=>{"name_cont"=>""}, "created_at_gteq"=>"2013-06-01", "created_at_lteq"=>"2013-06-30", "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (5.6ms) User Load (0.3ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (16.3ms) Completed 200 OK in 24ms (Views: 22.4ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 11:08:40 +0600 Served asset /application.css - 304 Not Modified (13ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 11:08:40 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 11:08:40 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 11:08:40 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 11:08:40 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 11:08:40 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 11:08:40 +0600 Served asset /application.js - 304 Not Modified (2ms) Started GET "/" for 127.0.0.1 at 2013-06-23 11:09:27 +0600 ActionController::RoutingError (No route matches [GET] "/"): actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' rack (1.4.5) lib/rack/runtime.rb:17:in `call' activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.5) lib/rack/lock.rb:15:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call' railties (3.2.13) lib/rails/engine.rb:479:in `call' railties (3.2.13) lib/rails/application.rb:223:in `call' rack (1.4.5) lib/rack/content_length.rb:14:in `call' railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/users" for 127.0.0.1 at 2013-06-23 11:09:28 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (7.0ms) User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (12.2ms) Completed 200 OK in 18ms (Views: 16.5ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 11:09:28 +0600 Served asset /application.css - 304 Not Modified (4ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 11:09:28 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 11:09:28 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 11:09:28 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 11:09:28 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 11:09:28 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 11:09:28 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=&custom_search%5Bname_cont%5D=&q%5Bcreated_at_gteq%5D=2013-06-01&q%5Bcreated_at_lteq%5D=2013-06-30&commit=Search" for 127.0.0.1 at 2013-06-23 11:09:38 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"", "created_at_gteq"=>"2013-06-01", "created_at_lteq"=>"2013-06-30"}, "custom_search"=>{"name_cont"=>""}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (10.8ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."created_at" >= '2013-06-01 00:00:00.000000' AND "users"."created_at" <= '2013-06-30 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (("users"."created_at" >= '2013-06-01 00:00:00.000000' AND "users"."created_at" <= '2013-06-30 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (16.1ms) Completed 200 OK in 22ms (Views: 21.0ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 11:09:38 +0600 Served asset /application.css - 304 Not Modified (2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 11:09:38 +0600 Served asset /users.css - 304 Not Modified (3ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 11:09:38 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 11:09:38 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 11:09:38 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 11:09:38 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 11:09:38 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=&custom_search%5Bname_cont%5D=&q%5Bcreated_at_gteq%5D=2013-06-01&q%5Bcreated_at_lteq%5D=2013-06-30&commit=Search" for 127.0.0.1 at 2013-06-23 11:09:59 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"", "created_at_gteq"=>"2013-06-01", "created_at_lteq"=>"2013-06-30"}, "custom_search"=>{"name_cont"=>""}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.4ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."created_at" >= '2013-06-01 00:00:00.000000' AND "users"."created_at" <= '2013-06-30 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (("users"."created_at" >= '2013-06-01 00:00:00.000000' AND "users"."created_at" <= '2013-06-30 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (9.2ms) Completed 200 OK in 13ms (Views: 12.4ms | ActiveRecord: 0.2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 11:09:59 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 11:09:59 +0600 Served asset /application.css - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 11:09:59 +0600 Served asset /jquery.js - 304 Not Modified (3ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 11:09:59 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 11:09:59 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 11:09:59 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 11:09:59 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/" for 127.0.0.1 at 2013-06-23 11:21:47 +0600 ActionController::RoutingError (No route matches [GET] "/"): actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' rack (1.4.5) lib/rack/runtime.rb:17:in `call' activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.5) lib/rack/lock.rb:15:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call' railties (3.2.13) lib/rails/engine.rb:479:in `call' railties (3.2.13) lib/rails/application.rb:223:in `call' rack (1.4.5) lib/rack/content_length.rb:14:in `call' railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/" for 127.0.0.1 at 2013-06-23 11:21:47 +0600 ActionController::RoutingError (No route matches [GET] "/"): actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' rack (1.4.5) lib/rack/runtime.rb:17:in `call' activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.5) lib/rack/lock.rb:15:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call' railties (3.2.13) lib/rails/engine.rb:479:in `call' railties (3.2.13) lib/rails/application.rb:223:in `call' rack (1.4.5) lib/rack/content_length.rb:14:in `call' railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.4ms) Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-06-23 19:17:44 +0600 ActionController::RoutingError (No route matches [GET] "/"): actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' rack (1.4.5) lib/rack/runtime.rb:17:in `call' activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.5) lib/rack/lock.rb:15:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call' railties (3.2.13) lib/rails/engine.rb:479:in `call' railties (3.2.13) lib/rails/application.rb:223:in `call' rack (1.4.5) lib/rack/content_length.rb:14:in `call' railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.6ms) Started GET "/users" for 127.0.0.1 at 2013-06-23 19:17:46 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.8ms) User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (32.9ms) Completed 200 OK in 91ms (Views: 43.5ms | ActiveRecord: 1.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 19:17:46 +0600 Served asset /application.css - 304 Not Modified (8ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 19:17:46 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 19:17:46 +0600 Served asset /jquery.js - 200 OK (4ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 19:17:46 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 19:17:46 +0600 Served asset /users.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 19:17:46 +0600 Served asset /jquery_ujs.js - 200 OK (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 19:17:46 +0600 Served asset /application.js - 304 Not Modified (3ms) Started GET "/users?utf8=%E2%9C%93&custom_search%5Bemail_cont%5D=a&q%5Bname_cont%5D=as&custom_search%5Bcreated_at_gteq%5D=2013-06-01&custom_search%5Bcreated_at_lteq%5D=2013-06-30&commit=Search" for 127.0.0.1 at 2013-06-23 19:18:10 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "custom_search"=>{"email_cont"=>"a", "created_at_gteq"=>"2013-06-01", "created_at_lteq"=>"2013-06-30"}, "q"=>{"name_cont"=>"as"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.4ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."name" LIKE '%as%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE ("users"."name" LIKE '%as%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (10.0ms) Completed 200 OK in 17ms (Views: 15.3ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 19:18:10 +0600 Served asset /application.css - 304 Not Modified (3ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 19:18:10 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 19:18:10 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 19:18:10 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 19:18:10 +0600 Served asset /application.js - 304 Not Modified (2ms) Started GET "/users" for 127.0.0.1 at 2013-06-23 19:19:22 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.9ms) User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (30.5ms) Completed 200 OK in 36ms (Views: 34.0ms | ActiveRecord: 0.5ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 19:19:22 +0600 Served asset /jquery.js - 304 Not Modified (9ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 19:19:22 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 19:19:22 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 19:19:22 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 19:19:22 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 19:19:22 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 19:19:22 +0600 Served asset /application.js - 304 Not Modified (2ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=as&q%5Bcreated_at_gteq%5D=2013-06-01&q%5Bcreated_at_lteq%5D=2013-06-30&commit=Search" for 127.0.0.1 at 2013-06-23 19:19:34 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a", "created_at_gteq"=>"2013-06-01", "created_at_lteq"=>"2013-06-30"}, "custom_search"=>{"name_cont"=>"as"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (12.5ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."email" LIKE '%a%' AND "users"."created_at" >= '2013-06-01 00:00:00.000000' AND "users"."created_at" <= '2013-06-30 00:00:00.000000')) AND (name LIKE '%as%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (("users"."email" LIKE '%a%' AND "users"."created_at" >= '2013-06-01 00:00:00.000000' AND "users"."created_at" <= '2013-06-30 00:00:00.000000')) AND (name LIKE '%as%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (22.4ms) Completed 200 OK in 29ms (Views: 27.3ms | ActiveRecord: 0.3ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 19:19:34 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 19:19:34 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 19:19:34 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 19:19:34 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 19:19:34 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 19:19:34 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 19:19:34 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=as&q%5Bcreated_at_gteq%5D=2013-06-01&q%5Bcreated_at_lteq%5D=2013-06-30&commit=Search" for 127.0.0.1 at 2013-06-23 19:26:21 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a", "created_at_gteq"=>"2013-06-01", "created_at_lteq"=>"2013-06-30"}, "custom_search"=>{"name_cont"=>"as"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (5.3ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."email" LIKE '%a%' AND "users"."created_at" >= '2013-06-01 00:00:00.000000' AND "users"."created_at" <= '2013-06-30 00:00:00.000000')) AND (name LIKE '%as%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (("users"."email" LIKE '%a%' AND "users"."created_at" >= '2013-06-01 00:00:00.000000' AND "users"."created_at" <= '2013-06-30 00:00:00.000000')) AND (name LIKE '%as%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (15.4ms) Completed 200 OK in 21ms (Views: 18.9ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 19:26:21 +0600 Served asset /application.css - 304 Not Modified (2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 19:26:21 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 19:26:21 +0600 Served asset /jquery.js - 304 Not Modified (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 19:26:21 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 19:26:21 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 19:26:21 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 19:26:21 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=as&q%5Bcreated_at_gteq%5D=2013-06-01&q%5Bcreated_at_lteq%5D=2013-06-30&commit=Search" for 127.0.0.1 at 2013-06-23 19:26:23 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a", "created_at_gteq"=>"2013-06-01", "created_at_lteq"=>"2013-06-30"}, "custom_search"=>{"name_cont"=>"as"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (5.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."email" LIKE '%a%' AND "users"."created_at" >= '2013-06-01 00:00:00.000000' AND "users"."created_at" <= '2013-06-30 00:00:00.000000')) AND (name LIKE '%as%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (("users"."email" LIKE '%a%' AND "users"."created_at" >= '2013-06-01 00:00:00.000000' AND "users"."created_at" <= '2013-06-30 00:00:00.000000')) AND (name LIKE '%as%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (10.2ms) Completed 200 OK in 14ms (Views: 13.6ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 19:26:23 +0600 Served asset /application.css - 304 Not Modified (3ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 19:26:23 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 19:26:23 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 19:26:23 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 19:26:23 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 19:26:23 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 19:26:23 +0600 Served asset /application.js - 304 Not Modified (2ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=as&q%5Bcreated_at_gteq%5D=2013-06-01&q%5Bcreated_at_lteq%5D=2013-06-30&commit=Search" for 127.0.0.1 at 2013-06-23 19:27:05 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a", "created_at_gteq"=>"2013-06-01", "created_at_lteq"=>"2013-06-30"}, "custom_search"=>{"name_cont"=>"as"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (10.5ms) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (11.1ms) Completed 500 Internal Server Error in 14ms ActionView::Template::Error (uninitialized constant QueryReport::FilterNotDefined): 1: <%= search_form_for report.search, :url => url_for, :html => {:method => :get, :class => 'form-inline'} do |f| %> 2: <% report.filters.each do |filter| %> 3: <% filter.comparators.each do |key, hint| %> 4: <%= query_report_render_filter(filter, key, hint) %> 5: <% end %> 6: <% end %> 7: <%= f.submit 'Search', :class => 'btn' %> app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (20.5ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=as&q%5Bcreated_at_gteq%5D=2013-06-01&q%5Bcreated_at_lteq%5D=2013-06-30&commit=Search" for 127.0.0.1 at 2013-06-23 19:27:30 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a", "created_at_gteq"=>"2013-06-01", "created_at_lteq"=>"2013-06-30"}, "custom_search"=>{"name_cont"=>"as"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.8ms) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (5.3ms) Completed 500 Internal Server Error in 8ms ActionView::Template::Error (QueryReport::FilterNotDefined): 1: <%= search_form_for report.search, :url => url_for, :html => {:method => :get, :class => 'form-inline'} do |f| %> 2: <% report.filters.each do |filter| %> 3: <% filter.comparators.each do |key, hint| %> 4: <%= query_report_render_filter(filter, key, hint) %> 5: <% end %> 6: <% end %> 7: <%= f.submit 'Search', :class => 'btn' %> app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.7ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=as&q%5Bcreated_at_gteq%5D=2013-06-01&q%5Bcreated_at_lteq%5D=2013-06-30&commit=Search" for 127.0.0.1 at 2013-06-23 19:27:52 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a", "created_at_gteq"=>"2013-06-01", "created_at_lteq"=>"2013-06-30"}, "custom_search"=>{"name_cont"=>"as"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (20.6ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."email" LIKE '%a%' AND "users"."created_at" >= '2013-06-01 00:00:00.000000' AND "users"."created_at" <= '2013-06-30 00:00:00.000000')) AND (name LIKE '%as%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (("users"."email" LIKE '%a%' AND "users"."created_at" >= '2013-06-01 00:00:00.000000' AND "users"."created_at" <= '2013-06-30 00:00:00.000000')) AND (name LIKE '%as%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (30.7ms) Completed 200 OK in 38ms (Views: 36.1ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 19:27:52 +0600 Served asset /application.css - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 19:27:52 +0600 Served asset /jquery_ujs.js - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 19:27:52 +0600 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 19:27:52 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 19:27:52 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 19:27:52 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 19:27:52 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=as&q%5Bcreated_at_gteq%5D=2013-06-01&q%5Bcreated_at_lteq%5D=2013-06-30&commit=Search" for 127.0.0.1 at 2013-06-23 19:29:39 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a", "created_at_gteq"=>"2013-06-01", "created_at_lteq"=>"2013-06-30"}, "custom_search"=>{"name_cont"=>"as"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.4ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."email" LIKE '%a%' AND "users"."created_at" >= '2013-06-01 00:00:00.000000' AND "users"."created_at" <= '2013-06-30 00:00:00.000000')) AND (name LIKE '%as%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (("users"."email" LIKE '%a%' AND "users"."created_at" >= '2013-06-01 00:00:00.000000' AND "users"."created_at" <= '2013-06-30 00:00:00.000000')) AND (name LIKE '%as%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (14.9ms) Completed 200 OK in 37ms (Views: 35.0ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-23 19:29:39 +0600 Served asset /application.css - 200 OK (8ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-23 19:29:39 +0600 Served asset /users.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-23 19:29:39 +0600 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-23 19:29:39 +0600 Served asset /scaffold.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-23 19:29:39 +0600 Served asset /jquery.js - 200 OK (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-23 19:29:39 +0600 Served asset /users.js - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-23 19:29:39 +0600 Served asset /application.js - 200 OK (1ms) Started GET "/users.pdf?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=as&q%5Bcreated_at_gteq%5D=2013-06-01&q%5Bcreated_at_lteq%5D=2013-06-30&commit=Search" for 127.0.0.1 at 2013-06-23 19:29:41 +0600 Processing by UsersController#index as PDF Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a", "created_at_gteq"=>"2013-06-01", "created_at_lteq"=>"2013-06-30"}, "custom_search"=>{"name_cont"=>"as"}, "commit"=>"Search"} Completed 500 Internal Server Error in 3ms NameError (uninitialized constant QueryReport::Helper::ReportPdf): app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.5ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.0ms) Connecting to database specified by database.yml Started GET "/users.pdf?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=as&q%5Bcreated_at_gteq%5D=2013-06-01&q%5Bcreated_at_lteq%5D=2013-06-30&commit=Search" for 127.0.0.1 at 2013-06-23 19:37:28 +0600 LoadError (cannot load such file -- prawn): app/controllers/users_controller.rb:1:in `' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.1ms) Connecting to database specified by database.yml Started GET "/users.pdf?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=as&q%5Bcreated_at_gteq%5D=2013-06-01&q%5Bcreated_at_lteq%5D=2013-06-30&commit=Search" for 127.0.0.1 at 2013-06-23 19:37:51 +0600 Processing by UsersController#index as PDF Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a", "created_at_gteq"=>"2013-06-01", "created_at_lteq"=>"2013-06-30"}, "custom_search"=>{"name_cont"=>"as"}, "commit"=>"Search"} Completed 500 Internal Server Error in 52ms NameError (uninitialized constant QueryReport::ReportPdf::Prawn): app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (20.6ms) Connecting to database specified by database.yml Started GET "/users.pdf?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=as&q%5Bcreated_at_gteq%5D=2013-06-01&q%5Bcreated_at_lteq%5D=2013-06-30&commit=Search" for 127.0.0.1 at 2013-06-23 19:39:22 +0600 Processing by UsersController#index as PDF Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a", "created_at_gteq"=>"2013-06-01", "created_at_lteq"=>"2013-06-30"}, "custom_search"=>{"name_cont"=>"as"}, "commit"=>"Search"} Completed 500 Internal Server Error in 53ms NameError (uninitialized constant QueryReport::ReportPdf::Prawn): app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (20.8ms) Connecting to database specified by database.yml Started GET "/users.pdf?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=as&q%5Bcreated_at_gteq%5D=2013-06-01&q%5Bcreated_at_lteq%5D=2013-06-30&commit=Search" for 127.0.0.1 at 2013-06-23 19:39:47 +0600 Processing by UsersController#index as PDF Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a", "created_at_gteq"=>"2013-06-01", "created_at_lteq"=>"2013-06-30"}, "custom_search"=>{"name_cont"=>"as"}, "commit"=>"Search"} User Load (0.1ms) SELECT "users".* FROM "users"  Completed 500 Internal Server Error in 78ms NoMethodError (undefined method `charts' for #): app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.8ms) Started GET "/users.pdf?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=as&q%5Bcreated_at_gteq%5D=2013-06-01&q%5Bcreated_at_lteq%5D=2013-06-30&commit=Search" for 127.0.0.1 at 2013-06-23 19:40:06 +0600 Processing by UsersController#index as PDF Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a", "created_at_gteq"=>"2013-06-01", "created_at_lteq"=>"2013-06-30"}, "custom_search"=>{"name_cont"=>"as"}, "commit"=>"Search"} User Load (0.3ms) SELECT "users".* FROM "users" Completed 500 Internal Server Error in 12ms NoMethodError (undefined method `charts' for #): app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.5ms) Connecting to database specified by database.yml Started GET "/users.pdf?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=as&q%5Bcreated_at_gteq%5D=2013-06-01&q%5Bcreated_at_lteq%5D=2013-06-30&commit=Search" for 127.0.0.1 at 2013-06-23 19:40:14 +0600 Processing by UsersController#index as PDF Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a", "created_at_gteq"=>"2013-06-01", "created_at_lteq"=>"2013-06-30"}, "custom_search"=>{"name_cont"=>"as"}, "commit"=>"Search"} User Load (0.1ms) SELECT "users".* FROM "users"  Completed 500 Internal Server Error in 80ms NoMethodError (undefined method `all_records' for #): app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.5ms) Connecting to database specified by database.yml Started GET "/users.pdf?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=as&q%5Bcreated_at_gteq%5D=2013-06-01&q%5Bcreated_at_lteq%5D=2013-06-30&commit=Search" for 127.0.0.1 at 2013-06-23 19:40:51 +0600 Processing by UsersController#index as PDF Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a", "created_at_gteq"=>"2013-06-01", "created_at_lteq"=>"2013-06-30"}, "custom_search"=>{"name_cont"=>"as"}, "commit"=>"Search"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."email" LIKE '%a%' AND "users"."created_at" >= '2013-06-01 00:00:00.000000' AND "users"."created_at" <= '2013-06-30 00:00:00.000000')) AND (name LIKE '%as%') LIMIT 25 OFFSET 0 Completed 500 Internal Server Error in 103ms Prawn::Errors::UnrecognizedTableContent (Prawn::Errors::UnrecognizedTableContent): app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.2ms) Connecting to database specified by database.yml Started GET "/users.pdf?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=as&q%5Bcreated_at_gteq%5D=2013-06-01&q%5Bcreated_at_lteq%5D=2013-06-30&commit=Search" for 127.0.0.1 at 2013-06-23 19:42:43 +0600 Processing by UsersController#index as PDF Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a", "created_at_gteq"=>"2013-06-01", "created_at_lteq"=>"2013-06-30"}, "custom_search"=>{"name_cont"=>"as"}, "commit"=>"Search"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."email" LIKE '%a%' AND "users"."created_at" >= '2013-06-01 00:00:00.000000' AND "users"."created_at" <= '2013-06-30 00:00:00.000000')) AND (name LIKE '%as%') Completed 500 Internal Server Error in 103ms Prawn::Errors::UnrecognizedTableContent (Prawn::Errors::UnrecognizedTableContent): app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.4ms) Connecting to database specified by database.yml Connecting to database specified by database.yml Started GET "/users.pdf?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=as&q%5Bcreated_at_gteq%5D=2013-06-01&q%5Bcreated_at_lteq%5D=2013-06-30&commit=Search" for 127.0.0.1 at 2013-06-24 09:02:13 +0600 Processing by UsersController#index as PDF Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a", "created_at_gteq"=>"2013-06-01", "created_at_lteq"=>"2013-06-30"}, "custom_search"=>{"name_cont"=>"as"}, "commit"=>"Search"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."email" LIKE '%a%' AND "users"."created_at" >= '2013-06-01 00:00:00.000000' AND "users"."created_at" <= '2013-06-30 00:00:00.000000')) AND (name LIKE '%as%') Completed 500 Internal Server Error in 389ms Prawn::Errors::UnrecognizedTableContent (Prawn::Errors::UnrecognizedTableContent): app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (34.0ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=a&custom_search%5Bname_cont%5D=as&q%5Bcreated_at_gteq%5D=2013-06-01&q%5Bcreated_at_lteq%5D=2013-06-30&commit=Search" for 127.0.0.1 at 2013-06-24 09:02:14 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"a", "created_at_gteq"=>"2013-06-01", "created_at_lteq"=>"2013-06-30"}, "custom_search"=>{"name_cont"=>"as"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (7.5ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."email" LIKE '%a%' AND "users"."created_at" >= '2013-06-01 00:00:00.000000' AND "users"."created_at" <= '2013-06-30 00:00:00.000000')) AND (name LIKE '%as%') LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (("users"."email" LIKE '%a%' AND "users"."created_at" >= '2013-06-01 00:00:00.000000' AND "users"."created_at" <= '2013-06-30 00:00:00.000000')) AND (name LIKE '%as%') Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (39.9ms) Completed 200 OK in 219ms (Views: 218.0ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-24 09:02:14 +0600 Served asset /application.css - 304 Not Modified (33ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-24 09:02:15 +0600 Served asset /users.css - 304 Not Modified (3ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-24 09:02:15 +0600 Served asset /application.js - 304 Not Modified (12ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-24 09:02:15 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-24 09:02:15 +0600 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-24 09:02:15 +0600 Served asset /users.js - 304 Not Modified (2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-24 09:02:15 +0600 Served asset /scaffold.css - 304 Not Modified (2ms) Started GET "/users" for 127.0.0.1 at 2013-06-24 09:02:26 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.8ms) User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.2ms) Completed 200 OK in 10ms (Views: 9.7ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-24 09:02:27 +0600 Served asset /application.css - 304 Not Modified (4ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-24 09:02:27 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-24 09:02:27 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-24 09:02:27 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-24 09:02:27 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-24 09:02:27 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-24 09:02:27 +0600 Served asset /application.js - 304 Not Modified (2ms) Started GET "/users.json" for 127.0.0.1 at 2013-06-24 09:02:41 +0600 Processing by UsersController#index as JSON User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.2ms) Started GET "/users.csv" for 127.0.0.1 at 2013-06-24 09:02:56 +0600 Processing by UsersController#index as CSV User Load (0.1ms) SELECT "users".* FROM "users"  Completed 500 Internal Server Error in 27ms NameError (uninitialized constant QueryReport::Helper::CSV): app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.6ms) Started GET "/users.csv" for 127.0.0.1 at 2013-06-24 09:03:15 +0600 Processing by UsersController#index as CSV User Load (0.2ms) SELECT "users".* FROM "users" Completed 500 Internal Server Error in 7ms NameError (uninitialized constant QueryReport::Helper::CSV): app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (5.3ms) Started GET "/users.csv" for 127.0.0.1 at 2013-06-24 09:03:43 +0600 Processing by UsersController#index as CSV User Load (0.1ms) SELECT "users".* FROM "users"  Completed 500 Internal Server Error in 6ms NameError (uninitialized constant QueryReport::Helper::CSV): app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.7ms) Connecting to database specified by database.yml Started GET "/users.csv" for 127.0.0.1 at 2013-06-24 09:03:57 +0600 Processing by UsersController#index as CSV User Load (0.1ms) SELECT "users".* FROM "users"  Rendered text template (0.0ms) Sent data (12.9ms) Completed 200 OK in 94ms (Views: 12.8ms | ActiveRecord: 1.5ms) Started GET "/users" for 127.0.0.1 at 2013-06-24 09:08:27 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.2ms) User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (16.5ms) Completed 200 OK in 45ms (Views: 43.1ms | ActiveRecord: 0.5ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-24 09:08:27 +0600 Served asset /users.css - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-24 09:08:27 +0600 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-24 09:08:27 +0600 Served asset /scaffold.css - 304 Not Modified (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-24 09:08:27 +0600 Served asset /jquery.js - 304 Not Modified (22ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-24 09:08:27 +0600 Served asset /application.css - 304 Not Modified (5ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-24 09:08:27 +0600 Served asset /users.js - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-24 09:08:27 +0600 Served asset /application.js - 304 Not Modified (8ms) Started GET "/users.csv" for 127.0.0.1 at 2013-06-24 09:08:30 +0600 Processing by UsersController#index as CSV User Load (0.3ms) SELECT "users".* FROM "users" Rendered text template (0.0ms) Sent data (0.8ms) Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 0.3ms) Started GET "/users" for 127.0.0.1 at 2013-06-24 09:12:36 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.8ms) User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (10.8ms) Completed 200 OK in 16ms (Views: 14.1ms | ActiveRecord: 0.5ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-24 09:12:36 +0600 Served asset /scaffold.css - 304 Not Modified (9ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-24 09:12:36 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-24 09:12:36 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-24 09:12:36 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-24 09:12:36 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-24 09:12:36 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-24 09:12:36 +0600 Served asset /application.js - 304 Not Modified (1ms) Connecting to database specified by database.yml Started GET "/users" for 127.0.0.1 at 2013-06-24 09:12:44 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.8ms) User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (36.2ms) Completed 200 OK in 121ms (Views: 66.1ms | ActiveRecord: 1.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-24 09:12:44 +0600 Served asset /application.css - 304 Not Modified (11ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-24 09:12:44 +0600 Served asset /scaffold.css - 304 Not Modified (2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-24 09:12:44 +0600 Served asset /users.css - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-24 09:12:44 +0600 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-24 09:12:44 +0600 Served asset /users.js - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-24 09:12:44 +0600 Served asset /jquery.js - 304 Not Modified (7ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-24 09:12:44 +0600 Served asset /application.js - 304 Not Modified (5ms) Started GET "/users.csv" for 127.0.0.1 at 2013-06-24 09:12:48 +0600 Processing by UsersController#index as CSV User Load (0.1ms) SELECT "users".* FROM "users"  Rendered text template (0.0ms) Sent data (19.7ms) Completed 200 OK in 22ms (Views: 19.6ms | ActiveRecord: 0.1ms) Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-06-24 18:23:56 +0600 ActionController::RoutingError (No route matches [GET] "/"): actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' rack (1.4.5) lib/rack/runtime.rb:17:in `call' activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.5) lib/rack/lock.rb:15:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call' railties (3.2.13) lib/rails/engine.rb:479:in `call' railties (3.2.13) lib/rails/application.rb:223:in `call' rack (1.4.5) lib/rack/content_length.rb:14:in `call' railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (17.3ms) Started GET "/users" for 127.0.0.1 at 2013-06-24 18:23:58 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.6ms) User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (18.7ms) Completed 200 OK in 186ms (Views: 122.1ms | ActiveRecord: 22.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-24 18:23:58 +0600 Served asset /application.css - 200 OK (9ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-24 18:23:58 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-24 18:23:58 +0600 Served asset /jquery_ujs.js - 200 OK (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-24 18:23:58 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-24 18:23:58 +0600 Served asset /users.js - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-24 18:23:58 +0600 Served asset /jquery.js - 200 OK (4ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-24 18:23:58 +0600 Served asset /application.js - 200 OK (7ms) Started GET "/users.pdf" for 127.0.0.1 at 2013-06-24 18:24:09 +0600 Processing by UsersController#index as PDF User Load (0.3ms) SELECT "users".* FROM "users"  Completed 500 Internal Server Error in 7ms Prawn::Errors::UnrecognizedTableContent (Prawn::Errors::UnrecognizedTableContent): app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.6ms) Connecting to database specified by database.yml Started GET "/users.pdf" for 127.0.0.1 at 2013-06-24 18:25:20 +0600 Processing by UsersController#index as PDF User Load (0.1ms) SELECT "users".* FROM "users"  Completed 500 Internal Server Error in 82ms Prawn::Errors::UnrecognizedTableContent (Prawn::Errors::UnrecognizedTableContent): app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.3ms) Connecting to database specified by database.yml Started GET "/users.pdf" for 127.0.0.1 at 2013-06-24 18:28:35 +0600 Processing by UsersController#index as PDF User Load (0.1ms) SELECT "users".* FROM "users"  CACHE (0.0ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 Completed 500 Internal Server Error in 153ms NoMethodError (undefined method `render_pdf' for #): app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.6ms) Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-06-24 18:37:14 +0600 ActionController::RoutingError (No route matches [GET] "/"): actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' rack (1.4.5) lib/rack/runtime.rb:17:in `call' activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.5) lib/rack/lock.rb:15:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call' railties (3.2.13) lib/rails/engine.rb:479:in `call' railties (3.2.13) lib/rails/application.rb:223:in `call' rack (1.4.5) lib/rack/content_length.rb:14:in `call' railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (17.1ms) Started GET "/users" for 127.0.0.1 at 2013-06-24 18:37:18 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (21.6ms) User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (35.6ms) Completed 200 OK in 101ms (Views: 46.3ms | ActiveRecord: 1.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-24 18:37:18 +0600 Served asset /application.css - 304 Not Modified (6ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-24 18:37:18 +0600 Served asset /scaffold.css - 304 Not Modified (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-24 18:37:18 +0600 Served asset /jquery.js - 304 Not Modified (7ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-24 18:37:18 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-24 18:37:18 +0600 Served asset /users.js - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-24 18:37:18 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-24 18:37:18 +0600 Served asset /application.js - 304 Not Modified (4ms) Started GET "/users.pdf" for 127.0.0.1 at 2013-06-24 18:37:21 +0600 Processing by UsersController#index as PDF User Load (0.3ms) SELECT "users".* FROM "users"  Rendered text template (0.0ms) Sent data (17.9ms) Completed 200 OK in 79ms (Views: 17.8ms | ActiveRecord: 0.3ms) Connecting to database specified by database.yml Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-06-24 22:08:22 +0600 ActionController::RoutingError (No route matches [GET] "/"): actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' rack (1.4.5) lib/rack/runtime.rb:17:in `call' activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.5) lib/rack/lock.rb:15:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call' railties (3.2.13) lib/rails/engine.rb:479:in `call' railties (3.2.13) lib/rails/application.rb:223:in `call' rack (1.4.5) lib/rack/content_length.rb:14:in `call' railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (21.6ms) Started GET "/users" for 127.0.0.1 at 2013-06-24 22:08:27 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (24.0ms) User Load (0.3ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (134.1ms) Completed 200 OK in 398ms (Views: 249.2ms | ActiveRecord: 2.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-24 22:08:28 +0600 Served asset /application.css - 304 Not Modified (8ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-24 22:08:28 +0600 Served asset /application.js - 304 Not Modified (8ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-24 22:08:28 +0600 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-24 22:08:28 +0600 Served asset /users.css - 304 Not Modified (2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-24 22:08:28 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-24 22:08:28 +0600 Served asset /jquery_ujs.js - 304 Not Modified (3ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-24 22:08:28 +0600 Served asset /users.js - 304 Not Modified (1ms) Started GET "/users.pdf" for 127.0.0.1 at 2013-06-24 22:08:30 +0600 Processing by UsersController#index as PDF User Load (0.3ms) SELECT "users".* FROM "users"  Completed 500 Internal Server Error in 8ms NameError (undefined local variable or method `table_items' for #): app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (16.7ms) Started GET "/users.pdf" for 127.0.0.1 at 2013-06-24 22:08:55 +0600 Processing by UsersController#index as PDF User Load (0.2ms) SELECT "users".* FROM "users" Completed 500 Internal Server Error in 6ms NameError (undefined local variable or method `table_items' for #): app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (25.2ms) Connecting to database specified by database.yml Started GET "/users.pdf" for 127.0.0.1 at 2013-06-24 22:09:03 +0600 Processing by UsersController#index as PDF User Load (0.1ms) SELECT "users".* FROM "users"  Rendered text template (0.0ms) Sent data (17.7ms) Completed 200 OK in 236ms (Views: 17.6ms | ActiveRecord: 1.6ms) Connecting to database specified by database.yml Started GET "/users.pdf" for 127.0.0.1 at 2013-06-24 22:27:59 +0600 Processing by UsersController#index as PDF Completed 500 Internal Server Error in 56ms ArgumentError (wrong number of arguments (2 for 1)): app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.3ms) Connecting to database specified by database.yml Started GET "/users.pdf" for 127.0.0.1 at 2013-06-24 22:33:45 +0600 Processing by UsersController#index as PDF Completed 500 Internal Server Error in 65ms ArgumentError (wrong number of arguments (2 for 1)): app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (23.8ms) Started GET "/users.pdf" for 127.0.0.1 at 2013-06-24 22:34:40 +0600 Processing by UsersController#index as PDF Completed 500 Internal Server Error in 1ms ArgumentError (wrong number of arguments (2 for 1)): app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.6ms) Connecting to database specified by database.yml Started GET "/users.pdf" for 127.0.0.1 at 2013-06-24 22:34:48 +0600 Processing by UsersController#index as PDF User Load (0.1ms) SELECT "users".* FROM "users"  Completed 500 Internal Server Error in 83ms NoMethodError (undefined method `[]' for nil:NilClass): app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (23.3ms) Connecting to database specified by database.yml Started GET "/users.pdf" for 127.0.0.1 at 2013-06-24 22:35:57 +0600 Processing by UsersController#index as PDF User Load (0.1ms) SELECT "users".* FROM "users"  Completed 500 Internal Server Error in 86ms NoMethodError (undefined method `[]' for nil:NilClass): app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (24.5ms) Connecting to database specified by database.yml Started GET "/users.pdf" for 127.0.0.1 at 2013-06-24 22:36:56 +0600 Processing by UsersController#index as PDF User Load (0.1ms) SELECT "users".* FROM "users"  Completed 500 Internal Server Error in 83ms NoMethodError (undefined method `[]' for nil:NilClass): app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (24.1ms) Connecting to database specified by database.yml Started GET "/users.pdf" for 127.0.0.1 at 2013-06-24 22:37:55 +0600 Processing by UsersController#index as PDF User Load (0.1ms) SELECT "users".* FROM "users"  Completed 500 Internal Server Error in 88ms NoMethodError (undefined method `[]' for nil:NilClass): app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (25.3ms) Connecting to database specified by database.yml Started GET "/users.pdf" for 127.0.0.1 at 2013-06-24 22:40:00 +0600 Processing by UsersController#index as PDF User Load (0.1ms) SELECT "users".* FROM "users"  Rendered text template (0.0ms) Sent data (24.1ms) Completed 200 OK in 149ms (Views: 24.0ms | ActiveRecord: 1.7ms) Connecting to database specified by database.yml Started GET "/users.pdf" for 127.0.0.1 at 2013-06-24 22:40:34 +0600 Processing by UsersController#index as PDF User Load (0.1ms) SELECT "users".* FROM "users"  Completed 500 Internal Server Error in 84ms NoMethodError (undefined method `[]' for nil:NilClass): app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (23.7ms) Connecting to database specified by database.yml Started GET "/users.pdf" for 127.0.0.1 at 2013-06-24 22:41:50 +0600 Processing by UsersController#index as PDF User Load (0.1ms) SELECT "users".* FROM "users"  Rendered text template (0.0ms) Sent data (25.2ms) Completed 200 OK in 154ms (Views: 25.1ms | ActiveRecord: 1.5ms) Connecting to database specified by database.yml Started GET "/users.pdf" for 127.0.0.1 at 2013-06-24 22:43:09 +0600 Processing by UsersController#index as PDF User Load (0.2ms) SELECT "users".* FROM "users"  Rendered text template (0.0ms) Sent data (25.1ms) Completed 200 OK in 156ms (Views: 25.0ms | ActiveRecord: 1.6ms) Connecting to database specified by database.yml Started GET "/users.pdf" for 127.0.0.1 at 2013-06-24 22:44:49 +0600 Processing by UsersController#index as PDF User Load (0.1ms) SELECT "users".* FROM "users"  Rendered text template (0.0ms) Sent data (24.5ms) Completed 200 OK in 149ms (Views: 24.4ms | ActiveRecord: 1.5ms) Connecting to database specified by database.yml Started GET "/users.pdf" for 127.0.0.1 at 2013-06-24 22:45:26 +0600 Processing by UsersController#index as PDF User Load (0.1ms) SELECT "users".* FROM "users"  Rendered text template (0.0ms) Sent data (23.9ms) Completed 200 OK in 149ms (Views: 23.8ms | ActiveRecord: 1.5ms) Connecting to database specified by database.yml Started GET "/users.pdf" for 127.0.0.1 at 2013-06-24 22:46:13 +0600 Processing by UsersController#index as PDF User Load (0.1ms) SELECT "users".* FROM "users"  Rendered text template (0.0ms) Sent data (23.9ms) Completed 200 OK in 150ms (Views: 23.8ms | ActiveRecord: 1.7ms) Connecting to database specified by database.yml Started GET "/users.pdf" for 127.0.0.1 at 2013-06-24 22:59:54 +0600 Processing by UsersController#index as PDF User Load (0.1ms) SELECT "users".* FROM "users"  Rendered text template (0.0ms) Sent data (26.7ms) Completed 200 OK in 155ms (Views: 26.6ms | ActiveRecord: 1.8ms) Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-06-25 17:26:26 +0600 ActionController::RoutingError (No route matches [GET] "/"): actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' rack (1.4.5) lib/rack/runtime.rb:17:in `call' activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.5) lib/rack/lock.rb:15:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call' railties (3.2.13) lib/rails/engine.rb:479:in `call' railties (3.2.13) lib/rails/application.rb:223:in `call' rack (1.4.5) lib/rack/content_length.rb:14:in `call' railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.0ms) Started GET "/users" for 127.0.0.1 at 2013-06-25 17:26:32 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.9ms) User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (36.9ms) Completed 200 OK in 150ms (Views: 96.6ms | ActiveRecord: 1.9ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-25 17:26:32 +0600 Served asset /scaffold.css - 200 OK (1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-25 17:26:32 +0600 Served asset /application.css - 200 OK (2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-25 17:26:32 +0600 Served asset /users.css - 200 OK (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-25 17:26:32 +0600 Served asset /jquery.js - 200 OK (29ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-25 17:26:32 +0600 Served asset /jquery_ujs.js - 200 OK (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-25 17:26:32 +0600 Served asset /users.js - 200 OK (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-25 17:26:32 +0600 Served asset /application.js - 200 OK (3ms) Started GET "/users.pdf" for 127.0.0.1 at 2013-06-25 17:26:38 +0600 Processing by UsersController#index as PDF Completed 500 Internal Server Error in 1ms NoMethodError (undefined method `config' for QueryReport:Module): app/controllers/users_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.2ms) Connecting to database specified by database.yml Started GET "/users.pdf" for 127.0.0.1 at 2013-06-25 17:28:21 +0600 Processing by UsersController#index as PDF User Load (0.1ms) SELECT "users".* FROM "users"  Rendered text template (0.0ms) Sent data (35.8ms) Completed 200 OK in 218ms (Views: 35.7ms | ActiveRecord: 18.4ms) Connecting to database specified by database.yml Started GET "/users.pdf" for 127.0.0.1 at 2013-06-25 17:29:42 +0600 Processing by UsersController#index as PDF User Load (0.1ms) SELECT "users".* FROM "users"  Rendered text template (0.0ms) Sent data (5.3ms) Completed 200 OK in 153ms (Views: 5.0ms | ActiveRecord: 1.8ms) Connecting to database specified by database.yml Started GET "/users.pdf" for 127.0.0.1 at 2013-06-25 17:30:29 +0600 Processing by UsersController#index as PDF User Load (0.1ms) SELECT "users".* FROM "users"  Rendered text template (0.0ms) Sent data (23.1ms) Completed 200 OK in 146ms (Views: 23.0ms | ActiveRecord: 17.3ms) Started GET "/users.json" for 127.0.0.1 at 2013-06-25 17:33:10 +0600 Processing by UsersController#index as JSON User Load (0.2ms) SELECT "users".* FROM "users" Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.2ms) Started GET "/users.csv" for 127.0.0.1 at 2013-06-25 17:33:19 +0600 Processing by UsersController#index as CSV User Load (0.2ms) SELECT "users".* FROM "users"  Rendered text template (0.0ms) Sent data (0.5ms) Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.2ms) Connecting to database specified by database.yml Started GET "/users.json" for 127.0.0.1 at 2013-06-25 17:34:29 +0600 Processing by UsersController#index as JSON User Load (0.1ms) SELECT "users".* FROM "users"  Completed 200 OK in 64ms (Views: 0.2ms | ActiveRecord: 1.6ms) Started GET "/users" for 127.0.0.1 at 2013-06-25 17:34:33 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.5ms) User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (30.1ms) Completed 200 OK in 47ms (Views: 45.8ms | ActiveRecord: 0.2ms) Started GET "/users" for 127.0.0.1 at 2013-06-25 17:34:51 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.6ms) User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (9.5ms) Completed 200 OK in 15ms (Views: 14.2ms | ActiveRecord: 0.2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-25 17:34:51 +0600 Served asset /scaffold.css - 304 Not Modified (3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-25 17:34:51 +0600 Served asset /application.css - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-25 17:34:51 +0600 Served asset /jquery_ujs.js - 304 Not Modified (3ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-25 17:34:51 +0600 Served asset /users.css - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-25 17:34:51 +0600 Served asset /application.js - 304 Not Modified (6ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-25 17:34:51 +0600 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-25 17:34:51 +0600 Served asset /users.js - 304 Not Modified (2ms) Started GET "/users" for 127.0.0.1 at 2013-06-25 17:35:00 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.0ms) User Load (0.3ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "users"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (19.4ms) Completed 200 OK in 31ms (Views: 29.2ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-25 17:35:00 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-25 17:35:01 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-25 17:35:01 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-25 17:35:01 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-25 17:35:01 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-25 17:35:01 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-25 17:35:01 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Connecting to database specified by database.yml Started GET "/users" for 127.0.0.1 at 2013-06-25 17:35:52 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.9ms) User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (36.2ms) Completed 200 OK in 125ms (Views: 49.1ms | ActiveRecord: 1.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-25 17:35:53 +0600 Served asset /application.css - 304 Not Modified (10ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-25 17:35:53 +0600 Served asset /scaffold.css - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-25 17:35:53 +0600 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-25 17:35:53 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-25 17:35:53 +0600 Served asset /users.js - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-25 17:35:53 +0600 Served asset /users.css - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-25 17:35:53 +0600 Served asset /application.js - 304 Not Modified (8ms) Started GET "/users" for 127.0.0.1 at 2013-06-25 17:36:09 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.8ms) User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (9.0ms) Completed 200 OK in 15ms (Views: 14.1ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-25 17:36:09 +0600 Served asset /application.css - 304 Not Modified (4ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-25 17:36:09 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-25 17:36:09 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-25 17:36:09 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-25 17:36:09 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-25 17:36:09 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-25 17:36:09 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/users.pdf" for 127.0.0.1 at 2013-06-25 17:36:29 +0600 Processing by UsersController#index as PDF User Load (0.1ms) SELECT "users".* FROM "users"  Rendered text template (0.0ms) Sent data (2.5ms) Completed 200 OK in 59ms (Views: 2.4ms | ActiveRecord: 0.1ms) Started GET "/users.csv" for 127.0.0.1 at 2013-06-25 17:36:36 +0600 Processing by UsersController#index as CSV User Load (0.2ms) SELECT "users".* FROM "users" Rendered text template (0.0ms) Sent data (0.5ms) Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.2ms) Started GET "/users" for 127.0.0.1 at 2013-06-25 18:02:15 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.1ms) User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (27.3ms) Completed 200 OK in 33ms (Views: 31.7ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-25 18:02:15 +0600 Served asset /application.css - 304 Not Modified (5ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-25 18:02:15 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-25 18:02:15 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-25 18:02:15 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-25 18:02:15 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-25 18:02:15 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-25 18:02:15 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/users?utf8=%E2%9C%93&q%5Bemail_cont%5D=&custom_search%5Bname_cont%5D=&q%5Bcreated_at_gteq%5D=2013-06-01&q%5Bcreated_at_lteq%5D=2013-06-30&commit=Search" for 127.0.0.1 at 2013-06-25 18:02:25 +0600 Processing by UsersController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"email_cont"=>"", "created_at_gteq"=>"2013-06-01", "created_at_lteq"=>"2013-06-30"}, "custom_search"=>{"name_cont"=>""}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (7.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."created_at" >= '2013-06-01 00:00:00.000000' AND "users"."created_at" <= '2013-06-30 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (("users"."created_at" >= '2013-06-01 00:00:00.000000' AND "users"."created_at" <= '2013-06-30 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (17.5ms) Completed 200 OK in 22ms (Views: 21.1ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-25 18:02:25 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-25 18:02:25 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-25 18:02:25 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-25 18:02:25 +0600 Served asset /jquery.js - 304 Not Modified (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-25 18:02:25 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-25 18:02:25 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-25 18:02:25 +0600 Served asset /application.js - 304 Not Modified (1ms) Connecting to database specified by database.yml Connecting to database specified by database.yml Started GET "/users" for 127.0.0.1 at 2013-06-25 18:22:11 +0600 ActionController::RoutingError (autoload must be constant name: Chart::ColumnChartModule): app/controllers/users_controller.rb:1:in `' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (17.8ms) Started GET "/users" for 127.0.0.1 at 2013-06-25 18:22:26 +0600 ActionController::RoutingError (uninitialized constant QueryReport::Chart): app/controllers/users_controller.rb:1:in `' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Connecting to database specified by database.yml Started GET "/users" for 127.0.0.1 at 2013-06-25 18:22:41 +0600 ActionController::RoutingError (uninitialized constant QueryReport::Chart): app/controllers/users_controller.rb:1:in `' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.1ms) Connecting to database specified by database.yml Started GET "/users" for 127.0.0.1 at 2013-06-25 18:23:11 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (20.7ms) User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (36.3ms) Completed 200 OK in 119ms (Views: 65.0ms | ActiveRecord: 1.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-25 18:23:11 +0600 Served asset /application.css - 304 Not Modified (6ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-25 18:23:11 +0600 Served asset /scaffold.css - 304 Not Modified (5ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-25 18:23:11 +0600 Served asset /users.css - 304 Not Modified (2ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-25 18:23:11 +0600 Served asset /users.js - 304 Not Modified (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-25 18:23:11 +0600 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-25 18:23:11 +0600 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-25 18:23:11 +0600 Served asset /application.js - 304 Not Modified (7ms) Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-06-30 08:56:17 +0600 ActionController::RoutingError (No route matches [GET] "/"): actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' rack (1.4.5) lib/rack/runtime.rb:17:in `call' activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.5) lib/rack/lock.rb:15:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call' railties (3.2.13) lib/rails/engine.rb:479:in `call' railties (3.2.13) lib/rails/application.rb:223:in `call' rack (1.4.5) lib/rack/content_length.rb:14:in `call' railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (39.7ms) Started GET "/users" for 127.0.0.1 at 2013-06-30 08:56:23 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (22.1ms) User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (50.7ms) Completed 200 OK in 291ms (Views: 159.0ms | ActiveRecord: 2.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-30 08:56:24 +0600 Served asset /application.css - 304 Not Modified (26ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-06-30 08:56:24 +0600 Served asset /scaffold.css - 304 Not Modified (4ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-06-30 08:56:24 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-30 08:56:24 +0600 Served asset /jquery.js - 304 Not Modified (5ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-30 08:56:24 +0600 Served asset /application.js - 304 Not Modified (7ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-06-30 08:56:24 +0600 Served asset /users.js - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-30 08:56:24 +0600 Served asset /jquery_ujs.js - 200 OK (2ms) Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml  (15.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateUsers (20130622120853) Migrating to CreateInvoices (20130630132513)  (0.1ms) select sqlite_version(*)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "total_paid" float, "total_charged" float, "paid" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130630132513')  (206.0ms) commit transaction  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-06-30 19:28:34 +0600 ActionController::RoutingError (No route matches [GET] "/"): actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' rack (1.4.5) lib/rack/runtime.rb:17:in `call' activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.5) lib/rack/lock.rb:15:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call' railties (3.2.13) lib/rails/engine.rb:479:in `call' railties (3.2.13) lib/rails/application.rb:223:in `call' rack (1.4.5) lib/rack/content_length.rb:14:in `call' railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (6.2ms) Started GET "/invoices" for 127.0.0.1 at 2013-06-30 19:28:42 +0600 Processing by InvoicesController#index as HTML Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices"  Completed 500 Internal Server Error in 171ms NoMethodError (undefined method `reporter' for #): app/controllers/invoices_controller.rb:6:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.1ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (18.2ms) Started GET "/invoices" for 127.0.0.1 at 2013-06-30 19:29:04 +0600 ActionController::RoutingError (uninitialized constant QueryReport::Chart::ChartBase): app/controllers/invoices_controller.rb:1:in `' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.2ms) Started GET "/invoices" for 127.0.0.1 at 2013-06-30 19:30:17 +0600 Processing by InvoicesController#index as HTML Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" Completed 500 Internal Server Error in 40ms NoMethodError (undefined method `reporter' for #): app/controllers/invoices_controller.rb:7:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.3ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.9ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-06-30 19:30:29 +0600 Processing by InvoicesController#index as HTML Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices"  Completed 500 Internal Server Error in 98ms NoMethodError (undefined method `reporter' for #): app/controllers/invoices_controller.rb:7:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (18.4ms) Started GET "/invoices" for 127.0.0.1 at 2013-06-30 19:31:01 +0600 Processing by InvoicesController#index as HTML Completed 500 Internal Server Error in 22ms NameError (uninitialized constant QueryReport::Chart::ColumnChart): app/controllers/invoices_controller.rb:18:in `block in index' app/controllers/invoices_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.3ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.8ms) Started GET "/invoices" for 127.0.0.1 at 2013-06-30 19:31:53 +0600 Processing by InvoicesController#index as HTML Completed 500 Internal Server Error in 7ms NameError (uninitialized constant QueryReport::Chart::ColumnChart): app/controllers/invoices_controller.rb:18:in `block in index' app/controllers/invoices_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.8ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-06-30 19:32:02 +0600 LoadError (cannot load such file -- chart/column_chart): app/controllers/invoices_controller.rb:1:in `' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (4.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (19.2ms) Started GET "/invoices" for 127.0.0.1 at 2013-06-30 19:32:03 +0600 LoadError (cannot load such file -- chart/column_chart): app/controllers/invoices_controller.rb:1:in `' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.6ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.4ms) Started GET "/invoices" for 127.0.0.1 at 2013-06-30 19:32:23 +0600 Processing by InvoicesController#index as HTML Completed 500 Internal Server Error in 119ms NameError (uninitialized constant QueryReport::Chart::ColumnChart): app/controllers/invoices_controller.rb:18:in `block in index' app/controllers/invoices_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.2ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.6ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-06-30 19:32:33 +0600 Processing by InvoicesController#index as HTML Completed 500 Internal Server Error in 122ms NameError (uninitialized constant QueryReport::Chart::ColumnChart): app/controllers/invoices_controller.rb:18:in `block in index' app/controllers/invoices_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (16.0ms) Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-07-01 09:26:55 +0600 Processing by InvoicesController#index as HTML Completed 500 Internal Server Error in 172ms NameError (uninitialized constant QueryReport::Chart::ColumnChart): app/controllers/invoices_controller.rb:18:in `block in index' app/controllers/invoices_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (17.5ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-07-01 09:30:13 +0600 Processing by InvoicesController#index as HTML Completed 500 Internal Server Error in 152ms NameError (uninitialized constant QueryReport::Chart::ColumnChart): app/controllers/invoices_controller.rb:18:in `block in index' app/controllers/invoices_controller.rb:9:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.3ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (16.0ms) Started GET "/invoices" for 127.0.0.1 at 2013-07-01 09:31:08 +0600 Processing by InvoicesController#index as HTML Completed 500 Internal Server Error in 10ms NameError (uninitialized constant QueryReport::Chart::ColumnChart): app/controllers/invoices_controller.rb:19:in `block in index' app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.5ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.0ms) Started GET "/invoices" for 127.0.0.1 at 2013-07-01 09:32:29 +0600 Processing by InvoicesController#index as HTML Completed 500 Internal Server Error in 6ms NameError (uninitialized constant QueryReport::Chart::ColumnChart): app/controllers/invoices_controller.rb:19:in `block in index' app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.3ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.8ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-07-01 09:32:45 +0600 Processing by InvoicesController#index as HTML Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices"  Completed 500 Internal Server Error in 155ms NameError (undefined local variable or method `x_axis' for #): app/controllers/invoices_controller.rb:19:in `block in index' app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.5ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (51.2ms) Started GET "/invoices" for 127.0.0.1 at 2013-07-01 09:33:16 +0600 Processing by InvoicesController#index as HTML Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" Completed 500 Internal Server Error in 11ms NameError (undefined local variable or method `x_axis' for #): app/controllers/invoices_controller.rb:19:in `block in index' app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (17.4ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-07-01 09:33:28 +0600 Processing by InvoicesController#index as HTML Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices"  Completed 500 Internal Server Error in 165ms NoMethodError (undefined method `sum' for #): app/controllers/invoices_controller.rb:21:in `block (3 levels) in index' app/controllers/invoices_controller.rb:20:in `block (2 levels) in index' app/controllers/invoices_controller.rb:19:in `block in index' app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.5ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (21.9ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-07-01 09:37:31 +0600 Processing by InvoicesController#index as HTML  (0.3ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  Completed 500 Internal Server Error in 166ms NoMethodError (undefined method `values' for 0.0:Float): app/controllers/invoices_controller.rb:21:in `block (3 levels) in index' app/controllers/invoices_controller.rb:20:in `block (2 levels) in index' app/controllers/invoices_controller.rb:19:in `block in index' app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.6ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (45.8ms) Started GET "/invoices" for 127.0.0.1 at 2013-07-01 09:37:56 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.2ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Completed 500 Internal Server Error in 11ms NoMethodError (undefined method `<<' for nil:NilClass): app/controllers/invoices_controller.rb:19:in `block in index' app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.5ms) Started GET "/invoices" for 127.0.0.1 at 2013-07-01 09:38:08 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Completed 500 Internal Server Error in 11ms NoMethodError (undefined method `<<' for nil:NilClass): app/controllers/invoices_controller.rb:19:in `block in index' app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.2ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-07-01 09:38:20 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Completed 500 Internal Server Error in 157ms NoMethodError (undefined method `<<' for nil:NilClass): app/controllers/invoices_controller.rb:19:in `block in index' app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.5ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (44.9ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-07-01 09:39:06 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.3ms) Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (90.7ms) Compiled invoices.css (0ms) (pid 3697) Compiled application.css (17ms) (pid 3697) Compiled invoices.js (0ms) (pid 3697) Compiled application.js (55ms) (pid 3697) Completed 200 OK in 524ms (Views: 363.6ms | ActiveRecord: 6.2ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-01 09:39:07 +0600 Served asset /invoices.css - 200 OK (3ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-01 09:39:07 +0600 Served asset /scaffold.css - 304 Not Modified (2ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-01 09:39:07 +0600 Served asset /invoices.js - 200 OK (3ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-01 09:39:07 +0600 Served asset /application.js - 304 Not Modified (21ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-01 09:39:07 +0600 Served asset /application.css - 304 Not Modified (6ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-01 09:39:07 +0600 Served asset /users.css - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-01 09:39:07 +0600 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-01 09:39:07 +0600 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-01 09:39:07 +0600 Served asset /users.js - 304 Not Modified (2ms) Started GET "/invoices.pdf" for 127.0.0.1 at 2013-07-01 09:39:10 +0600 Processing by InvoicesController#index as PDF  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.2ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices"  Rendered text template (0.0ms) Sent data (40.8ms) Completed 200 OK in 218ms (Views: 40.6ms | ActiveRecord: 0.6ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-07-01 09:40:30 +0600 Processing by InvoicesController#index as HTML  (0.3ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.4ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (57.1ms) Completed 200 OK in 253ms (Views: 93.5ms | ActiveRecord: 4.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-01 09:40:30 +0600 Served asset /application.css - 304 Not Modified (19ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-01 09:40:30 +0600 Served asset /scaffold.css - 304 Not Modified (3ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-01 09:40:30 +0600 Served asset /invoices.css - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-01 09:40:30 +0600 Served asset /jquery_ujs.js - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-01 09:40:30 +0600 Served asset /jquery.js - 304 Not Modified (10ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-01 09:40:30 +0600 Served asset /users.css - 304 Not Modified (2ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-01 09:40:30 +0600 Served asset /invoices.js - 304 Not Modified (2ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-01 09:40:30 +0600 Served asset /users.js - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-01 09:40:30 +0600 Served asset /application.js - 304 Not Modified (7ms) Started GET "/invoices.pdf" for 127.0.0.1 at 2013-07-01 09:40:32 +0600 Processing by InvoicesController#index as PDF  (0.3ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.2ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Completed 500 Internal Server Error in 13ms NoMethodError (undefined method `classify' for :bar:Symbol): app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.2ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.0ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.7ms) Connecting to database specified by database.yml Started GET "/invoices.pdf" for 127.0.0.1 at 2013-07-01 09:41:55 +0600 Processing by InvoicesController#index as PDF  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Completed 500 Internal Server Error in 133ms NameError (uninitialized constant Gruff): app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (16.0ms) Connecting to database specified by database.yml Started GET "/invoices.pdf" for 127.0.0.1 at 2013-07-01 09:42:53 +0600 Processing by InvoicesController#index as PDF  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Completed 500 Internal Server Error in 135ms NoMethodError (undefined method `name' for 0.0:Float): app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.6ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (18.9ms) Connecting to database specified by database.yml Started GET "/invoices.pdf" for 127.0.0.1 at 2013-07-01 09:46:02 +0600 Processing by InvoicesController#index as PDF  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" Rendered text template (0.0ms) Sent data (11.3ms) Completed 200 OK in 603ms (Views: 11.1ms | ActiveRecord: 4.2ms) Started GET "/invoices/new" for 127.0.0.1 at 2013-07-01 09:46:17 +0600 Processing by InvoicesController#new as HTML Rendered invoices/_form.html.erb (6.6ms) Rendered invoices/new.html.erb within layouts/application (17.0ms) Completed 200 OK in 85ms (Views: 36.6ms | ActiveRecord: 0.0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-01 09:46:17 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-01 09:46:17 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-01 09:46:17 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-01 09:46:17 +0600 Served asset /application.css - 304 Not Modified (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-01 09:46:17 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-01 09:46:17 +0600 Served asset /jquery.js - 304 Not Modified (3ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-01 09:46:17 +0600 Served asset /invoices.js - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-01 09:46:17 +0600 Served asset /users.js - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-01 09:46:17 +0600 Served asset /application.js - 304 Not Modified (5ms) Started POST "/invoices" for 127.0.0.1 at 2013-07-01 09:46:27 +0600 Processing by InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"hXyw3G3Nc8ol8hG2c6EJo4cdLZ4owOWlPLLyrDsPUJs=", "invoice"=>{"title"=>"Test", "total_paid"=>"100", "total_charged"=>"200", "paid"=>"0"}, "commit"=>"Create Invoice"}  (0.1ms) begin transaction SQL (109.5ms) INSERT INTO "invoices" ("created_at", "paid", "title", "total_charged", "total_paid", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Jul 2013 03:46:27 UTC +00:00], ["paid", false], ["title", "Test"], ["total_charged", 200.0], ["total_paid", 100.0], ["updated_at", Mon, 01 Jul 2013 03:46:27 UTC +00:00]]  (303.2ms) commit transaction Redirected to http://localhost:3000/invoices/1 Completed 302 Found in 427ms (ActiveRecord: 412.8ms) Started GET "/invoices/1" for 127.0.0.1 at 2013-07-01 09:46:28 +0600 Processing by InvoicesController#show as HTML Parameters: {"id"=>"1"} Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", "1"]] Rendered invoices/show.html.erb within layouts/application (2.3ms) Completed 200 OK in 17ms (Views: 11.9ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-01 09:46:28 +0600 Served asset /application.css - 304 Not Modified (12ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-01 09:46:28 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-01 09:46:28 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-01 09:46:28 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-01 09:46:28 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-01 09:46:28 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-01 09:46:28 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-01 09:46:28 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-01 09:46:28 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/invoices" for 127.0.0.1 at 2013-07-01 09:46:30 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.2ms) Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (20.0ms) Completed 200 OK in 38ms (Views: 30.2ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-01 09:46:31 +0600 Served asset /application.css - 304 Not Modified (3ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-01 09:46:31 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-01 09:46:31 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-01 09:46:31 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-01 09:46:31 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-01 09:46:31 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-01 09:46:31 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-01 09:46:31 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-01 09:46:31 +0600 Served asset /application.js - 304 Not Modified (2ms) Started GET "/invoices.pdf" for 127.0.0.1 at 2013-07-01 09:46:33 +0600 Processing by InvoicesController#index as PDF  (0.3ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.2ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices"  Rendered text template (0.0ms) Sent data (1.0ms) Completed 200 OK in 274ms (Views: 0.8ms | ActiveRecord: 0.7ms) Started GET "/invoices/new" for 127.0.0.1 at 2013-07-01 09:46:59 +0600 Processing by InvoicesController#new as HTML Rendered invoices/_form.html.erb (7.3ms) Rendered invoices/new.html.erb within layouts/application (10.2ms) Completed 200 OK in 19ms (Views: 17.9ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-01 09:46:59 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-01 09:46:59 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-01 09:46:59 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-01 09:46:59 +0600 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-01 09:46:59 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-01 09:46:59 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-01 09:46:59 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-01 09:46:59 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-01 09:46:59 +0600 Served asset /application.js - 304 Not Modified (1ms) Started POST "/invoices" for 127.0.0.1 at 2013-07-01 09:47:17 +0600 Processing by InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"hXyw3G3Nc8ol8hG2c6EJo4cdLZ4owOWlPLLyrDsPUJs=", "invoice"=>{"title"=>"Another invoice", "total_paid"=>"298", "total_charged"=>"298", "paid"=>"1"}, "commit"=>"Create Invoice"}  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "invoices" ("created_at", "paid", "title", "total_charged", "total_paid", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 01 Jul 2013 03:47:17 UTC +00:00], ["paid", true], ["title", "Another invoice"], ["total_charged", 298.0], ["total_paid", 298.0], ["updated_at", Mon, 01 Jul 2013 03:47:17 UTC +00:00]]  (220.3ms) commit transaction Redirected to http://localhost:3000/invoices/2 Completed 302 Found in 230ms (ActiveRecord: 220.9ms) Started GET "/invoices/2" for 127.0.0.1 at 2013-07-01 09:47:17 +0600 Processing by InvoicesController#show as HTML Parameters: {"id"=>"2"} Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", "2"]] Rendered invoices/show.html.erb within layouts/application (1.1ms) Completed 200 OK in 13ms (Views: 10.0ms | ActiveRecord: 0.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-01 09:47:17 +0600 Served asset /application.css - 304 Not Modified (3ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-01 09:47:17 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-01 09:47:17 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-01 09:47:17 +0600 Served asset /jquery.js - 304 Not Modified (8ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-01 09:47:17 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-01 09:47:17 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-01 09:47:17 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-01 09:47:17 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-01 09:47:17 +0600 Served asset /application.js - 304 Not Modified (2ms) Started GET "/invoices" for 127.0.0.1 at 2013-07-01 09:47:19 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.6ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (14.0ms) Completed 200 OK in 32ms (Views: 24.0ms | ActiveRecord: 0.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-01 09:47:19 +0600 Served asset /application.css - 304 Not Modified (9ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-01 09:47:19 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-01 09:47:19 +0600 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-01 09:47:19 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-01 09:47:19 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-01 09:47:19 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-01 09:47:19 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-01 09:47:19 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-01 09:47:19 +0600 Served asset /application.js - 304 Not Modified (2ms) Started GET "/invoices.pdf" for 127.0.0.1 at 2013-07-01 09:47:21 +0600 Processing by InvoicesController#index as PDF  (0.3ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" Rendered text template (0.0ms) Sent data (1.1ms) Completed 200 OK in 3498ms (Views: 0.9ms | ActiveRecord: 0.9ms) Started GET "/invoices" for 127.0.0.1 at 2013-07-01 09:48:08 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.6ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (27.2ms) Completed 200 OK in 48ms (Views: 36.9ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-01 09:48:08 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-01 09:48:08 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-01 09:48:08 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-01 09:48:08 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-01 09:48:08 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-01 09:48:08 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-01 09:48:08 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-01 09:48:08 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-01 09:48:08 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/invoices.pdf" for 127.0.0.1 at 2013-07-01 09:48:10 +0600 Processing by InvoicesController#index as PDF  (0.3ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices"  Rendered text template (0.0ms) Sent data (1.0ms) Completed 200 OK in 3297ms (Views: 0.8ms | ActiveRecord: 0.8ms) Started GET "/invoices.pdf" for 127.0.0.1 at 2013-07-01 09:48:30 +0600 Processing by InvoicesController#index as PDF  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices"  Rendered text template (0.0ms) Sent data (1.0ms) Completed 200 OK in 3179ms (Views: 0.8ms | ActiveRecord: 1.3ms) Connecting to database specified by database.yml  (2.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Started GET "/invoices" for 127.0.0.1 at 2013-07-01 09:52:57 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.8ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (14.3ms) Completed 200 OK in 32ms (Views: 23.8ms | ActiveRecord: 0.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-01 09:52:57 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-01 09:52:57 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-01 09:52:57 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-01 09:52:57 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-01 09:52:57 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-01 09:52:57 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-01 09:52:57 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-01 09:52:57 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-01 09:52:57 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/invoices" for 127.0.0.1 at 2013-07-01 09:52:58 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.7ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (14.8ms) Completed 200 OK in 32ms (Views: 24.5ms | ActiveRecord: 0.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-01 09:52:58 +0600 Served asset /application.css - 304 Not Modified (6ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-01 09:52:58 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-01 09:52:58 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-01 09:52:58 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-01 09:52:58 +0600 Served asset /users.css - 304 Not Modified (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-01 09:52:58 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-01 09:52:59 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-01 09:52:59 +0600 Served asset /application.js - 304 Not Modified (2ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-01 09:52:59 +0600 Served asset /users.js - 304 Not Modified (0ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-07-01 09:53:45 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.2ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.7ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (136.0ms) Completed 200 OK in 154ms (Views: 145.4ms | ActiveRecord: 1.1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-01 09:53:45 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-01 09:53:45 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-01 09:53:45 +0600 Served asset /users.css - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-01 09:53:45 +0600 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-01 09:53:45 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-01 09:53:45 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-01 09:53:45 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-01 09:53:45 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-01 09:53:45 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/invoices.pdf" for 127.0.0.1 at 2013-07-01 09:53:54 +0600 Processing by InvoicesController#index as PDF  (0.3ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.2ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Invoice Load (1.1ms) SELECT "invoices".* FROM "invoices" Rendered text template (0.0ms) Sent data (1.1ms) Completed 200 OK in 4323ms (Views: 0.8ms | ActiveRecord: 1.7ms) Connecting to database specified by database.yml Started GET "/users" for 127.0.0.1 at 2013-07-01 19:20:33 +0600 Processing by UsersController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (42.0ms) User Load (0.3ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "users" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (78.9ms) Completed 200 OK in 262ms (Views: 145.7ms | ActiveRecord: 4.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-01 19:20:34 +0600 Served asset /application.css - 304 Not Modified (21ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-01 19:20:34 +0600 Served asset /jquery.js - 200 OK (8ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-01 19:20:34 +0600 Served asset /scaffold.css - 304 Not Modified (3ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-01 19:20:34 +0600 Served asset /invoices.css - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-01 19:20:34 +0600 Served asset /jquery_ujs.js - 200 OK (6ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-01 19:20:34 +0600 Served asset /users.css - 304 Not Modified (2ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-01 19:20:34 +0600 Served asset /invoices.js - 304 Not Modified (2ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-01 19:20:34 +0600 Served asset /users.js - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-01 19:20:34 +0600 Served asset /application.js - 304 Not Modified (8ms) Started GET "/invoices" for 127.0.0.1 at 2013-07-01 19:20:35 +0600 Processing by InvoicesController#index as HTML  (0.3ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.2ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (3.2ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (49.6ms) Completed 200 OK in 71ms (Views: 59.5ms | ActiveRecord: 1.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-01 19:20:35 +0600 Served asset /application.css - 304 Not Modified (9ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-01 19:20:35 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-01 19:20:35 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-01 19:20:35 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-01 19:20:35 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-01 19:20:35 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-01 19:20:35 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-01 19:20:35 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-01 19:20:35 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/invoices.pdf" for 127.0.0.1 at 2013-07-01 19:20:39 +0600 Processing by InvoicesController#index as PDF  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Invoice Load (1.0ms) SELECT "invoices".* FROM "invoices"  Rendered text template (0.0ms) Sent data (4.2ms) Completed 200 OK in 4259ms (Views: 4.0ms | ActiveRecord: 1.6ms) Started GET "/invoices" for 127.0.0.1 at 2013-07-01 19:22:19 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.2ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.7ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0 Invoice Load (1.0ms) SELECT "invoices".* FROM "invoices" CACHE (0.0ms) SELECT "invoices".* FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (404.5ms) Completed 500 Internal Server Error in 418ms ActionView::Template::Error (undefined method `link_to' for #): 15: <%# end %> 16:
17: 18: <% if @report.records.size > 0 %> 19:
20: 21: <% @report.columns.each do |column| %> app/controllers/invoices_controller.rb:15:in `block (2 levels) in index' app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.6ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (12.6ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-07-01 19:27:26 +0600 Processing by InvoicesController#index as HTML  (0.3ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.2ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.3ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0 Invoice Load (1.0ms) SELECT "invoices".* FROM "invoices"  CACHE (0.0ms) SELECT "invoices".* FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (420.9ms) Completed 500 Internal Server Error in 603ms ActionView::Template::Error (undefined method `link_to' for #): 15: <%# end %> 16:
17: 18: <% if @report.records.size > 0 %> 19:
20: 21: <% @report.columns.each do |column| %> app/controllers/invoices_controller.rb:15:in `block (2 levels) in index' app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.5ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (12.0ms) Connecting to database specified by database.yml Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-07-02 10:11:07 +0600 Processing by InvoicesController#index as HTML  (0.3ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.2ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.9ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0 Invoice Load (1.7ms) SELECT "invoices".* FROM "invoices"  CACHE (0.0ms) SELECT "invoices".* FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (431.6ms) Completed 500 Internal Server Error in 743ms ActionView::Template::Error (undefined method `link_to' for #): 15: <%# end %> 16:
17: 18: <% if @report.records.size > 0 %> 19:
20: 21: <% @report.columns.each do |column| %> app/controllers/invoices_controller.rb:15:in `block (2 levels) in index' app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (17.0ms) Started GET "/invoices" for 127.0.0.1 at 2013-07-02 10:12:55 +0600 Processing by InvoicesController#index as HTML  (0.3ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.2ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.6ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0 Invoice Load (0.9ms) SELECT "invoices".* FROM "invoices"  CACHE (0.0ms) SELECT "invoices".* FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (359.2ms) Completed 500 Internal Server Error in 370ms ActionView::Template::Error (undefined method `link_to' for #): 15: <%# end %> 16:
17: 18: <% if @report.records.size > 0 %> 19:
20: 21: <% @report.columns.each do |column| %> app/controllers/invoices_controller.rb:15:in `block (2 levels) in index' app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.6ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (12.3ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-07-02 10:13:05 +0600 Processing by InvoicesController#index as HTML  (0.3ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.2ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.2ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (102.6ms) Completed 200 OK in 390ms (Views: 257.0ms | ActiveRecord: 5.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-02 10:13:05 +0600 Served asset /application.css - 304 Not Modified (21ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-02 10:13:05 +0600 Served asset /users.css - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-02 10:13:05 +0600 Served asset /jquery_ujs.js - 304 Not Modified (6ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-02 10:13:05 +0600 Served asset /invoices.js - 304 Not Modified (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-02 10:13:05 +0600 Served asset /jquery.js - 304 Not Modified (8ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-02 10:13:05 +0600 Served asset /users.js - 304 Not Modified (2ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-02 10:13:05 +0600 Served asset /invoices.css - 304 Not Modified (2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-02 10:13:05 +0600 Served asset /scaffold.css - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-02 10:13:05 +0600 Served asset /application.js - 304 Not Modified (8ms) Started GET "/invoices/3" for 127.0.0.1 at 2013-07-02 10:13:09 +0600 Processing by InvoicesController#show as HTML Parameters: {"id"=>"3"} Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."id" = ? LIMIT 1 [["id", "3"]] Rendered invoices/show.html.erb within layouts/application (2.4ms) Completed 200 OK in 16ms (Views: 12.3ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-02 10:13:09 +0600 Served asset /application.css - 304 Not Modified (7ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-02 10:13:09 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-02 10:13:09 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-02 10:13:09 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-02 10:13:09 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-02 10:13:09 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-02 10:13:09 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-02 10:13:09 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-02 10:13:09 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/invoices.pdf" for 127.0.0.1 at 2013-07-02 10:13:21 +0600 Processing by InvoicesController#index as PDF  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.2ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Invoice Load (1.0ms) SELECT "invoices".* FROM "invoices" Rendered text template (0.0ms) Sent data (4.2ms) Completed 200 OK in 5975ms (Views: 3.9ms | ActiveRecord: 1.7ms) Started GET "/invoices.csv" for 127.0.0.1 at 2013-07-02 10:14:07 +0600 Processing by InvoicesController#index as CSV  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.2ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Invoice Load (0.6ms) SELECT "invoices".* FROM "invoices" Rendered text template (0.0ms) Sent data (0.8ms) Completed 200 OK in 158ms (Views: 0.6ms | ActiveRecord: 1.0ms) Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dogs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dogs" ADD "name" varchar(255)  (0.1ms) ALTER TABLE "dogs" ADD "age" integer  (0.1ms) ALTER TABLE "dogs" ADD "weight" integer Connecting to database specified by database.yml Connecting to database specified by database.yml  (1.5ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dogs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dogs" ADD "name" varchar(255)  (0.1ms) ALTER TABLE "dogs" ADD "age" integer  (0.1ms) ALTER TABLE "dogs" ADD "weight" integer Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_users" ADD "name" varchar(255)  (0.1ms) ALTER TABLE "dummy_users" ADD "age" integer  (0.1ms) ALTER TABLE "dummy_users" ADD "weight" integer Connecting to database specified by database.yml  (1.4ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_users" ADD "name" varchar(255)  (0.1ms) ALTER TABLE "dummy_users" ADD "age" integer  (0.1ms) ALTER TABLE "dummy_users" ADD "weight" integer Connecting to database specified by database.yml Connecting to database specified by database.yml  (1.6ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_users" ADD "name" varchar(255)  (0.1ms) ALTER TABLE "dummy_users" ADD "age" integer  (0.1ms) ALTER TABLE "dummy_users" ADD "weight" integer Connecting to database specified by database.yml  (74.5ms) select sqlite_version(*)  (0.7ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.4ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.4ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date Connecting to database specified by database.yml  (1.4ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date Connecting to database specified by database.yml Connecting to database specified by database.yml  (1.4ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date Connecting to database specified by database.yml  (1.4ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (17.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date Connecting to database specified by database.yml  (1.5ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date  (0.9ms) SELECT SUM("dummy_invoices"."total_charged") AS sum_id FROM "dummy_invoices"  (0.0ms) SELECT SUM("dummy_invoices"."total_paid") AS sum_id FROM "dummy_invoices"   (0.0ms) SELECT SUM("dummy_invoices"."total_paid") AS sum_id FROM "dummy_invoices" DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  DummyInvoice Load (0.0ms) SELECT "dummy_invoices".* FROM "dummy_invoices" DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date Connecting to database specified by database.yml  (1.4ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date  (0.1ms) begin transaction SQL (37.4ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-29 18:49:33 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-29 18:49:33 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.1ms) SELECT SUM("dummy_invoices"."total_charged") AS sum_id FROM "dummy_invoices"  (0.0ms) SELECT SUM("dummy_invoices"."total_paid") AS sum_id FROM "dummy_invoices"   (0.0ms) SELECT SUM("dummy_invoices"."total_paid") AS sum_id FROM "dummy_invoices" DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date  (0.1ms) begin transaction SQL (20.3ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-29 18:50:09 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-29 18:50:09 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.1ms) SELECT SUM("dummy_invoices"."total_charged") AS sum_id FROM "dummy_invoices"  (0.0ms) SELECT SUM("dummy_invoices"."total_paid") AS sum_id FROM "dummy_invoices"   (0.0ms) SELECT SUM("dummy_invoices"."total_paid") AS sum_id FROM "dummy_invoices" DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  Connecting to database specified by database.yml  (1.4ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-29 18:51:12 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-29 18:51:12 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.1ms) SELECT SUM("dummy_invoices"."total_charged") AS sum_id FROM "dummy_invoices"  (0.1ms) SELECT SUM("dummy_invoices"."total_paid") AS sum_id FROM "dummy_invoices"   (0.0ms) SELECT SUM("dummy_invoices"."total_paid") AS sum_id FROM "dummy_invoices" DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date  (0.0ms) begin transaction SQL (20.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-29 19:13:10 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-29 19:13:10 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.1ms) SELECT SUM("dummy_invoices"."total_charged") AS sum_id FROM "dummy_invoices"  (0.0ms) SELECT SUM("dummy_invoices"."total_paid") AS sum_id FROM "dummy_invoices"   (0.0ms) SELECT SUM("dummy_invoices"."total_paid") AS sum_id FROM "dummy_invoices" DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (3.9ms) select sqlite_version(*)  (0.8ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.3ms) ALTER TABLE "dummy_invoices" ADD "created_at" date  (0.1ms) begin transaction SQL (30.9ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 02:49:12 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 02:49:12 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.2ms) SELECT SUM("dummy_invoices"."total_charged") AS sum_id FROM "dummy_invoices"  (0.1ms) SELECT SUM("dummy_invoices"."total_paid") AS sum_id FROM "dummy_invoices"   (0.1ms) SELECT SUM("dummy_invoices"."total_paid") AS sum_id FROM "dummy_invoices" DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices" DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  Connecting to database specified by database.yml  (3.3ms) select sqlite_version(*)  (0.7ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.3ms) ALTER TABLE "dummy_invoices" ADD "created_at" date  (0.1ms) begin transaction SQL (31.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 02:51:08 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 02:51:08 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 100.0]]  (0.0ms) commit transaction Connecting to database specified by database.yml  (3.2ms) select sqlite_version(*)  (0.7ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.3ms) ALTER TABLE "dummy_invoices" ADD "created_at" date  (0.1ms) begin transaction SQL (37.5ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 02:53:57 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 02:53:57 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.2ms) SELECT SUM("dummy_invoices"."total_charged") AS sum_id FROM "dummy_invoices"  (0.1ms) SELECT SUM("dummy_invoices"."total_paid") AS sum_id FROM "dummy_invoices"   (0.1ms) SELECT SUM("dummy_invoices"."total_paid") AS sum_id FROM "dummy_invoices" DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (3.4ms) select sqlite_version(*)  (0.7ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.3ms) ALTER TABLE "dummy_invoices" ADD "created_at" date  (0.1ms) begin transaction SQL (38.8ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 02:55:47 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 02:55:47 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 100.0]]  (0.1ms) commit transaction DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (3.3ms) select sqlite_version(*)  (0.7ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.3ms) ALTER TABLE "dummy_invoices" ADD "created_at" date  (0.1ms) begin transaction SQL (39.8ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 02:56:55 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 02:56:55 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 100.0]]  (0.1ms) commit transaction DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (3.3ms) select sqlite_version(*)  (0.7ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.3ms) ALTER TABLE "dummy_invoices" ADD "created_at" date  (0.1ms) begin transaction SQL (37.6ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:00:09 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:00:09 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.1ms) commit transaction DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (3.2ms) select sqlite_version(*)  (0.7ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.3ms) ALTER TABLE "dummy_invoices" ADD "created_at" date  (0.1ms) begin transaction SQL (38.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:00:38 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:00:38 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.1ms) commit transaction DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (3.2ms) select sqlite_version(*)  (0.7ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.3ms) ALTER TABLE "dummy_invoices" ADD "created_at" date  (0.1ms) begin transaction SQL (9.0ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:02:33 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:02:33 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:02:33 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (3.4ms) select sqlite_version(*)  (16.9ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.4ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.3ms) ALTER TABLE "dummy_invoices" ADD "created_at" date  (0.1ms) begin transaction SQL (8.9ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:03:09 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:03:09 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:03:09 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.1ms) commit transaction DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (3.3ms) select sqlite_version(*)  (0.7ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.3ms) ALTER TABLE "dummy_invoices" ADD "created_at" date  (0.1ms) begin transaction SQL (5.0ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:04:57 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:04:57 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:04:57 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:04:57 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:04:57 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:04:57 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.1ms) commit transaction DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (3.4ms) select sqlite_version(*)  (0.7ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.3ms) ALTER TABLE "dummy_invoices" ADD "created_at" date  (0.1ms) begin transaction SQL (37.4ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:05:53 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:05:54 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:05:54 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.1ms) commit transaction DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:05:54 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:05:54 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:05:54 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.1ms) commit transaction DummyInvoice Load (0.3ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (3.4ms) select sqlite_version(*)  (16.9ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.5ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.3ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (2.6ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.1ms) begin transaction SQL (37.3ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:06:50 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:06:50 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:06:50 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.1ms) commit transaction DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:06:50 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:06:50 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:06:50 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.1ms) commit transaction DummyInvoice Load (0.3ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (3.4ms) select sqlite_version(*)  (0.8ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.4ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.2ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.3ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (2.6ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.1ms) begin transaction SQL (36.9ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:08:30 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:08:30 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:08:30 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.1ms) commit transaction DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:08:30 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:08:30 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:08:30 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.1ms) commit transaction DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (3.3ms) select sqlite_version(*)  (0.7ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.3ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (1.4ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.1ms) begin transaction SQL (3.6ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:08:49 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:08:49 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:08:49 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:08:50 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:08:50 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:08:50 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (3.3ms) select sqlite_version(*)  (0.7ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.3ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (2.5ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.1ms) begin transaction SQL (37.0ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:09:30 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:09:30 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:09:30 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.1ms) commit transaction DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:09:30 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:09:30 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:09:30 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (3.3ms) select sqlite_version(*)  (0.7ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.3ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (2.3ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.1ms) begin transaction SQL (35.8ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:13:25 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:13:25 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:13:25 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.1ms) commit transaction DummyInvoice Load (0.3ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 3]]  (0.2ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:13:25 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:13:25 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:13:25 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.1ms) commit transaction DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:13:25 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:13:25 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:13:25 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.1ms) commit transaction DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (3.4ms) select sqlite_version(*)  (0.7ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.3ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (2.6ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.1ms) begin transaction SQL (35.6ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:20:02 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:20:02 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:20:02 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.1ms) commit transaction DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:20:02 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:20:02 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:20:02 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.1ms) commit transaction DummyInvoice Load (0.3ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:20:02 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:20:02 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:20:02 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:20:02 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:20:02 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:20:02 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction Connecting to database specified by database.yml  (3.3ms) select sqlite_version(*)  (16.2ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.5ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.3ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (2.6ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.1ms) begin transaction SQL (37.6ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:21:11 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:21:11 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:21:11 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.1ms) commit transaction DummyInvoice Load (0.3ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:21:11 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:21:11 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:21:11 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.1ms) commit transaction DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:21:11 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:21:11 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:21:11 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.1ms) commit transaction DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 8]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 9]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:21:11 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:21:11 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:21:11 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.1ms) commit transaction DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (3.2ms) select sqlite_version(*)  (0.7ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.3ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (33.7ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.1ms) begin transaction SQL (6.5ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:22:19 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:22:19 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:22:19 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.1ms) commit transaction DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:22:19 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:22:19 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:22:19 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (3.2ms) select sqlite_version(*)  (0.7ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.3ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.3ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (1.6ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.1ms) begin transaction SQL (36.6ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:22:32 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:22:32 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:22:32 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.1ms) commit transaction DummyInvoice Load (0.3ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:22:32 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:22:32 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 03:22:32 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.1ms) commit transaction DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-07-30 21:13:14 +0600 ActionController::RoutingError (No route matches [GET] "/"): actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' rack (1.4.5) lib/rack/runtime.rb:17:in `call' activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.5) lib/rack/lock.rb:15:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call' railties (3.2.13) lib/rails/engine.rb:479:in `call' railties (3.2.13) lib/rails/application.rb:223:in `call' rack (1.4.5) lib/rack/content_length.rb:14:in `call' railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (3.1ms) Started GET "/invoices" for 127.0.0.1 at 2013-07-30 21:13:19 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.0ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (58.0ms) Completed 200 OK in 331ms (Views: 176.4ms | ActiveRecord: 2.7ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:13:20 +0600 Served asset /invoices.css - 200 OK (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:13:20 +0600 Served asset /users.js - 200 OK (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:13:20 +0600 Served asset /application.css - 200 OK (4ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:13:20 +0600 Served asset /scaffold.css - 200 OK (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:13:20 +0600 Served asset /invoices.js - 200 OK (2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:13:20 +0600 Served asset /users.css - 200 OK (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:13:20 +0600 Served asset /jquery.js - 200 OK (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:13:20 +0600 Served asset /jquery_ujs.js - 200 OK (21ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:13:20 +0600 Served asset /application.js - 200 OK (4ms) Started GET "/invoices" for 127.0.0.1 at 2013-07-30 21:14:31 +0600 Processing by InvoicesController#index as HTML  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (26.4ms) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (27.1ms) Completed 500 Internal Server Error in 51ms ActionView::Template::Error (QueryReport::FilterNotDefined): 1: <%= search_form_for report.search, :url => url_for, :html => {:method => :get, :class => 'form-inline'} do |f| %> 2: <% report.filters.each do |filter| %> 3: <% filter.comparators.each do |key, hint| %> 4: <%= query_report_render_filter(filter, key, hint) %> 5: <% end %> 6: <% end %> 7: <%= f.submit 'Search', :class => 'btn' %> app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (8.0ms) Started GET "/invoices" for 127.0.0.1 at 2013-07-30 21:15:56 +0600 Processing by InvoicesController#index as HTML  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.2ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (19.9ms) Completed 200 OK in 28ms (Views: 23.6ms | ActiveRecord: 0.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:15:56 +0600 Served asset /application.css - 200 OK (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:15:56 +0600 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:15:56 +0600 Served asset /users.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:15:56 +0600 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:15:56 +0600 Served asset /scaffold.css - 200 OK (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:15:56 +0600 Served asset /invoices.css - 200 OK (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:15:56 +0600 Served asset /invoices.js - 200 OK (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:15:56 +0600 Served asset /users.js - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:15:56 +0600 Served asset /application.js - 200 OK (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-07-30 21:16:00 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (0.9ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (15.9ms) Completed 200 OK in 47ms (Views: 19.6ms | ActiveRecord: 0.4ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-07-30 21:16:01 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (0.9ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (17.0ms) Completed 200 OK in 29ms (Views: 21.0ms | ActiveRecord: 0.4ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&commit=Search" for 127.0.0.1 at 2013-07-30 21:16:03 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (16.9ms) Completed 200 OK in 50ms (Views: 42.8ms | ActiveRecord: 0.4ms) Started GET "/invoices" for 127.0.0.1 at 2013-07-30 21:16:09 +0600 Processing by InvoicesController#index as HTML  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.2ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.3ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (14.9ms) Completed 200 OK in 24ms (Views: 19.1ms | ActiveRecord: 0.6ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-07-30 21:16:12 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (0.9ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (15.8ms) Completed 200 OK in 27ms (Views: 19.6ms | ActiveRecord: 0.4ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&commit=Search" for 127.0.0.1 at 2013-07-30 21:16:14 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (0.8ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (37.6ms) Completed 200 OK in 47ms (Views: 41.3ms | ActiveRecord: 0.4ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&commit=Search" for 127.0.0.1 at 2013-07-30 21:16:18 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (0.8ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (15.7ms) Completed 200 OK in 26ms (Views: 19.3ms | ActiveRecord: 0.4ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-07-30 21:16:49 +0600 Processing by InvoicesController#index as HTML  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.9ms) Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (43.9ms) Completed 200 OK in 137ms (Views: 59.3ms | ActiveRecord: 2.0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-07-30 21:16:57 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (16.7ms) Completed 200 OK in 46ms (Views: 39.2ms | ActiveRecord: 0.5ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-07-30 21:19:37 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (24.3ms) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (24.9ms) Completed 500 Internal Server Error in 35ms ActionView::Template::Error (undefined method `boolean?' for #): 1: <%= search_form_for report.search, :url => url_for, :html => {:method => :get, :class => 'form-inline'} do |f| %> 2: <% report.filters.each do |filter| %> 3: <% filter.comparators.each do |key, hint| %> 4: <%= query_report_render_filter(filter, key, hint) %> 5: <% end %> 6: <% end %> 7: <%= f.submit 'Search', :class => 'btn' %> app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.8ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-07-30 21:19:50 +0600 Processing by InvoicesController#index as HTML  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.0ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (42.9ms) Completed 200 OK in 134ms (Views: 57.1ms | ActiveRecord: 2.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:19:50 +0600 Served asset /application.css - 304 Not Modified (5ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:19:50 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:19:50 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:19:50 +0600 Served asset /jquery.js - 304 Not Modified (5ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:19:50 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:19:50 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:19:50 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:19:50 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:19:50 +0600 Served asset /application.js - 304 Not Modified (4ms) Started GET "/invoices" for 127.0.0.1 at 2013-07-30 21:19:50 +0600 Processing by InvoicesController#index as HTML  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.2ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (15.9ms) Completed 200 OK in 23ms (Views: 19.7ms | ActiveRecord: 0.4ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-07-30 21:19:52 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.2ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.2ms) Completed 200 OK in 61ms (Views: 10.1ms | ActiveRecord: 0.4ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&commit=Search" for 127.0.0.1 at 2013-07-30 21:19:56 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.4ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (17.1ms) Completed 200 OK in 27ms (Views: 21.1ms | ActiveRecord: 0.4ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-07-30 21:20:05 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.3ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.4ms) Completed 200 OK in 18ms (Views: 10.4ms | ActiveRecord: 0.4ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&commit=Search" for 127.0.0.1 at 2013-07-30 21:20:40 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.2ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (16.1ms) Completed 200 OK in 26ms (Views: 19.7ms | ActiveRecord: 0.4ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-07-30 21:21:35 +0600 Processing by InvoicesController#index as HTML  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.2ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (43.7ms) Completed 200 OK in 139ms (Views: 60.9ms | ActiveRecord: 1.9ms) Started GET "/invoices" for 127.0.0.1 at 2013-07-30 21:21:35 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.5ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (17.4ms) Completed 200 OK in 26ms (Views: 22.4ms | ActiveRecord: 0.5ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-07-30 21:21:41 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.4ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.6ms) Completed 200 OK in 23ms (Views: 10.5ms | ActiveRecord: 0.4ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-07-30 21:22:57 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.4ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (12.2ms) Completed 200 OK in 25ms (Views: 16.1ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:22:58 +0600 Served asset /application.css - 304 Not Modified (7ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:22:58 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:22:58 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:22:58 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:22:58 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:22:58 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:22:58 +0600 Served asset /invoices.js - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:22:58 +0600 Served asset /users.js - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:22:58 +0600 Served asset /application.js - 304 Not Modified (3ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-07-30 21:23:10 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.4ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (11.4ms) Completed 200 OK in 24ms (Views: 15.1ms | ActiveRecord: 0.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:23:10 +0600 Served asset /application.css - 200 OK (3ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:23:10 +0600 Served asset /invoices.css - 200 OK (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:23:10 +0600 Served asset /users.css - 200 OK (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:23:10 +0600 Served asset /scaffold.css - 200 OK (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:23:10 +0600 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:23:10 +0600 Served asset /jquery.js - 200 OK (2ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:23:10 +0600 Served asset /invoices.js - 200 OK (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:23:10 +0600 Served asset /users.js - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:23:10 +0600 Served asset /application.js - 200 OK (21ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-07-30 21:23:31 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.4ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (11.6ms) Completed 200 OK in 24ms (Views: 15.3ms | ActiveRecord: 0.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:23:31 +0600 Served asset /application.css - 304 Not Modified (4ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:23:31 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:23:31 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:23:31 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:23:31 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:23:31 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:23:31 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:23:31 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:23:31 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-07-30 21:23:47 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.4ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (12.0ms) Completed 200 OK in 25ms (Views: 15.9ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:23:47 +0600 Served asset /application.css - 304 Not Modified (2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:23:47 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:23:47 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:23:47 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:23:47 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:23:47 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:23:47 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:23:47 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:23:47 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-07-30 21:26:47 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.4ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (11.3ms) Completed 200 OK in 23ms (Views: 14.9ms | ActiveRecord: 0.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:26:47 +0600 Served asset /application.css - 200 OK (2ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:26:47 +0600 Served asset /invoices.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:26:47 +0600 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:26:47 +0600 Served asset /scaffold.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:26:47 +0600 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:26:47 +0600 Served asset /users.css - 200 OK (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:26:47 +0600 Served asset /invoices.js - 200 OK (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:26:47 +0600 Served asset /users.js - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:26:47 +0600 Served asset /application.js - 200 OK (20ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=true&commit=Search" for 127.0.0.1 at 2013-07-30 21:26:53 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"true"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.3ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 't' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 't' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.4ms) Completed 200 OK in 18ms (Views: 10.4ms | ActiveRecord: 0.4ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-07-30 21:26:56 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.3ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.2ms) Completed 200 OK in 17ms (Views: 9.8ms | ActiveRecord: 0.4ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-07-30 21:26:59 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.3ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (16.1ms) Completed 200 OK in 27ms (Views: 20.1ms | ActiveRecord: 0.4ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-07-30 21:28:38 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.3ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (21.2ms) Completed 200 OK in 33ms (Views: 24.9ms | ActiveRecord: 0.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:28:38 +0600 Served asset /application.css - 304 Not Modified (6ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:28:38 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:28:38 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:28:38 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:28:38 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:28:38 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:28:38 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:28:38 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:28:38 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-07-30 21:29:35 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.4ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (21.6ms) Completed 200 OK in 59ms (Views: 46.3ms | ActiveRecord: 0.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:29:35 +0600 Served asset /application.css - 304 Not Modified (4ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:29:35 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:29:35 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:29:35 +0600 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:29:35 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:29:35 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:29:35 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:29:35 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:29:35 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-07-30 21:29:38 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.3ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (16.2ms) Completed 200 OK in 29ms (Views: 20.1ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:29:38 +0600 Served asset /application.css - 200 OK (3ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:29:38 +0600 Served asset /scaffold.css - 200 OK (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:29:38 +0600 Served asset /invoices.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:29:38 +0600 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:29:38 +0600 Served asset /jquery.js - 200 OK (2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:29:38 +0600 Served asset /users.css - 200 OK (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:29:38 +0600 Served asset /invoices.js - 200 OK (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:29:38 +0600 Served asset /users.js - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:29:38 +0600 Served asset /application.js - 200 OK (22ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-07-30 21:30:05 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.5ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (22.9ms) Completed 200 OK in 41ms (Views: 26.8ms | ActiveRecord: 0.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:30:05 +0600 Served asset /application.css - 200 OK (23ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:30:05 +0600 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:30:05 +0600 Served asset /invoices.css - 200 OK (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:30:05 +0600 Served asset /users.css - 200 OK (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:30:05 +0600 Served asset /scaffold.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:30:05 +0600 Served asset /jquery_ujs.js - 200 OK (2ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:30:05 +0600 Served asset /invoices.js - 200 OK (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:30:05 +0600 Served asset /users.js - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:30:05 +0600 Served asset /application.js - 200 OK (1ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-07-30 21:30:34 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.5ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (42.2ms) Completed 200 OK in 60ms (Views: 46.0ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:30:34 +0600 Served asset /application.css - 200 OK (4ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:30:34 +0600 Served asset /invoices.css - 200 OK (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:30:34 +0600 Served asset /users.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:30:34 +0600 Served asset /jquery.js - 200 OK (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:30:34 +0600 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:30:34 +0600 Served asset /scaffold.css - 200 OK (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:30:34 +0600 Served asset /invoices.js - 200 OK (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:30:34 +0600 Served asset /users.js - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:30:34 +0600 Served asset /application.js - 200 OK (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-07-30 21:30:44 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.4ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (21.4ms) Completed 200 OK in 58ms (Views: 25.0ms | ActiveRecord: 0.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:30:44 +0600 Served asset /application.css - 200 OK (3ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:30:44 +0600 Served asset /invoices.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:30:44 +0600 Served asset /jquery.js - 200 OK (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:30:44 +0600 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:30:44 +0600 Served asset /users.css - 200 OK (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:30:44 +0600 Served asset /scaffold.css - 200 OK (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:30:44 +0600 Served asset /invoices.js - 200 OK (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:30:44 +0600 Served asset /users.js - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:30:44 +0600 Served asset /application.js - 200 OK (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-07-30 21:30:52 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.5ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (37.1ms) Completed 200 OK in 48ms (Views: 40.8ms | ActiveRecord: 0.4ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=true&commit=Search" for 127.0.0.1 at 2013-07-30 21:30:55 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"true"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.4ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 't' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 't' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.3ms) Completed 200 OK in 17ms (Views: 10.0ms | ActiveRecord: 0.4ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-07-30 21:31:00 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.4ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.2ms) Completed 200 OK in 17ms (Views: 9.9ms | ActiveRecord: 0.4ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-07-30 21:32:18 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (24.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (24.6ms) Completed 500 Internal Server Error in 34ms ActionView::Template::Error (undefined method `[]' for false:FalseClass): 1: <%= search_form_for report.search, :url => url_for, :html => {:method => :get, :class => 'form-inline'} do |f| %> 2: <% report.filters.each do |filter| %> 3: <% filter.comparators.each do |key, hint| %> 4: <%= query_report_render_filter(filter, key, hint) %> 5: <% end %> 6: <% end %> 7: <%= f.submit 'Search', :class => 'btn' %> app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-07-30 21:32:56 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.4ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (11.3ms) Completed 200 OK in 25ms (Views: 15.3ms | ActiveRecord: 0.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:32:56 +0600 Served asset /application.css - 200 OK (5ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:32:56 +0600 Served asset /invoices.css - 200 OK (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:32:56 +0600 Served asset /scaffold.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:32:56 +0600 Served asset /jquery.js - 200 OK (2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:32:56 +0600 Served asset /users.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:32:56 +0600 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:32:56 +0600 Served asset /invoices.js - 200 OK (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:32:56 +0600 Served asset /users.js - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:32:56 +0600 Served asset /application.js - 200 OK (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=true&commit=Search" for 127.0.0.1 at 2013-07-30 21:33:01 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"true"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.4ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 't' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 't' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.4ms) Completed 200 OK in 17ms (Views: 10.3ms | ActiveRecord: 0.4ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-07-30 21:33:05 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.4ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (16.9ms) Completed 200 OK in 28ms (Views: 20.8ms | ActiveRecord: 0.4ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-07-30 21:33:21 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.4ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (21.5ms) Completed 200 OK in 33ms (Views: 25.2ms | ActiveRecord: 0.7ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:33:22 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:33:22 +0600 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:33:22 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:33:22 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:33:22 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:33:22 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:33:22 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:33:22 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:33:22 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=true&commit=Search" for 127.0.0.1 at 2013-07-30 21:33:25 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"true"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.4ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 't' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 't' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.5ms) Completed 200 OK in 19ms (Views: 10.5ms | ActiveRecord: 0.4ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:33:25 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:33:25 +0600 Served asset /jquery.js - 304 Not Modified (5ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:33:25 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:33:25 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:33:25 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:33:25 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:33:25 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:33:25 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:33:25 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-07-30 21:33:29 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.3ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.3ms) Completed 200 OK in 17ms (Views: 9.9ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:33:29 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:33:29 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:33:29 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:33:29 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:33:29 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:33:29 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:33:29 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:33:29 +0600 Served asset /users.js - 304 Not Modified (22ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:33:29 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-07-30 21:33:41 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.4ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (11.3ms) Completed 200 OK in 23ms (Views: 15.2ms | ActiveRecord: 0.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:33:41 +0600 Served asset /application.css - 304 Not Modified (6ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:33:41 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:33:41 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:33:41 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:33:41 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:33:41 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:33:41 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:33:41 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:33:41 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=true&commit=Search" for 127.0.0.1 at 2013-07-30 21:33:44 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"true"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.4ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 't' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 't' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.1ms) Completed 200 OK in 17ms (Views: 9.8ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:33:44 +0600 Served asset /application.css - 304 Not Modified (2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:33:44 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:33:44 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:33:44 +0600 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:33:44 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:33:44 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:33:44 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:33:44 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:33:44 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-07-30 21:33:47 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.4ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.4ms) Completed 200 OK in 17ms (Views: 10.1ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:33:47 +0600 Served asset /application.css - 304 Not Modified (2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:33:47 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:33:47 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:33:47 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:33:47 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:33:47 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:33:47 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:33:47 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:33:47 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-07-30 21:35:05 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.5ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (11.9ms) Completed 200 OK in 25ms (Views: 16.0ms | ActiveRecord: 0.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:35:05 +0600 Served asset /application.css - 304 Not Modified (6ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:35:05 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:35:05 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:35:05 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:35:05 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:35:05 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:35:05 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:35:05 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:35:05 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=true&commit=Search" for 127.0.0.1 at 2013-07-30 21:35:08 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"true"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.4ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 't' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 't' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.2ms) Completed 200 OK in 17ms (Views: 9.8ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:35:08 +0600 Served asset /application.css - 304 Not Modified (4ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:35:08 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:35:08 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:35:08 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:35:08 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:35:08 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:35:08 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:35:08 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:35:08 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-07-30 21:35:11 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.4ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.2ms) Completed 200 OK in 17ms (Views: 10.0ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:35:11 +0600 Served asset /application.css - 304 Not Modified (2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:35:11 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:35:11 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:35:11 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:35:11 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:35:11 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:35:11 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:35:11 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:35:11 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-07-30 21:35:14 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.4ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (16.3ms) Completed 200 OK in 27ms (Views: 20.1ms | ActiveRecord: 0.4ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:35:14 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:35:14 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:35:14 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:35:14 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:35:14 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:35:14 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:35:14 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:35:14 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:35:14 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-07-30 21:35:17 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.5ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.6ms) Completed 200 OK in 18ms (Views: 10.3ms | ActiveRecord: 0.4ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:35:18 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:35:18 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:35:18 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:35:18 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:35:18 +0600 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:35:18 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:35:18 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:35:18 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:35:18 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-07-30 21:42:27 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.4ms) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (2.1ms) Completed 500 Internal Server Error in 11ms ActionView::Template::Error (): 1: <%= search_form_for report.search, :url => url_for, :html => {:method => :get, :class => 'form-inline'} do |f| %> 2: <% report.filters.each do |filter| %> 3: <% filter.comparators.each do |key, hint| %> 4: <%= query_report_render_filter(filter, key, hint) %> 5: <% end %> 6: <% end %> 7: <%= f.submit 'Search', :class => 'btn' %> app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-07-30 21:42:46 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.4ms) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (2.0ms) Completed 500 Internal Server Error in 11ms ActionView::Template::Error (paid_eq :: ): 1: <%= search_form_for report.search, :url => url_for, :html => {:method => :get, :class => 'form-inline'} do |f| %> 2: <% report.filters.each do |filter| %> 3: <% filter.comparators.each do |key, hint| %> 4: <%= query_report_render_filter(filter, key, hint) %> 5: <% end %> 6: <% end %> 7: <%= f.submit 'Search', :class => 'btn' %> app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-07-30 21:43:32 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices"  Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (226.7ms) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (227.4ms) Completed 500 Internal Server Error in 257ms ActionView::Template::Error (undefined local variable or method `search_ey' for #<#:0x0000000471b4f8>): 1: <%= search_form_for report.search, :url => url_for, :html => {:method => :get, :class => 'form-inline'} do |f| %> 2: <% report.filters.each do |filter| %> 3: <% filter.comparators.each do |key, hint| %> 4: <%= query_report_render_filter(filter, key, hint) %> 5: <% end %> 6: <% end %> 7: <%= f.submit 'Search', :class => 'btn' %> app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.9ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-07-30 21:43:41 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.5ms) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (2.1ms) Completed 500 Internal Server Error in 11ms ActionView::Template::Error (paid_eq :: :: false): 1: <%= search_form_for report.search, :url => url_for, :html => {:method => :get, :class => 'form-inline'} do |f| %> 2: <% report.filters.each do |filter| %> 3: <% filter.comparators.each do |key, hint| %> 4: <%= query_report_render_filter(filter, key, hint) %> 5: <% end %> 6: <% end %> 7: <%= f.submit 'Search', :class => 'btn' %> app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.9ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-07-30 21:43:49 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Invoice Load (20.1ms) SELECT "invoices".* FROM "invoices" Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (248.3ms) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (249.0ms) Completed 500 Internal Server Error in 258ms ActionView::Template::Error (undefined local variable or method `search_ey' for #<#:0x007fabe804e2f0>): 1: <%= search_form_for report.search, :url => url_for, :html => {:method => :get, :class => 'form-inline'} do |f| %> 2: <% report.filters.each do |filter| %> 3: <% filter.comparators.each do |key, hint| %> 4: <%= query_report_render_filter(filter, key, hint) %> 5: <% end %> 6: <% end %> 7: <%= f.submit 'Search', :class => 'btn' %> app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.9ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-07-30 21:43:56 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (1.7ms) Completed 500 Internal Server Error in 11ms ActionView::Template::Error (paid_eq :: false :: false): 1: <%= search_form_for report.search, :url => url_for, :html => {:method => :get, :class => 'form-inline'} do |f| %> 2: <% report.filters.each do |filter| %> 3: <% filter.comparators.each do |key, hint| %> 4: <%= query_report_render_filter(filter, key, hint) %> 5: <% end %> 6: <% end %> 7: <%= f.submit 'Search', :class => 'btn' %> app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-07-30 21:44:34 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (0.9ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (10.9ms) Completed 200 OK in 23ms (Views: 14.5ms | ActiveRecord: 0.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:44:34 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:44:34 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:44:34 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:44:34 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:44:34 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:44:34 +0600 Served asset /scaffold.css - 304 Not Modified (2ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:44:34 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:44:34 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:44:34 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=true&commit=Search" for 127.0.0.1 at 2013-07-30 21:44:38 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"true"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 't' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 't' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.0ms) Completed 200 OK in 17ms (Views: 9.8ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:44:38 +0600 Served asset /application.css - 304 Not Modified (3ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:44:38 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:44:38 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:44:38 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:44:38 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:44:38 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:44:38 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:44:38 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:44:38 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-07-30 21:44:41 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>""}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (15.9ms) Completed 200 OK in 49ms (Views: 19.5ms | ActiveRecord: 0.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:44:41 +0600 Served asset /application.css - 304 Not Modified (5ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:44:41 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:44:41 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:44:41 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:44:41 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:44:41 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:44:41 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:44:41 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:44:41 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-07-30 21:55:35 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>""}, "commit"=>"Search"}  (0.6ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (21.0ms) Completed 200 OK in 54ms (Views: 24.6ms | ActiveRecord: 1.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:55:35 +0600 Served asset /application.css - 304 Not Modified (5ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:35 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:55:35 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:55:35 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:55:35 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:35 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:35 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:35 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:35 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=true&commit=Search" for 127.0.0.1 at 2013-07-30 21:55:38 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"true"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 't' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 't' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.0ms) Completed 200 OK in 17ms (Views: 9.7ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:55:39 +0600 Served asset /application.css - 304 Not Modified (5ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:55:39 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:39 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:39 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:55:39 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:55:39 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:39 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:39 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:39 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-07-30 21:55:41 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (5.9ms) Completed 200 OK in 17ms (Views: 9.7ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:55:41 +0600 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:55:41 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:55:41 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:55:41 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:41 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:41 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:41 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:41 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:41 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-07-30 21:55:44 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (15.3ms) Completed 200 OK in 26ms (Views: 19.0ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:55:44 +0600 Served asset /application.css - 304 Not Modified (4ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:55:44 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:55:44 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:44 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:44 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:55:44 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:44 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:44 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:44 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-07-30 21:55:45 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (15.9ms) Completed 200 OK in 27ms (Views: 19.9ms | ActiveRecord: 0.4ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:55:45 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:55:45 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:55:45 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:45 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:45 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:55:45 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:45 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:45 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:45 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-07-01&q%5Bcreated_at_lteq%5D=2013-07-31&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-07-30 21:55:55 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-07-01", "created_at_lteq"=>"2013-07-31", "paid_eq"=>""}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-07-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-07-31 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-07-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-07-31 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-07-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-07-31 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-07-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-07-31 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-07-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-07-31 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (16.5ms) Completed 200 OK in 37ms (Views: 20.2ms | ActiveRecord: 0.6ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:55:55 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:55:55 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:55:55 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:55 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:55 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:55:55 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:55 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:55 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:55 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-07-01&q%5Bcreated_at_lteq%5D=2013-07-31&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-07-30 21:55:55 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-07-01", "created_at_lteq"=>"2013-07-31", "paid_eq"=>""}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-07-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-07-31 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-07-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-07-31 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-07-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-07-31 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-07-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-07-31 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-07-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-07-31 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (16.1ms) Completed 200 OK in 28ms (Views: 19.8ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 21:55:55 +0600 Served asset /application.css - 304 Not Modified (5ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:55 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 21:55:55 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 21:55:55 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 21:55:55 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:55 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:55 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:55 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 21:55:55 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=test&q%5Bcreated_at_gteq%5D=2013-07-01&q%5Bcreated_at_lteq%5D=2013-07-31&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-07-30 22:01:46 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"test", "created_at_gteq"=>"2013-07-01", "created_at_lteq"=>"2013-07-31", "paid_eq"=>""}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-07-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-07-31 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-07-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-07-31 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-07-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-07-31 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-07-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-07-31 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-07-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-07-31 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.1ms) Completed 200 OK in 38ms (Views: 30.3ms | ActiveRecord: 0.5ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 22:01:46 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 22:01:46 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 22:01:46 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 22:01:46 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 22:01:46 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 22:01:46 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 22:01:46 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 22:01:46 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 22:01:46 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=test&q%5Bcreated_at_gteq%5D=2013-07-01&q%5Bcreated_at_lteq%5D=2013-07-31&q%5Bpaid_eq%5D=true&commit=Search" for 127.0.0.1 at 2013-07-30 22:01:50 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"test", "created_at_gteq"=>"2013-07-01", "created_at_lteq"=>"2013-07-31", "paid_eq"=>"true"}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-07-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-07-31 00:00:00.000000' AND "invoices"."paid" = 't'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-07-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-07-31 00:00:00.000000' AND "invoices"."paid" = 't')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-07-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-07-31 00:00:00.000000' AND "invoices"."paid" = 't')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-07-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-07-31 00:00:00.000000' AND "invoices"."paid" = 't')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-07-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-07-31 00:00:00.000000' AND "invoices"."paid" = 't')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (5.6ms) Completed 200 OK in 17ms (Views: 9.2ms | ActiveRecord: 0.5ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 22:01:50 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 22:01:50 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 22:01:50 +0600 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 22:01:50 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 22:01:50 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 22:01:50 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 22:01:50 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 22:01:50 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 22:01:50 +0600 Served asset /application.js - 304 Not Modified (0ms) Connecting to database specified by database.yml  (1.5ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (14.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.0ms) begin transaction SQL (2.6ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:02:08 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:02:08 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:02:08 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (16.8ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:02:08 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:02:08 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:02:08 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:02:08 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:02:08 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:02:08 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:02:08 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:02:08 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:02:08 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (0.9ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.0ms) begin transaction SQL (20.9ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:02:58 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:02:58 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:02:58 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:02:58 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:02:58 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:02:58 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:02:58 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:02:58 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:02:58 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:02:58 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:02:58 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:02:58 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction Connecting to database specified by database.yml  (16.9ms) select sqlite_version(*)  (0.4ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (1.4ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.0ms) begin transaction SQL (2.8ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:13:32 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:13:32 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:13:32 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:13:32 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:13:32 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:13:32 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:13:32 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:13:32 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:13:32 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (17.0ms) select sqlite_version(*)  (0.4ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (0.8ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.0ms) begin transaction SQL (21.8ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:15:04 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:15:04 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:15:04 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.1ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:15:04 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:15:04 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:15:04 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:15:04 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:15:04 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:15:04 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (0.9ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.1ms) begin transaction SQL (2.7ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:17:04 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:17:04 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:17:04 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:17:04 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:17:04 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:17:04 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:17:04 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:17:04 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:17:04 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction Connecting to database specified by database.yml  (1.4ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.2ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (1.0ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.1ms) begin transaction SQL (3.0ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:18:18 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:18:18 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:18:18 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:18:18 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:18:18 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:18:18 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:18:19 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:18:19 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:18:19 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction Connecting to database specified by database.yml  (1.4ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (0.9ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.1ms) begin transaction SQL (3.0ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:18:35 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:18:35 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:18:35 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:18:35 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:18:35 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:18:35 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:18:35 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:18:35 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:18:35 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (0.9ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.1ms) begin transaction SQL (2.7ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:18:56 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:18:56 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:18:56 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:18:56 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:18:56 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:18:56 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:18:56 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:18:56 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:18:56 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (1.0ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.1ms) begin transaction SQL (3.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:33:35 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.2ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:33:35 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:33:35 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:33:35 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:33:35 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:33:35 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:33:35 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:33:35 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:33:35 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 Started GET "/invoices" for 127.0.0.1 at 2013-07-30 22:34:30 +0600 Processing by InvoicesController#index as HTML  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (1.6ms) Completed 500 Internal Server Error in 7ms ActionView::Template::Error (undefined method `options' for #): 1: <%= search_form_for report.search, :url => url_for, :html => {:method => :get, :class => 'form-inline'} do |f| %> 2: <% report.filters.each do |filter| %> 3: <% filter.comparators.each do |key, hint| %> 4: <%= query_report_render_filter(filter, key, hint) %> 5: <% end %> 6: <% end %> 7: <%= f.submit 'Search', :class => 'btn' %> app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.7ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-07-30 22:34:41 +0600 Processing by InvoicesController#index as HTML  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.8ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (43.7ms) Completed 200 OK in 142ms (Views: 59.1ms | ActiveRecord: 2.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 22:34:42 +0600 Served asset /application.css - 304 Not Modified (9ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 22:34:42 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 22:34:42 +0600 Served asset /invoices.css - 304 Not Modified (2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 22:34:42 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 22:34:42 +0600 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 22:34:42 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 22:34:42 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 22:34:42 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 22:34:42 +0600 Served asset /application.js - 304 Not Modified (4ms) Started GET "/invoices" for 127.0.0.1 at 2013-07-30 22:50:11 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (15.5ms) Completed 200 OK in 24ms (Views: 19.6ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 22:50:11 +0600 Served asset /application.css - 200 OK (3ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 22:50:11 +0600 Served asset /users.css - 200 OK (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 22:50:11 +0600 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 22:50:11 +0600 Served asset /jquery.js - 200 OK (3ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 22:50:11 +0600 Served asset /scaffold.css - 200 OK (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 22:50:11 +0600 Served asset /invoices.css - 200 OK (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 22:50:11 +0600 Served asset /invoices.js - 200 OK (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 22:50:11 +0600 Served asset /users.js - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 22:50:11 +0600 Served asset /application.js - 200 OK (2ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-07-30 22:50:20 +0600 Processing by InvoicesController#index as HTML Completed 500 Internal Server Error in 55ms NoMethodError (undefined method `[]=' for nil:NilClass): app/controllers/invoices_controller.rb:22:in `block in index' app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.6ms) Started GET "/invoices" for 127.0.0.1 at 2013-07-30 22:52:14 +0600 Processing by InvoicesController#index as HTML Completed 500 Internal Server Error in 1ms NoMethodError (undefined method `[]=' for nil:NilClass): app/controllers/invoices_controller.rb:22:in `block in index' app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.7ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-07-30 22:52:23 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.6ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 't' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 't' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (17.9ms) Completed 200 OK in 130ms (Views: 48.9ms | ActiveRecord: 2.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 22:52:23 +0600 Served asset /application.css - 304 Not Modified (3ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 22:52:23 +0600 Served asset /scaffold.css - 304 Not Modified (2ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 22:52:23 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 22:52:23 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 22:52:23 +0600 Served asset /jquery.js - 304 Not Modified (6ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 22:52:23 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 22:52:23 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 22:52:23 +0600 Served asset /users.js - 304 Not Modified (20ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 22:52:23 +0600 Served asset /application.js - 304 Not Modified (4ms) Started GET "/invoices" for 127.0.0.1 at 2013-07-30 22:52:34 +0600 Processing by InvoicesController#index as HTML  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (30.4ms) Completed 200 OK in 40ms (Views: 34.2ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 22:52:34 +0600 Served asset /application.css - 200 OK (5ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 22:52:34 +0600 Served asset /users.css - 200 OK (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 22:52:34 +0600 Served asset /scaffold.css - 200 OK (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 22:52:34 +0600 Served asset /invoices.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 22:52:34 +0600 Served asset /jquery.js - 200 OK (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 22:52:34 +0600 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 22:52:34 +0600 Served asset /invoices.js - 200 OK (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 22:52:34 +0600 Served asset /users.js - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 22:52:34 +0600 Served asset /application.js - 200 OK (0ms) Started GET "/invoices" for 127.0.0.1 at 2013-07-30 22:52:37 +0600 Processing by InvoicesController#index as HTML  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (0.9ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (41.8ms) Completed 200 OK in 50ms (Views: 45.7ms | ActiveRecord: 0.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 22:52:37 +0600 Served asset /application.css - 200 OK (5ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 22:52:37 +0600 Served asset /invoices.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 22:52:37 +0600 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 22:52:37 +0600 Served asset /jquery.js - 200 OK (3ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 22:52:37 +0600 Served asset /users.css - 200 OK (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 22:52:37 +0600 Served asset /scaffold.css - 200 OK (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 22:52:37 +0600 Served asset /invoices.js - 200 OK (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 22:52:37 +0600 Served asset /users.js - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 22:52:37 +0600 Served asset /application.js - 200 OK (0ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-07-30 22:53:45 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.7ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (35.5ms) Completed 200 OK in 131ms (Views: 49.6ms | ActiveRecord: 1.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 22:53:45 +0600 Served asset /application.css - 200 OK (9ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 22:53:45 +0600 Served asset /jquery_ujs.js - 200 OK (1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 22:53:45 +0600 Served asset /invoices.css - 200 OK (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 22:53:45 +0600 Served asset /scaffold.css - 200 OK (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 22:53:45 +0600 Served asset /jquery.js - 200 OK (24ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 22:53:45 +0600 Served asset /users.css - 200 OK (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 22:53:45 +0600 Served asset /invoices.js - 200 OK (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 22:53:45 +0600 Served asset /users.js - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 22:53:45 +0600 Served asset /application.js - 200 OK (4ms) Started GET "/invoices" for 127.0.0.1 at 2013-07-30 22:53:57 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (10.6ms) Completed 200 OK in 39ms (Views: 14.3ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-07-30 22:53:57 +0600 Served asset /application.css - 200 OK (7ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-07-30 22:53:57 +0600 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-07-30 22:53:57 +0600 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-07-30 22:53:57 +0600 Served asset /users.css - 200 OK (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-07-30 22:53:57 +0600 Served asset /scaffold.css - 200 OK (1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-07-30 22:53:57 +0600 Served asset /invoices.css - 200 OK (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-07-30 22:53:57 +0600 Served asset /invoices.js - 200 OK (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-07-30 22:53:57 +0600 Served asset /users.js - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-07-30 22:53:57 +0600 Served asset /application.js - 200 OK (0ms) Connecting to database specified by database.yml  (16.8ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (1.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.0ms) begin transaction SQL (2.7ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:54:46 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:54:46 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:54:46 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:54:46 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:54:46 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:54:46 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:54:46 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:54:46 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:54:46 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (1.2ms) select sqlite_version(*)  (1.8ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (1.0ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.1ms) begin transaction SQL (2.8ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:55:02 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:55:02 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:55:02 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:55:02 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:55:02 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:55:02 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:55:02 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:55:02 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-07-30 16:55:02 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (1.5ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (19.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.1ms) begin transaction SQL (14.8ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:44:51 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:44:51 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:44:51 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:44:51 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:44:51 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:44:51 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:44:51 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:44:51 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:44:51 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (0.9ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.0ms) begin transaction SQL (2.5ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:47:35 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:47:35 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:47:35 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:47:35 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:47:35 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:47:35 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:47:35 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:47:35 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:47:35 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (0.9ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.0ms) begin transaction SQL (19.0ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:47:48 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:47:48 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:47:48 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:47:48 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:47:48 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:47:48 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:47:48 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:47:48 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:47:48 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (1.0ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.0ms) begin transaction SQL (2.7ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:49:48 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:49:48 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:49:48 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.2ms) SELECT "dummy_invoices".* FROM "dummy_invoices" WHERE "dummy_invoices"."paid" = 'f' LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:49:48 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:49:48 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:49:48 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:49:48 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:49:48 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:49:48 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (1.2ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (1.0ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.0ms) begin transaction SQL (2.5ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:51:49 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:51:49 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:51:49 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (1.2ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (1.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.1ms) begin transaction SQL (2.8ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:51:56 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:51:56 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:51:56 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (1.0ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.0ms) begin transaction SQL (2.5ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:52:50 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:52:50 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:52:50 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (1.2ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (1.0ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.0ms) begin transaction SQL (20.2ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:56:12 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:56:12 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:56:12 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:56:12 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:56:12 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:56:12 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (1.2ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (0.9ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.0ms) begin transaction SQL (18.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:56:18 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:56:18 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:56:18 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:56:18 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:56:18 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:56:18 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (1.0ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.0ms) begin transaction SQL (2.4ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:58:10 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:58:10 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:58:10 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:58:10 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:58:10 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:58:10 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:58:10 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:58:10 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 13:58:10 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction Connecting to database specified by database.yml  (1.2ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (0.9ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.0ms) begin transaction SQL (2.6ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 14:00:33 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 14:00:33 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 14:00:33 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 14:00:33 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 14:00:33 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 14:00:33 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (1.0ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.0ms) begin transaction SQL (2.8ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 14:07:55 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 14:07:55 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 14:07:55 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 14:07:55 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 14:07:55 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 14:07:55 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction Connecting to database specified by database.yml Started GET "/front_desk?lan=en¤t_reporting_branch_id=45" for 127.0.0.1 at 2013-08-01 20:26:49 +0600 ActionController::RoutingError (No route matches [GET] "/front_desk"): actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' rack (1.4.5) lib/rack/runtime.rb:17:in `call' activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.5) lib/rack/lock.rb:15:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call' railties (3.2.13) lib/rails/engine.rb:479:in `call' railties (3.2.13) lib/rails/application.rb:223:in `call' rack (1.4.5) lib/rack/content_length.rb:14:in `call' railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (3.2ms) Started GET "/hotel_admin/room_types?lan=en" for 127.0.0.1 at 2013-08-01 20:26:50 +0600 ActionController::RoutingError (No route matches [GET] "/hotel_admin/room_types"): actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' rack (1.4.5) lib/rack/runtime.rb:17:in `call' activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.5) lib/rack/lock.rb:15:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call' railties (3.2.13) lib/rails/engine.rb:479:in `call' railties (3.2.13) lib/rails/application.rb:223:in `call' rack (1.4.5) lib/rack/content_length.rb:14:in `call' railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/hotel_admin/rooms?lan=en&room_type_id=57" for 127.0.0.1 at 2013-08-01 20:26:50 +0600 ActionController::RoutingError (No route matches [GET] "/hotel_admin/rooms"): actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' rack (1.4.5) lib/rack/runtime.rb:17:in `call' activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.5) lib/rack/lock.rb:15:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call' railties (3.2.13) lib/rails/engine.rb:479:in `call' railties (3.2.13) lib/rails/application.rb:223:in `call' rack (1.4.5) lib/rack/content_length.rb:14:in `call' railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms) Started GET "/" for 127.0.0.1 at 2013-08-01 20:26:57 +0600 ActionController::RoutingError (No route matches [GET] "/"): actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' rack (1.4.5) lib/rack/runtime.rb:17:in `call' activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.5) lib/rack/lock.rb:15:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call' railties (3.2.13) lib/rails/engine.rb:479:in `call' railties (3.2.13) lib/rails/application.rb:223:in `call' rack (1.4.5) lib/rack/content_length.rb:14:in `call' railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms) Started GET "/invoices" for 127.0.0.1 at 2013-08-01 20:27:03 +0600 Processing by InvoicesController#index as HTML  (33.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.8ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (40.3ms) Completed 200 OK in 320ms (Views: 202.6ms | ActiveRecord: 34.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 20:27:04 +0600 Served asset /application.css - 304 Not Modified (25ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 20:27:04 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 20:27:04 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:04 +0600 Served asset /jquery_ujs.js - 200 OK (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:04 +0600 Served asset /jquery.js - 200 OK (3ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 20:27:04 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:04 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:04 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:04 +0600 Served asset /application.js - 304 Not Modified (5ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-01 20:27:11 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (5.8ms) Completed 200 OK in 16ms (Views: 9.3ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 20:27:11 +0600 Served asset /application.css - 304 Not Modified (4ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 20:27:11 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:11 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 20:27:11 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:11 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 20:27:11 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:11 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-08-01 20:27:13 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (5.6ms) Completed 200 OK in 16ms (Views: 9.2ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 20:27:14 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:14 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:14 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 20:27:14 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 20:27:14 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 20:27:14 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:14 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-08-01 20:27:15 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (5.7ms) Completed 200 OK in 17ms (Views: 9.3ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 20:27:15 +0600 Served asset /application.css - 304 Not Modified (5ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:15 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 20:27:15 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 20:27:15 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:15 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 20:27:15 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:15 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices" for 127.0.0.1 at 2013-08-01 20:27:19 +0600 Processing by InvoicesController#index as HTML  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.2ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (5.7ms) Completed 200 OK in 15ms (Views: 9.4ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 20:27:19 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 20:27:19 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 20:27:19 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 20:27:19 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:19 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:19 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:19 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:19 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:19 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-01-01&q%5Bcreated_at_lteq%5D=2013-08-31&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-08-01 20:27:36 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-01-01", "created_at_lteq"=>"2013-08-31", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.9ms) Completed 200 OK in 62ms (Views: 10.7ms | ActiveRecord: 0.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 20:27:36 +0600 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 20:27:36 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:36 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 20:27:36 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:36 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 20:27:36 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:36 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:36 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:36 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-01-01&q%5Bcreated_at_lteq%5D=2013-08-31&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-01 20:27:39 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-01-01", "created_at_lteq"=>"2013-08-31", "paid_eq"=>""}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.4ms) Completed 200 OK in 19ms (Views: 10.3ms | ActiveRecord: 0.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 20:27:39 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 20:27:39 +0600 Served asset /users.css - 304 Not Modified (4ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 20:27:39 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 20:27:39 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:39 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:39 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:39 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:39 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:39 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-01-01&q%5Bcreated_at_lteq%5D=2013-08-31&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-01 20:27:48 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-01-01", "created_at_lteq"=>"2013-08-31", "paid_eq"=>""}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.3ms) Completed 200 OK in 18ms (Views: 10.1ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 20:27:48 +0600 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 20:27:48 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:48 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:48 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 20:27:48 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 20:27:48 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:48 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:48 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 20:27:48 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-01-01&q%5Bcreated_at_lteq%5D=2013-08-31&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-01 20:30:19 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-01-01", "created_at_lteq"=>"2013-08-31", "paid_eq"=>""}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.4ms) Completed 200 OK in 19ms (Views: 10.2ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 20:30:19 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-01 20:30:19 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 20:30:19 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-01 20:30:19 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 20:30:19 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 20:30:19 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 20:30:19 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 20:30:19 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 20:30:19 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-01-01&q%5Bcreated_at_lteq%5D=2013-08-31&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-01 20:30:39 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-01-01", "created_at_lteq"=>"2013-08-31", "paid_eq"=>""}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.3ms) Completed 200 OK in 18ms (Views: 9.8ms | ActiveRecord: 0.5ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 20:30:39 +0600 Served asset /invoices.css - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-01 20:30:39 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 20:30:39 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 20:30:39 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-01 20:30:39 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 20:30:39 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 20:30:39 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 20:30:39 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 20:30:39 +0600 Served asset /application.js - 304 Not Modified (0ms) Connecting to database specified by database.yml Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-01-01&q%5Bcreated_at_lteq%5D=2013-08-31&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-01 20:31:17 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-01-01", "created_at_lteq"=>"2013-08-31", "paid_eq"=>""}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.8ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (18.2ms) Completed 200 OK in 153ms (Views: 66.7ms | ActiveRecord: 2.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 20:31:17 +0600 Served asset /application.css - 304 Not Modified (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-01 20:31:17 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 20:31:17 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 20:31:17 +0600 Served asset /scaffold.css - 304 Not Modified (2ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 20:31:17 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-01 20:31:17 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 20:31:17 +0600 Served asset /invoices.js - 304 Not Modified (19ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 20:31:17 +0600 Served asset /users.js - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 20:31:17 +0600 Served asset /application.js - 304 Not Modified (4ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-01-01&q%5Bcreated_at_lteq%5D=2013-08-31&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-01 20:31:21 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-01-01", "created_at_lteq"=>"2013-08-31", "paid_eq"=>""}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-01-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-08-31 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.3ms) Completed 200 OK in 20ms (Views: 10.2ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 20:31:21 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 20:31:21 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 20:31:21 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 20:31:21 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-01 20:31:21 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-01 20:31:21 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 20:31:21 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 20:31:21 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 20:31:21 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/invoices" for 127.0.0.1 at 2013-08-01 20:31:25 +0600 Processing by InvoicesController#index as HTML  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (7.5ms) Completed 200 OK in 37ms (Views: 31.5ms | ActiveRecord: 0.5ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 20:31:25 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-01 20:31:25 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 20:31:25 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 20:31:25 +0600 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 20:31:25 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-01 20:31:25 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 20:31:25 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 20:31:25 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 20:31:25 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices" for 127.0.0.1 at 2013-08-01 20:31:28 +0600 Processing by InvoicesController#index as HTML  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.2ms) Completed 200 OK in 15ms (Views: 10.2ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 20:31:28 +0600 Served asset /application.css - 304 Not Modified (5ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 20:31:28 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 20:31:28 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-01 20:31:28 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 20:31:28 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-01 20:31:28 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 20:31:28 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 20:31:28 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 20:31:28 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=true&commit=Search" for 127.0.0.1 at 2013-08-01 20:31:34 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"true"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 't' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 't' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (5.7ms) Completed 200 OK in 17ms (Views: 9.5ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 20:31:34 +0600 Served asset /application.css - 304 Not Modified (25ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 20:31:34 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 20:31:34 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 20:31:34 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-01 20:31:34 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-01 20:31:34 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 20:31:34 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 20:31:34 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 20:31:34 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-01 20:31:38 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (5.9ms) Completed 200 OK in 17ms (Views: 9.5ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 20:31:38 +0600 Served asset /application.css - 304 Not Modified (4ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 20:31:38 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-01 20:31:38 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 20:31:38 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 20:31:38 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-01 20:31:38 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 20:31:38 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 20:31:38 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 20:31:38 +0600 Served asset /application.js - 304 Not Modified (0ms) Connecting to database specified by database.yml Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-08-01 20:32:08 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.6ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (17.9ms) Completed 200 OK in 132ms (Views: 49.3ms | ActiveRecord: 2.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 20:32:08 +0600 Served asset /application.css - 304 Not Modified (9ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 20:32:08 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 20:32:08 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-01 20:32:08 +0600 Served asset /jquery.js - 304 Not Modified (3ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 20:32:08 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-01 20:32:08 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 20:32:08 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 20:32:08 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 20:32:08 +0600 Served asset /application.js - 304 Not Modified (23ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-01 20:32:11 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (72.6ms) Completed 200 OK in 84ms (Views: 76.5ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 20:32:11 +0600 Served asset /application.css - 304 Not Modified (5ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 20:32:11 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-01 20:32:11 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 20:32:11 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-01 20:32:11 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 20:32:11 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 20:32:11 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 20:32:11 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 20:32:11 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-08-01 20:32:14 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (5.9ms) Completed 200 OK in 18ms (Views: 9.9ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 20:32:14 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 20:32:14 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 20:32:14 +0600 Served asset /scaffold.css - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-01 20:32:14 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 20:32:14 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 20:32:14 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-01 20:32:14 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 20:32:14 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 20:32:14 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-01 20:32:18 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (15.7ms) Completed 200 OK in 26ms (Views: 19.4ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 20:32:18 +0600 Served asset /application.css - 304 Not Modified (4ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 20:32:18 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-01 20:32:18 +0600 Served asset /jquery.js - 304 Not Modified (22ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 20:32:18 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 20:32:18 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-01 20:32:18 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 20:32:18 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 20:32:18 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 20:32:18 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/invoices" for 127.0.0.1 at 2013-08-01 20:54:06 +0600 Processing by InvoicesController#index as HTML  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.3ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (12.3ms) Completed 200 OK in 44ms (Views: 36.9ms | ActiveRecord: 0.7ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 20:54:07 +0600 Served asset /invoices.css - 304 Not Modified (4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 20:54:07 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 20:54:07 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-01 20:54:07 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-01 20:54:07 +0600 Served asset /jquery.js - 304 Not Modified (3ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 20:54:07 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 20:54:07 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 20:54:07 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 20:54:07 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-01 20:54:13 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>""}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (16.5ms) Completed 200 OK in 28ms (Views: 20.4ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 20:54:14 +0600 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-01 20:54:14 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 20:54:14 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 20:54:14 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-01 20:54:14 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 20:54:14 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 20:54:14 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 20:54:14 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 20:54:14 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=true&commit=Search" for 127.0.0.1 at 2013-08-01 20:54:16 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"true"}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 't' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 't' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (5.7ms) Completed 200 OK in 38ms (Views: 9.4ms | ActiveRecord: 0.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 20:54:16 +0600 Served asset /application.css - 304 Not Modified (3ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 20:54:16 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 20:54:16 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-01 20:54:16 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 20:54:16 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-01 20:54:16 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 20:54:16 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 20:54:16 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 20:54:16 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-01 20:54:19 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (15.6ms) Completed 200 OK in 27ms (Views: 19.5ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 20:54:19 +0600 Served asset /application.css - 304 Not Modified (6ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 20:54:19 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-01 20:54:19 +0600 Served asset /jquery.js - 304 Not Modified (3ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 20:54:19 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 20:54:19 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-01 20:54:19 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 20:54:19 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 20:54:19 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 20:54:19 +0600 Served asset /application.js - 304 Not Modified (0ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-08-01 20:55:30 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 14:55:31.137163' AND "invoices"."created_at" <= '2014-01-01 14:55:31.137815' AND "invoices"."paid" = 'f'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 14:55:31.137163' AND "invoices"."created_at" <= '2014-01-01 14:55:31.137815' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 14:55:31.137163' AND "invoices"."created_at" <= '2014-01-01 14:55:31.137815' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.7ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 14:55:31.137163' AND "invoices"."created_at" <= '2014-01-01 14:55:31.137815' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 14:55:31.137163' AND "invoices"."created_at" <= '2014-01-01 14:55:31.137815' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (34.5ms) Completed 200 OK in 148ms (Views: 51.6ms | ActiveRecord: 2.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 20:55:31 +0600 Served asset /application.css - 304 Not Modified (7ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 20:55:31 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-01 20:55:31 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 20:55:31 +0600 Served asset /scaffold.css - 304 Not Modified (19ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 20:55:31 +0600 Served asset /users.css - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-01 20:55:31 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 20:55:31 +0600 Served asset /invoices.js - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 20:55:31 +0600 Served asset /application.js - 304 Not Modified (4ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 20:55:31 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=true&commit=Search" for 127.0.0.1 at 2013-08-01 20:55:34 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>"true"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't'  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 't' LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 't' Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.2ms) Completed 200 OK in 18ms (Views: 10.2ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 20:55:34 +0600 Served asset /application.css - 304 Not Modified (5ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 20:55:34 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 20:55:34 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-01 20:55:34 +0600 Served asset /jquery.js - 304 Not Modified (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-01 20:55:34 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 20:55:34 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 20:55:34 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 20:55:34 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 20:55:34 +0600 Served asset /application.js - 304 Not Modified (21ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=&q%5Bcreated_at_lteq%5D=&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-01 20:55:37 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"", "created_at_lteq"=>"", "paid_eq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices"   (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices"  Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (19.4ms) Completed 200 OK in 31ms (Views: 23.4ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 20:55:37 +0600 Served asset /application.css - 304 Not Modified (7ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 20:55:37 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-01 20:55:37 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 20:55:37 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-01 20:55:37 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 20:55:37 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 20:55:37 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 20:55:37 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 20:55:37 +0600 Served asset /application.js - 304 Not Modified (0ms) Connecting to database specified by database.yml Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-08-01 21:13:39 +0600 Processing by InvoicesController#index as HTML Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices"  Completed 500 Internal Server Error in 92ms NoMethodError (undefined method `pa' for #): app/controllers/invoices_controller.rb:22:in `block in index' app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (45.5ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-08-01 21:13:58 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 15:13:58.186831' AND "invoices"."created_at" <= '2014-01-01 15:13:58.187499' AND "invoices"."paid" = 'f'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 15:13:58.186831' AND "invoices"."created_at" <= '2014-01-01 15:13:58.187499' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 15:13:58.186831' AND "invoices"."created_at" <= '2014-01-01 15:13:58.187499' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.7ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 15:13:58.186831' AND "invoices"."created_at" <= '2014-01-01 15:13:58.187499' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 15:13:58.186831' AND "invoices"."created_at" <= '2014-01-01 15:13:58.187499' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (33.7ms) Completed 200 OK in 135ms (Views: 49.1ms | ActiveRecord: 2.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 21:13:58 +0600 Served asset /application.css - 304 Not Modified (7ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-01 21:13:58 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-01 21:13:58 +0600 Served asset /jquery.js - 304 Not Modified (24ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 21:13:58 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 21:13:58 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 21:13:58 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 21:13:58 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 21:13:58 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 21:13:58 +0600 Served asset /application.js - 304 Not Modified (4ms) Started GET "/invoices" for 127.0.0.1 at 2013-08-01 21:14:49 +0600 Processing by InvoicesController#index as HTML  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 15:14:49.000000' AND "invoices"."created_at" <= '2014-01-01 15:14:49.000000' AND "invoices"."paid" = 'f'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 15:14:49.000000' AND "invoices"."created_at" <= '2014-01-01 15:14:49.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 15:14:49.000000' AND "invoices"."created_at" <= '2014-01-01 15:14:49.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 15:14:49.000000' AND "invoices"."created_at" <= '2014-01-01 15:14:49.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 15:14:49.000000' AND "invoices"."created_at" <= '2014-01-01 15:14:49.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (11.3ms) Completed 200 OK in 24ms (Views: 15.1ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 21:14:49 +0600 Served asset /application.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-01 21:14:49 +0600 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 21:14:49 +0600 Served asset /users.css - 200 OK (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 21:14:49 +0600 Served asset /scaffold.css - 200 OK (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 21:14:49 +0600 Served asset /invoices.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-01 21:14:49 +0600 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 21:14:49 +0600 Served asset /invoices.js - 200 OK (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 21:14:49 +0600 Served asset /application.js - 200 OK (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 21:14:49 +0600 Served asset /users.js - 200 OK (0ms) Started GET "/invoices" for 127.0.0.1 at 2013-08-01 21:15:12 +0600 Processing by InvoicesController#index as HTML  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 00:00:00.000000' AND "invoices"."created_at" <= '2014-01-01 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 00:00:00.000000' AND "invoices"."created_at" <= '2014-01-01 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 00:00:00.000000' AND "invoices"."created_at" <= '2014-01-01 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 00:00:00.000000' AND "invoices"."created_at" <= '2014-01-01 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 00:00:00.000000' AND "invoices"."created_at" <= '2014-01-01 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (11.9ms) Completed 200 OK in 67ms (Views: 15.6ms | ActiveRecord: 0.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 21:15:12 +0600 Served asset /application.css - 200 OK (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 21:15:12 +0600 Served asset /invoices.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-01 21:15:12 +0600 Served asset /jquery.js - 200 OK (2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 21:15:12 +0600 Served asset /scaffold.css - 200 OK (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 21:15:12 +0600 Served asset /users.css - 200 OK (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-01 21:15:12 +0600 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 21:15:12 +0600 Served asset /invoices.js - 200 OK (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 21:15:12 +0600 Served asset /users.js - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 21:15:12 +0600 Served asset /application.js - 200 OK (1ms) Started GET "/invoices" for 127.0.0.1 at 2013-08-01 21:21:07 +0600 Processing by InvoicesController#index as HTML  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 00:00:00.000000' AND "invoices"."created_at" <= '2014-01-01 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 00:00:00.000000' AND "invoices"."created_at" <= '2014-01-01 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 00:00:00.000000' AND "invoices"."created_at" <= '2014-01-01 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (47.1ms) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (47.9ms) Completed 500 Internal Server Error in 57ms ActionView::Template::Error (no implicit conversion from nil to integer): 1: <%= search_form_for report.search, :url => url_for, :html => {:method => :get, :class => 'form-inline'} do |f| %> 2: <% report.filters.each do |filter| %> 3: <% filter.comparators.each_with_index do |key, hint, i| %> 4: <%= query_report_render_filter(filter, i, key, hint) %> 5: <% end %> 6: <% end %> 7: <%= f.submit 'Search', :class => 'btn' %> app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.3ms) Started GET "/invoices" for 127.0.0.1 at 2013-08-01 21:24:30 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 00:00:00.000000' AND "invoices"."created_at" <= '2014-01-01 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 00:00:00.000000' AND "invoices"."created_at" <= '2014-01-01 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 00:00:00.000000' AND "invoices"."created_at" <= '2014-01-01 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.4ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 00:00:00.000000' AND "invoices"."created_at" <= '2014-01-01 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 00:00:00.000000' AND "invoices"."created_at" <= '2014-01-01 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (11.7ms) Completed 200 OK in 23ms (Views: 15.4ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 21:24:30 +0600 Served asset /application.css - 304 Not Modified (4ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 21:24:30 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-01 21:24:30 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 21:24:30 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 21:24:30 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-01 21:24:30 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 21:24:30 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 21:24:30 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 21:24:30 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices" for 127.0.0.1 at 2013-08-01 21:25:13 +0600 Processing by InvoicesController#index as HTML  (0.5ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-01 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-01 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-01 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-01 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-01 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (11.3ms) Completed 200 OK in 44ms (Views: 15.1ms | ActiveRecord: 1.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 21:25:13 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 21:25:13 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-01 21:25:13 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-01 21:25:13 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 21:25:13 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 21:25:13 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 21:25:13 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 21:25:13 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 21:25:13 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-01&q%5Bcreated_at_lteq%5D=2013-09-01&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-01 21:25:19 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-01", "created_at_lteq"=>"2013-09-01", "paid_eq"=>""}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-01 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-01 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-01 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-01 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-01 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (18.6ms) Completed 200 OK in 33ms (Views: 22.5ms | ActiveRecord: 0.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 21:25:19 +0600 Served asset /application.css - 304 Not Modified (5ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 21:25:20 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 21:25:20 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 21:25:20 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-01 21:25:20 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-01 21:25:20 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 21:25:20 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 21:25:20 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 21:25:20 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-02&q%5Bcreated_at_lteq%5D=2013-09-01&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-01 21:25:45 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-02", "created_at_lteq"=>"2013-09-01", "paid_eq"=>""}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-02 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-01 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-02 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-01 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-02 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-01 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-02 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-01 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-02 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-01 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (16.5ms) Completed 200 OK in 29ms (Views: 20.1ms | ActiveRecord: 0.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 21:25:45 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 21:25:45 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-01 21:25:45 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 21:25:45 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 21:25:45 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-01 21:25:45 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 21:25:45 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 21:25:45 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 21:25:45 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-02&q%5Bcreated_at_lteq%5D=2013-09-01&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-01 21:25:46 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-02", "created_at_lteq"=>"2013-09-01", "paid_eq"=>""}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-02 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-01 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-02 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-01 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-02 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-01 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms) Invoice Load (20.8ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-02 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-01 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-02 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-01 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (38.2ms) Completed 200 OK in 51ms (Views: 21.1ms | ActiveRecord: 21.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-01 21:25:46 +0600 Served asset /application.css - 304 Not Modified (3ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-01 21:25:46 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-01 21:25:46 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-01 21:25:46 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-01 21:25:46 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-01 21:25:46 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-01 21:25:46 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-01 21:25:46 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-01 21:25:46 +0600 Served asset /application.js - 304 Not Modified (0ms) Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date DummyInvoice Load (41.7ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.1ms) begin transaction SQL (19.7ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 15:28:15 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 15:28:15 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 15:28:15 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices" LIMIT 25 OFFSET 0 DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 15:28:15 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 15:28:15 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 15:28:15 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction DummyInvoice Load (0.1ms) SELECT "dummy_invoices".* FROM "dummy_invoices"  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "dummy_invoices" WHERE "dummy_invoices"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 15:28:16 UTC], ["paid", true], ["title", "Invoice#1"], ["total_charged", 100.0], ["total_paid", 100.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 15:28:16 UTC], ["paid", false], ["title", "Invoice#2"], ["total_charged", 200.0], ["total_paid", 80.0]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "dummy_invoices" ("created_at", "paid", "title", "total_charged", "total_paid") VALUES (?, ?, ?, ?, ?) [["created_at", 2013-08-01 15:28:16 UTC], ["paid", false], ["title", "Invoice#3"], ["total_charged", 340.0], ["total_paid", 12.5]]  (0.0ms) commit transaction Started GET "/invoices.pdf?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-02&q%5Bcreated_at_lteq%5D=2013-09-01&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-01 21:29:41 +0600 Processing by InvoicesController#index as PDF Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-02", "created_at_lteq"=>"2013-09-01", "paid_eq"=>""}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-02 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-01 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-02 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-01 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-02 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-01 00:00:00.000000')) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-02 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-01 00:00:00.000000')) Rendered text template (0.0ms) Sent data (14.1ms) Completed 200 OK in 2406ms (Views: 14.0ms | ActiveRecord: 0.8ms) Connecting to database specified by database.yml  (1.6ms) select sqlite_version(*)  (0.3ms) CREATE TEMPORARY TABLE "dummy_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "title" varchar(255)  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_paid" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "total_charged" float  (0.1ms) ALTER TABLE "dummy_invoices" ADD "paid" boolean  (0.1ms) ALTER TABLE "dummy_invoices" ADD "created_at" date Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-08-04 09:43:22 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.4ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (103.0ms) Completed 200 OK in 574ms (Views: 243.7ms | ActiveRecord: 6.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:23 +0600 Served asset /application.css - 304 Not Modified (6ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:23 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:23 +0600 Served asset /scaffold.css - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:23 +0600 Served asset /jquery.js - 304 Not Modified (6ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:23 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:23 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:23 +0600 Served asset /invoices.js - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:23 +0600 Served asset /users.js - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:23 +0600 Served asset /application.js - 304 Not Modified (5ms) Started GET "/invoices?q%5Bs%5D=total_charged+asc" for 127.0.0.1 at 2013-08-04 09:43:28 +0600 Processing by InvoicesController#index as HTML Parameters: {"q"=>{"s"=>"total_charged asc"}}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.6ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."paid" = 'f')) ORDER BY "invoices"."total_charged" ASC LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (25.2ms) Completed 200 OK in 87ms (Views: 34.6ms | ActiveRecord: 1.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:28 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:28 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:28 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:28 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:28 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:28 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:28 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:28 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:28 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-04&q%5Bcreated_at_lteq%5D=2013-09-04&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-04 09:43:31 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-04", "created_at_lteq"=>"2013-09-04", "paid_eq"=>""}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.5ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (68.3ms) Completed 200 OK in 100ms (Views: 77.6ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:31 +0600 Served asset /application.css - 304 Not Modified (17ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:31 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:31 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:31 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:31 +0600 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:31 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:31 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:31 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:31 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/invoices?q%5Bcreated_at_gteq%5D=2013-03-04&q%5Bcreated_at_lteq%5D=2013-09-04&q%5Bpaid_eq%5D=&q%5Bs%5D=total_charged+asc&q%5Btitle_cont%5D=" for 127.0.0.1 at 2013-08-04 09:43:33 +0600 Processing by InvoicesController#index as HTML Parameters: {"q"=>{"created_at_gteq"=>"2013-03-04", "created_at_lteq"=>"2013-09-04", "paid_eq"=>"", "s"=>"total_charged asc", "title_cont"=>""}}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.7ms) Invoice Load (1.0ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) ORDER BY "invoices"."total_charged" ASC LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (55.2ms) Completed 200 OK in 91ms (Views: 67.4ms | ActiveRecord: 2.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:34 +0600 Served asset /application.css - 304 Not Modified (17ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:34 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:34 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:34 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:34 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:34 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:34 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:34 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:34 +0600 Served asset /application.js - 304 Not Modified (2ms) Started GET "/invoices?q%5Bcreated_at_gteq%5D=2013-03-04&q%5Bcreated_at_lteq%5D=2013-09-04&q%5Bpaid_eq%5D=&q%5Bs%5D=total_charged+desc&q%5Btitle_cont%5D=" for 127.0.0.1 at 2013-08-04 09:43:35 +0600 Processing by InvoicesController#index as HTML Parameters: {"q"=>{"created_at_gteq"=>"2013-03-04", "created_at_lteq"=>"2013-09-04", "paid_eq"=>"", "s"=>"total_charged desc", "title_cont"=>""}}  (1.7ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.5ms) Invoice Load (1.0ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) ORDER BY "invoices"."total_charged" DESC LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (51.4ms) Completed 200 OK in 125ms (Views: 60.0ms | ActiveRecord: 3.4ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:36 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:36 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:36 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:36 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:36 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:36 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:36 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:36 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:36 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/invoices?page=2&q%5Bcreated_at_gteq%5D=2013-03-04&q%5Bcreated_at_lteq%5D=2013-09-04&q%5Bpaid_eq%5D=&q%5Bs%5D=total_charged+desc&q%5Btitle_cont%5D=" for 127.0.0.1 at 2013-08-04 09:43:42 +0600 Processing by InvoicesController#index as HTML Parameters: {"page"=>"2", "q"=>{"created_at_gteq"=>"2013-03-04", "created_at_lteq"=>"2013-09-04", "paid_eq"=>"", "s"=>"total_charged desc", "title_cont"=>""}}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.7ms) Invoice Load (1.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) ORDER BY "invoices"."total_charged" DESC LIMIT 25 OFFSET 25  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (128.1ms) Completed 200 OK in 161ms (Views: 137.5ms | ActiveRecord: 2.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:42 +0600 Served asset /application.css - 304 Not Modified (8ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:42 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:42 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:42 +0600 Served asset /jquery_ujs.js - 304 Not Modified (3ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:42 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:42 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:42 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:42 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:42 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/invoices?page=3&q%5Bcreated_at_gteq%5D=2013-03-04&q%5Bcreated_at_lteq%5D=2013-09-04&q%5Bpaid_eq%5D=&q%5Bs%5D=total_charged+desc&q%5Btitle_cont%5D=" for 127.0.0.1 at 2013-08-04 09:43:45 +0600 Processing by InvoicesController#index as HTML Parameters: {"page"=>"3", "q"=>{"created_at_gteq"=>"2013-03-04", "created_at_lteq"=>"2013-09-04", "paid_eq"=>"", "s"=>"total_charged desc", "title_cont"=>""}}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.7ms) Invoice Load (1.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) ORDER BY "invoices"."total_charged" DESC LIMIT 25 OFFSET 50  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (60.9ms) Completed 200 OK in 94ms (Views: 69.9ms | ActiveRecord: 2.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:45 +0600 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:45 +0600 Served asset /scaffold.css - 304 Not Modified (3ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:45 +0600 Served asset /invoices.css - 304 Not Modified (5ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:45 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:45 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:45 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:45 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:45 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:45 +0600 Served asset /application.js - 304 Not Modified (2ms) Started GET "/invoices?page=4&q%5Bcreated_at_gteq%5D=2013-03-04&q%5Bcreated_at_lteq%5D=2013-09-04&q%5Bpaid_eq%5D=&q%5Bs%5D=total_charged+desc&q%5Btitle_cont%5D=" for 127.0.0.1 at 2013-08-04 09:43:50 +0600 Processing by InvoicesController#index as HTML Parameters: {"page"=>"4", "q"=>{"created_at_gteq"=>"2013-03-04", "created_at_lteq"=>"2013-09-04", "paid_eq"=>"", "s"=>"total_charged desc", "title_cont"=>""}}  (0.7ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.5ms) Invoice Load (1.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) ORDER BY "invoices"."total_charged" DESC LIMIT 25 OFFSET 75  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (56.6ms) Completed 200 OK in 128ms (Views: 65.7ms | ActiveRecord: 2.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:50 +0600 Served asset /application.css - 304 Not Modified (18ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:50 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:50 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:50 +0600 Served asset /jquery_ujs.js - 304 Not Modified (4ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:50 +0600 Served asset /jquery.js - 304 Not Modified (5ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:50 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:50 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:50 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:50 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/invoices?q%5Bcreated_at_gteq%5D=2013-03-04&q%5Bcreated_at_lteq%5D=2013-09-04&q%5Bpaid_eq%5D=&q%5Bs%5D=total_paid+asc&q%5Btitle_cont%5D=" for 127.0.0.1 at 2013-08-04 09:43:54 +0600 Processing by InvoicesController#index as HTML Parameters: {"q"=>{"created_at_gteq"=>"2013-03-04", "created_at_lteq"=>"2013-09-04", "paid_eq"=>"", "s"=>"total_paid asc", "title_cont"=>""}}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.7ms) Invoice Load (1.1ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) ORDER BY "invoices"."total_paid" ASC LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (55.7ms) Completed 200 OK in 91ms (Views: 65.0ms | ActiveRecord: 2.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:55 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:55 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:55 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:55 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:55 +0600 Served asset /users.css - 304 Not Modified (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:55 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:55 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:55 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:55 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/invoices?page=2&q%5Bcreated_at_gteq%5D=2013-03-04&q%5Bcreated_at_lteq%5D=2013-09-04&q%5Bpaid_eq%5D=&q%5Bs%5D=total_paid+asc&q%5Btitle_cont%5D=" for 127.0.0.1 at 2013-08-04 09:43:59 +0600 Processing by InvoicesController#index as HTML Parameters: {"page"=>"2", "q"=>{"created_at_gteq"=>"2013-03-04", "created_at_lteq"=>"2013-09-04", "paid_eq"=>"", "s"=>"total_paid asc", "title_cont"=>""}}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.5ms) Invoice Load (1.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) ORDER BY "invoices"."total_paid" ASC LIMIT 25 OFFSET 25  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (55.3ms) Completed 200 OK in 85ms (Views: 63.6ms | ActiveRecord: 2.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:59 +0600 Served asset /application.css - 304 Not Modified (17ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:59 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:59 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:59 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-04 09:43:59 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:59 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:59 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:59 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-04 09:43:59 +0600 Served asset /application.js - 304 Not Modified (2ms) Started GET "/invoices?page=3&q%5Bcreated_at_gteq%5D=2013-03-04&q%5Bcreated_at_lteq%5D=2013-09-04&q%5Bpaid_eq%5D=&q%5Bs%5D=total_paid+asc&q%5Btitle_cont%5D=" for 127.0.0.1 at 2013-08-04 09:44:02 +0600 Processing by InvoicesController#index as HTML Parameters: {"page"=>"3", "q"=>{"created_at_gteq"=>"2013-03-04", "created_at_lteq"=>"2013-09-04", "paid_eq"=>"", "s"=>"total_paid asc", "title_cont"=>""}}  (0.5ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.5ms) Invoice Load (1.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) ORDER BY "invoices"."total_paid" ASC LIMIT 25 OFFSET 50  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (55.0ms) Completed 200 OK in 123ms (Views: 63.3ms | ActiveRecord: 2.3ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-04 09:44:02 +0600 Served asset /invoices.css - 304 Not Modified (6ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-04 09:44:02 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-04 09:44:02 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-04 09:44:02 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-04 09:44:02 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-04 09:44:02 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-04 09:44:02 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-04 09:44:02 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-04 09:44:02 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/invoices.pdf?page=3&q%5Bcreated_at_gteq%5D=2013-03-04&q%5Bcreated_at_lteq%5D=2013-09-04&q%5Bpaid_eq%5D=&q%5Bs%5D=total_paid+asc&q%5Btitle_cont%5D=" for 127.0.0.1 at 2013-08-04 09:44:18 +0600 Processing by InvoicesController#index as PDF Parameters: {"page"=>"3", "q"=>{"created_at_gteq"=>"2013-03-04", "created_at_lteq"=>"2013-09-04", "paid_eq"=>"", "s"=>"total_paid asc", "title_cont"=>""}}  (0.3ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Invoice Load (1.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) ORDER BY "invoices"."total_paid" ASC Rendered text template (0.0ms) Sent data (12.8ms) Completed 200 OK in 4552ms (Views: 12.5ms | ActiveRecord: 2.0ms) Started GET "/invoices.csv?page=3&q%5Bcreated_at_gteq%5D=2013-03-04&q%5Bcreated_at_lteq%5D=2013-09-04&q%5Bpaid_eq%5D=&q%5Bs%5D=total_paid+asc&q%5Btitle_cont%5D=" for 127.0.0.1 at 2013-08-04 09:46:42 +0600 Processing by InvoicesController#index as CSV Parameters: {"page"=>"3", "q"=>{"created_at_gteq"=>"2013-03-04", "created_at_lteq"=>"2013-09-04", "paid_eq"=>"", "s"=>"total_paid asc", "title_cont"=>""}}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Invoice Load (1.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) ORDER BY "invoices"."total_paid" ASC Rendered text template (0.0ms) Sent data (0.5ms) Completed 200 OK in 193ms (Views: 0.4ms | ActiveRecord: 2.1ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=5&q%5Bcreated_at_gteq%5D=2013-03-04&q%5Bcreated_at_lteq%5D=2013-09-04&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-04 09:50:04 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"5", "created_at_gteq"=>"2013-03-04", "created_at_lteq"=>"2013-09-04", "paid_eq"=>""}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%5%' AND "invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%5%' AND "invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%5%' AND "invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.5ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."title" LIKE '%5%' AND "invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."title" LIKE '%5%' AND "invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (81.9ms) Completed 200 OK in 113ms (Views: 91.4ms | ActiveRecord: 1.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-04 09:50:04 +0600 Served asset /application.css - 304 Not Modified (7ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-04 09:50:04 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-04 09:50:04 +0600 Served asset /invoices.css - 304 Not Modified (4ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-04 09:50:04 +0600 Served asset /jquery_ujs.js - 304 Not Modified (4ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-04 09:50:04 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-04 09:50:04 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-04 09:50:04 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-04 09:50:04 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-04 09:50:04 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/invoices?q%5Bcreated_at_gteq%5D=2013-03-04&q%5Bcreated_at_lteq%5D=2013-09-04&q%5Bpaid_eq%5D=&q%5Bs%5D=total_paid+asc&q%5Btitle_cont%5D=5" for 127.0.0.1 at 2013-08-04 09:50:08 +0600 Processing by InvoicesController#index as HTML Parameters: {"q"=>{"created_at_gteq"=>"2013-03-04", "created_at_lteq"=>"2013-09-04", "paid_eq"=>"", "s"=>"total_paid asc", "title_cont"=>"5"}}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%'))  (0.4ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.5ms) Invoice Load (0.7ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%')) ORDER BY "invoices"."total_paid" ASC LIMIT 25 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (34.9ms) Completed 200 OK in 66ms (Views: 43.9ms | ActiveRecord: 1.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-04 09:50:08 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-04 09:50:08 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-04 09:50:08 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-04 09:50:08 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-04 09:50:08 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-04 09:50:08 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-04 09:50:08 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-04 09:50:08 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-04 09:50:08 +0600 Served asset /application.js - 304 Not Modified (1ms) Connecting to database specified by database.yml Started GET "/invoices?q%5Bcreated_at_gteq%5D=2013-03-04&q%5Bcreated_at_lteq%5D=2013-09-04&q%5Bpaid_eq%5D=&q%5Bs%5D=total_paid+asc&q%5Btitle_cont%5D=5" for 127.0.0.1 at 2013-08-04 09:56:09 +0600 Processing by InvoicesController#index as HTML Parameters: {"q"=>{"created_at_gteq"=>"2013-03-04", "created_at_lteq"=>"2013-09-04", "paid_eq"=>"", "s"=>"total_paid asc", "title_cont"=>"5"}}  (0.5ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.3ms) Invoice Load (0.7ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%')) ORDER BY "invoices"."total_paid" ASC LIMIT 25 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (100.4ms) Completed 200 OK in 368ms (Views: 174.7ms | ActiveRecord: 5.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-04 09:56:10 +0600 Served asset /application.css - 304 Not Modified (26ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-04 09:56:10 +0600 Served asset /scaffold.css - 304 Not Modified (2ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-04 09:56:10 +0600 Served asset /invoices.css - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-04 09:56:10 +0600 Served asset /jquery.js - 304 Not Modified (8ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-04 09:56:10 +0600 Served asset /jquery_ujs.js - 304 Not Modified (3ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-04 09:56:10 +0600 Served asset /users.css - 304 Not Modified (2ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-04 09:56:10 +0600 Served asset /invoices.js - 304 Not Modified (2ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-04 09:56:10 +0600 Served asset /users.js - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-04 09:56:10 +0600 Served asset /application.js - 304 Not Modified (8ms) Connecting to database specified by database.yml Started GET "/invoices?q%5Bcreated_at_gteq%5D=2013-03-04&q%5Bcreated_at_lteq%5D=2013-09-04&q%5Bpaid_eq%5D=&q%5Bs%5D=total_paid+asc&q%5Btitle_cont%5D=5" for 127.0.0.1 at 2013-08-04 09:57:11 +0600 Processing by InvoicesController#index as HTML Parameters: {"q"=>{"created_at_gteq"=>"2013-03-04", "created_at_lteq"=>"2013-09-04", "paid_eq"=>"", "s"=>"total_paid asc", "title_cont"=>"5"}}  (0.5ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.4ms) Invoice Load (0.8ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%')) ORDER BY "invoices"."total_paid" ASC LIMIT 25 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (98.7ms) Completed 200 OK in 366ms (Views: 173.3ms | ActiveRecord: 5.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-04 09:57:12 +0600 Served asset /application.css - 200 OK (14ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-04 09:57:12 +0600 Served asset /scaffold.css - 200 OK (2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-04 09:57:12 +0600 Served asset /users.css - 200 OK (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-04 09:57:12 +0600 Served asset /jquery_ujs.js - 200 OK (3ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-04 09:57:12 +0600 Served asset /invoices.css - 200 OK (5ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-04 09:57:12 +0600 Served asset /jquery.js - 200 OK (4ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-04 09:57:12 +0600 Served asset /invoices.js - 200 OK (2ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-04 09:57:12 +0600 Served asset /users.js - 200 OK (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-04 09:57:12 +0600 Served asset /application.js - 200 OK (9ms) Started GET "/invoices?q%5Bcreated_at_gteq%5D=2013-03-04&q%5Bcreated_at_lteq%5D=2013-09-04&q%5Bpaid_eq%5D=&q%5Bs%5D=title+asc&q%5Btitle_cont%5D=5" for 127.0.0.1 at 2013-08-04 09:57:15 +0600 Processing by InvoicesController#index as HTML Parameters: {"q"=>{"created_at_gteq"=>"2013-03-04", "created_at_lteq"=>"2013-09-04", "paid_eq"=>"", "s"=>"title asc", "title_cont"=>"5"}}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.6ms) Invoice Load (0.7ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%')) ORDER BY "invoices"."title" ASC LIMIT 25 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (36.6ms) Completed 200 OK in 71ms (Views: 46.3ms | ActiveRecord: 1.8ms) Connecting to database specified by database.yml Started GET "/invoices?q%5Bcreated_at_gteq%5D=2013-03-04&q%5Bcreated_at_lteq%5D=2013-09-04&q%5Bpaid_eq%5D=&q%5Bs%5D=title+asc&q%5Btitle_cont%5D=5" for 127.0.0.1 at 2013-08-04 09:59:13 +0600 Processing by InvoicesController#index as HTML Parameters: {"q"=>{"created_at_gteq"=>"2013-03-04", "created_at_lteq"=>"2013-09-04", "paid_eq"=>"", "s"=>"title asc", "title_cont"=>"5"}}  (0.5ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.1ms) Invoice Load (1.0ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%')) ORDER BY "invoices"."title" ASC LIMIT 25 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (166.8ms) Completed 200 OK in 410ms (Views: 241.0ms | ActiveRecord: 6.0ms) Started GET "/invoices?q%5Bcreated_at_gteq%5D=2013-03-04&q%5Bcreated_at_lteq%5D=2013-09-04&q%5Bpaid_eq%5D=&q%5Bs%5D=title+desc&q%5Btitle_cont%5D=5" for 127.0.0.1 at 2013-08-04 09:59:17 +0600 Processing by InvoicesController#index as HTML Parameters: {"q"=>{"created_at_gteq"=>"2013-03-04", "created_at_lteq"=>"2013-09-04", "paid_eq"=>"", "s"=>"title desc", "title_cont"=>"5"}}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.7ms) Invoice Load (0.7ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%')) ORDER BY "invoices"."title" DESC LIMIT 25 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (38.1ms) Completed 200 OK in 74ms (Views: 47.7ms | ActiveRecord: 1.9ms) Started GET "/invoices?q%5Bcreated_at_gteq%5D=2013-03-04&q%5Bcreated_at_lteq%5D=2013-09-04&q%5Bpaid_eq%5D=&q%5Bs%5D=title+asc&q%5Btitle_cont%5D=5" for 127.0.0.1 at 2013-08-04 09:59:27 +0600 Processing by InvoicesController#index as HTML Parameters: {"q"=>{"created_at_gteq"=>"2013-03-04", "created_at_lteq"=>"2013-09-04", "paid_eq"=>"", "s"=>"title asc", "title_cont"=>"5"}}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.5ms) Invoice Load (0.7ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%')) ORDER BY "invoices"."title" ASC LIMIT 25 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."title" LIKE '%5%')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (34.1ms) Completed 200 OK in 64ms (Views: 43.0ms | ActiveRecord: 1.8ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-04&q%5Bcreated_at_lteq%5D=2013-09-04&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-04 09:59:33 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-04", "created_at_lteq"=>"2013-09-04", "paid_eq"=>""}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.5ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (56.6ms) Completed 200 OK in 87ms (Views: 66.5ms | ActiveRecord: 1.4ms) Started GET "/invoices?q%5Bcreated_at_gteq%5D=2013-03-04&q%5Bcreated_at_lteq%5D=2013-09-04&q%5Bpaid_eq%5D=&q%5Bs%5D=title+asc&q%5Btitle_cont%5D=" for 127.0.0.1 at 2013-08-04 09:59:36 +0600 Processing by InvoicesController#index as HTML Parameters: {"q"=>{"created_at_gteq"=>"2013-03-04", "created_at_lteq"=>"2013-09-04", "paid_eq"=>"", "s"=>"title asc", "title_cont"=>""}}  (1.5ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.5ms) Invoice Load (0.9ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) ORDER BY "invoices"."title" ASC LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (41.2ms) Completed 200 OK in 108ms (Views: 46.6ms | ActiveRecord: 2.9ms) Connecting to database specified by database.yml Started GET "/invoices?q%5Bcreated_at_gteq%5D=2013-03-04&q%5Bcreated_at_lteq%5D=2013-09-04&q%5Bpaid_eq%5D=&q%5Bs%5D=title+asc&q%5Btitle_cont%5D=" for 127.0.0.1 at 2013-08-04 10:01:37 +0600 Processing by InvoicesController#index as HTML Parameters: {"q"=>{"created_at_gteq"=>"2013-03-04", "created_at_lteq"=>"2013-09-04", "paid_eq"=>"", "s"=>"title asc", "title_cont"=>""}}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.0ms) Invoice Load (1.0ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) ORDER BY "invoices"."title" ASC LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (122.4ms) Completed 200 OK in 376ms (Views: 188.7ms | ActiveRecord: 5.6ms) Started GET "/invoices" for 127.0.0.1 at 2013-08-04 10:01:43 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.7ms) Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (25.4ms) Completed 200 OK in 61ms (Views: 43.9ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-04 10:01:43 +0600 Served asset /application.css - 304 Not Modified (23ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-04 10:01:43 +0600 Served asset /jquery.js - 304 Not Modified (11ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-04 10:01:43 +0600 Served asset /scaffold.css - 304 Not Modified (2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-04 10:01:43 +0600 Served asset /users.css - 304 Not Modified (2ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-04 10:01:43 +0600 Served asset /invoices.css - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-04 10:01:43 +0600 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-04 10:01:43 +0600 Served asset /invoices.js - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-04 10:01:43 +0600 Served asset /users.js - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-04 10:01:43 +0600 Served asset /application.js - 304 Not Modified (9ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-04&q%5Bcreated_at_lteq%5D=2013-09-04&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-04 10:01:47 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-04", "created_at_lteq"=>"2013-09-04", "paid_eq"=>""}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.6ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (55.7ms) Completed 200 OK in 126ms (Views: 102.3ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-04 10:01:47 +0600 Served asset /application.css - 304 Not Modified (20ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-04 10:01:47 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-04 10:01:47 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-04 10:01:47 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-04 10:01:47 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-04 10:01:47 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-04 10:01:47 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-04 10:01:47 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-04 10:01:47 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/invoices?q%5Bcreated_at_gteq%5D=2013-03-04&q%5Bcreated_at_lteq%5D=2013-09-04&q%5Bpaid_eq%5D=&q%5Bs%5D=name+asc&q%5Btitle_cont%5D=" for 127.0.0.1 at 2013-08-04 10:01:49 +0600 Processing by InvoicesController#index as HTML Parameters: {"q"=>{"created_at_gteq"=>"2013-03-04", "created_at_lteq"=>"2013-09-04", "paid_eq"=>"", "s"=>"name asc", "title_cont"=>""}}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.4ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (52.0ms) Completed 200 OK in 82ms (Views: 61.6ms | ActiveRecord: 1.4ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-04 10:01:49 +0600 Served asset /scaffold.css - 304 Not Modified (10ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-04 10:01:49 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-04 10:01:49 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-04 10:01:49 +0600 Served asset /jquery.js - 304 Not Modified (12ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-04 10:01:49 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-04 10:01:49 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-04 10:01:49 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-04 10:01:49 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-04 10:01:49 +0600 Served asset /application.js - 304 Not Modified (2ms) Started GET "/invoices?q%5Bcreated_at_gteq%5D=2013-03-04&q%5Bcreated_at_lteq%5D=2013-09-04&q%5Bpaid_eq%5D=&q%5Bs%5D=name+desc&q%5Btitle_cont%5D=" for 127.0.0.1 at 2013-08-04 10:01:50 +0600 Processing by InvoicesController#index as HTML Parameters: {"q"=>{"created_at_gteq"=>"2013-03-04", "created_at_lteq"=>"2013-09-04", "paid_eq"=>"", "s"=>"name desc", "title_cont"=>""}}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.6ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (54.3ms) Completed 200 OK in 86ms (Views: 64.0ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-04 10:01:50 +0600 Served asset /application.css - 304 Not Modified (4ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-04 10:01:50 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-04 10:01:50 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-04 10:01:50 +0600 Served asset /jquery.js - 304 Not Modified (3ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-04 10:01:50 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-04 10:01:50 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-04 10:01:50 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-04 10:01:50 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-04 10:01:50 +0600 Served asset /application.js - 304 Not Modified (2ms) Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-08-06 10:06:52 +0600 ActionController::RoutingError (No route matches [GET] "/"): actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' rack (1.4.5) lib/rack/runtime.rb:17:in `call' activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.5) lib/rack/lock.rb:15:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call' railties (3.2.13) lib/rails/engine.rb:479:in `call' railties (3.2.13) lib/rails/application.rb:223:in `call' rack (1.4.5) lib/rack/content_length.rb:14:in `call' railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (19.8ms) Started GET "/invoices" for 127.0.0.1 at 2013-08-06 10:06:57 +0600 Processing by InvoicesController#index as HTML Completed 500 Internal Server Error in 64ms NoMethodError (undefined method `any' for #): app/controllers/invoices_controller.rb:22:in `block in index' app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.4ms) Connecting to database specified by database.yml Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-08-06 10:07:37 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-06 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-06 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-06 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (6.8ms) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (47.4ms) Completed 500 Internal Server Error in 161ms ActionView::Template::Error (undefined method `[]' for nil:NilClass): 1: <%= search_form_for report.search, :url => url_for, :html => {:method => :get, :class => 'form-inline'} do |f| %> 2: <% report.filters.each do |filter| %> 3: <% filter.comparators.each do |comparator| %> 4: <%= query_report_render_filter(filter, comparator) %> 5: <% end %> 6: <% end %> 7: <%= f.submit 'Search', :class => 'btn' %> app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.3ms) Started GET "/invoices" for 127.0.0.1 at 2013-08-06 10:14:54 +0600 Processing by InvoicesController#index as HTML  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-06 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-06 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-06 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-06 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-06 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (32.7ms) Completed 200 OK in 143ms (Views: 135.0ms | ActiveRecord: 0.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-06 10:14:54 +0600 Served asset /application.css - 304 Not Modified (2ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-06 10:14:54 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-06 10:14:54 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-06 10:14:54 +0600 Served asset /users.js - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-06 10:14:54 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-06 10:14:54 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-06 10:14:54 +0600 Served asset /application.js - 304 Not Modified (4ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-06 10:14:54 +0600 Served asset /jquery.js - 200 OK (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-06 10:14:54 +0600 Served asset /jquery_ujs.js - 200 OK (1ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-06&q%5Bcreated_at_lteq%5D=2013-09-06&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-06 10:15:01 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-06", "created_at_lteq"=>"2013-09-06", "paid_eq"=>""}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-06 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-06 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-06 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-06 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-06 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (54.8ms) Completed 200 OK in 68ms (Views: 58.6ms | ActiveRecord: 0.6ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-06 10:15:01 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-06 10:15:01 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-06 10:15:01 +0600 Served asset /invoices.js - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-06 10:15:01 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-06 10:15:01 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-06 10:15:01 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-06 10:15:01 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=test&q%5Bcreated_at_gteq%5D=2013-03-06&q%5Bcreated_at_lteq%5D=2013-09-06&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-06 10:15:04 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"test", "created_at_gteq"=>"2013-03-06", "created_at_lteq"=>"2013-09-06", "paid_eq"=>""}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-03-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-06 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-03-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-06 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-03-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-06 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-03-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-06 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-03-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-06 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (9.7ms) Completed 200 OK in 22ms (Views: 13.5ms | ActiveRecord: 0.5ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-06 10:15:04 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-06 10:15:04 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-06 10:15:04 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-06 10:15:04 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-06 10:15:04 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-06 10:15:04 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-06 10:15:04 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=test&q%5Bcreated_at_gteq%5D=2013-03-06&q%5Bcreated_at_lteq%5D=2013-09-06&q%5Bpaid_eq%5D=true&commit=Search" for 127.0.0.1 at 2013-08-06 10:15:12 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"test", "created_at_gteq"=>"2013-03-06", "created_at_lteq"=>"2013-09-06", "paid_eq"=>"true"}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-03-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-06 00:00:00.000000' AND "invoices"."paid" = 't'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-03-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-06 00:00:00.000000' AND "invoices"."paid" = 't')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-03-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-06 00:00:00.000000' AND "invoices"."paid" = 't')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-03-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-06 00:00:00.000000' AND "invoices"."paid" = 't')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-03-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-06 00:00:00.000000' AND "invoices"."paid" = 't')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.1ms) Completed 200 OK in 39ms (Views: 30.3ms | ActiveRecord: 0.6ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-06 10:15:12 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-06 10:15:12 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-06 10:15:12 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-06 10:15:12 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-06 10:15:12 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-06 10:15:12 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-06 10:15:12 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=test&q%5Bcreated_at_gteq%5D=2013-03-06&q%5Bcreated_at_lteq%5D=2013-09-06&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-08-06 10:15:14 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"test", "created_at_gteq"=>"2013-03-06", "created_at_lteq"=>"2013-09-06", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-03-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-06 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-03-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-06 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-03-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-06 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-03-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-06 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-03-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-06 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (10.0ms) Completed 200 OK in 22ms (Views: 13.5ms | ActiveRecord: 0.5ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-06 10:15:14 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-06 10:15:14 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-06 10:15:14 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-06 10:15:14 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-06 10:15:14 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-06 10:15:14 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-06 10:15:14 +0600 Served asset /application.js - 304 Not Modified (0ms) Connecting to database specified by database.yml Connecting to database specified by database.yml  (37.0ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  Connecting to database specified by database.yml  (37.9ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.3ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.3ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  Connecting to database specified by database.yml  (33.2ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  Connecting to database specified by database.yml  (33.7ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  Connecting to database specified by database.yml  (33.8ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)   (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  Connecting to database specified by database.yml  (34.0ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.3ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  Connecting to database specified by database.yml  (33.3ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  Connecting to database specified by database.yml  (33.2ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  Connecting to database specified by database.yml  (33.7ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  Connecting to database specified by database.yml Connecting to database specified by database.yml  (34.0ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  Connecting to database specified by database.yml  (33.8ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (63.0ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (6.5ms) INSERT INTO "users" ("age", "name") VALUES (?, ?) [["age", nil], ["name", "User#1"]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "name") VALUES (?, ?) [["age", nil], ["name", "User#2"]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "name") VALUES (?, ?) [["age", nil], ["name", "User#3"]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "name") VALUES (?, ?) [["age", nil], ["name", "User#1"]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "name") VALUES (?, ?) [["age", nil], ["name", "User#2"]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "name") VALUES (?, ?) [["age", nil], ["name", "User#3"]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 10 LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "name") VALUES (?, ?) [["age", nil], ["name", "User#1"]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "name") VALUES (?, ?) [["age", nil], ["name", "User#2"]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) INSERT INTO "users" ("age", "name") VALUES (?, ?) [["age", nil], ["name", "User#3"]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 10 LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (3.3ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)   (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.3ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.3ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.5ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (6.5ms) INSERT INTO "users" ("age", "name") VALUES (?, ?) [["age", nil], ["name", "User#1"]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "name") VALUES (?, ?) [["age", nil], ["name", "User#2"]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "name") VALUES (?, ?) [["age", nil], ["name", "User#3"]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "name") VALUES (?, ?) [["age", nil], ["name", "User#1"]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "name") VALUES (?, ?) [["age", nil], ["name", "User#2"]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "name") VALUES (?, ?) [["age", nil], ["name", "User#3"]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 10 LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "name") VALUES (?, ?) [["age", nil], ["name", "User#1"]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "name") VALUES (?, ?) [["age", nil], ["name", "User#2"]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "name") VALUES (?, ?) [["age", nil], ["name", "User#3"]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 10 LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (3.3ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.3ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.3ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.4ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (8.3ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:08:08 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:08:08 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:08:08 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:08:08 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:08:08 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:08:08 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:08:08 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:08:08 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:08:08 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:08:08 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:08:08 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:08:08 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:08:08 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:08:08 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:08:08 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:08:08 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:08:08 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:08:08 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (33.1ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.3ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (7.8ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:09:41 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:09:41 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:09:41 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:09:41 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:09:41 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:09:41 UTC +00:00]]  (0.0ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:09:41 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:09:41 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:09:41 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:09:41 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:09:41 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:09:41 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:09:41 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:09:41 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:09:41 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:09:41 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:09:41 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:09:41 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (32.9ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (7.8ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:11:01 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:11:01 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:11:01 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:11:01 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:11:01 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:11:01 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:11:01 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:11:01 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:11:01 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:11:01 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:11:01 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:11:01 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:11:01 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:11:01 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:11:01 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:11:01 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:11:01 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:11:01 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (32.7ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (7.8ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:12:08 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:12:08 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:12:08 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:12:08 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:12:08 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:12:08 UTC +00:00]]  (0.0ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:12:08 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:12:08 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:12:08 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:12:08 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:12:08 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:12:08 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:12:09 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:12:09 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:12:09 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:12:09 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:12:09 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:12:09 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0 Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-08-07 09:13:44 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-07 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-07 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-07 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-07 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-07 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-07 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.5ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-07 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-07 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-07 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-07 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (114.2ms) Completed 200 OK in 487ms (Views: 303.8ms | ActiveRecord: 35.8ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-07 09:13:46 +0600 Served asset /users.css - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-07 09:13:46 +0600 Served asset /application.js - 304 Not Modified (47ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-07 09:13:46 +0600 Served asset /scaffold.css - 304 Not Modified (2ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-07 09:13:46 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-07 09:13:46 +0600 Served asset /application.css - 304 Not Modified (7ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-07 09:13:46 +0600 Served asset /users.js - 304 Not Modified (2ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-07 09:13:46 +0600 Served asset /invoices.js - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-07 09:13:46 +0600 Served asset /jquery.js - 200 OK (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-07 09:13:46 +0600 Served asset /jquery_ujs.js - 200 OK (2ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-07&q%5Bcreated_at_lteq%5D=2013-09-07&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-07 09:13:52 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-07", "created_at_lteq"=>"2013-09-07", "paid_eq"=>""}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-07 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-07 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-07 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-07 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-07 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-07 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.7ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-07 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-07 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-07 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (111.8ms) Completed 200 OK in 146ms (Views: 121.6ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-07 09:13:53 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-07 09:13:53 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-07 09:13:53 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-07 09:13:53 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-07 09:13:53 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-07 09:13:53 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-07 09:13:53 +0600 Served asset /application.js - 304 Not Modified (1ms) Connecting to database specified by database.yml  (32.6ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.3ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (1.9ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (7.9ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:14:42 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:14:42 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:14:42 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:14:42 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:14:42 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:14:42 UTC +00:00]]  (0.0ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:14:42 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:14:42 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:14:42 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:14:42 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:14:42 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:14:42 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:14:42 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:14:42 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:14:42 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:14:42 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:14:42 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:14:42 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (33.0ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (7.8ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:15:16 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:15:16 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:15:16 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:15:16 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:15:16 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:15:16 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:15:16 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:15:16 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:15:16 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:15:16 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:15:16 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:15:16 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:15:16 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:15:16 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:15:16 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:15:16 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:15:16 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:15:16 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (32.7ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.3ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.5ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (8.1ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:17:14 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:17:14 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:17:14 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:17:14 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:17:14 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:17:14 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:17:14 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:17:14 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:17:14 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:17:14 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:17:14 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:17:14 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:17:14 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:17:14 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:17:14 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:17:14 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:17:14 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:17:14 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (34.1ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (12.4ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:20:31 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:20:31 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:20:31 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:20:31 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:20:31 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:20:31 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (34.5ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (8.3ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:20:58 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:20:58 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:20:58 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:20:58 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:20:58 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:20:58 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (34.3ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (7.8ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:22:03 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:22:03 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:22:03 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:22:03 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:22:03 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:22:03 UTC +00:00]]  (0.0ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0 Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-08-07 09:22:24 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-07 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-07 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-07 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-07 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-07 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-07 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.2ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-07 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-07 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-07 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-07 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (84.5ms) Completed 200 OK in 309ms (Views: 120.7ms | ActiveRecord: 5.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-07 09:22:24 +0600 Served asset /application.css - 304 Not Modified (7ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-07 09:22:24 +0600 Served asset /invoices.css - 304 Not Modified (36ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-07 09:22:24 +0600 Served asset /jquery.js - 304 Not Modified (9ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-07 09:22:24 +0600 Served asset /scaffold.css - 304 Not Modified (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-07 09:22:24 +0600 Served asset /jquery_ujs.js - 304 Not Modified (3ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-07 09:22:24 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-07 09:22:24 +0600 Served asset /invoices.js - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-07 09:22:24 +0600 Served asset /application.js - 304 Not Modified (9ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-07 09:22:24 +0600 Served asset /users.js - 304 Not Modified (2ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-07&q%5Bcreated_at_lteq%5D=2013-09-07&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-07 09:22:29 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-07", "created_at_lteq"=>"2013-09-07", "paid_eq"=>""}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-07 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-07 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-07 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-07 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-07 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-07 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.6ms) Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-07 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-07 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-07 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (56.9ms) Completed 200 OK in 96ms (Views: 68.2ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-07 09:22:29 +0600 Served asset /application.css - 304 Not Modified (15ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-07 09:22:29 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-07 09:22:29 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-07 09:22:29 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-07 09:22:29 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-07 09:22:29 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-07 09:22:29 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-07 09:22:29 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-07 09:22:29 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-07&q%5Bcreated_at_lteq%5D=2013-09-07&q%5Bpaid_eq%5D=true&commit=Search" for 127.0.0.1 at 2013-08-07 09:22:33 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-07", "created_at_lteq"=>"2013-09-07", "paid_eq"=>"true"}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-07 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-07 00:00:00.000000' AND "invoices"."paid" = 't'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-07 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-07 00:00:00.000000' AND "invoices"."paid" = 't')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-07 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-07 00:00:00.000000' AND "invoices"."paid" = 't')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.5ms) Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-07 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-07 00:00:00.000000' AND "invoices"."paid" = 't')) LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-07 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-07 00:00:00.000000' AND "invoices"."paid" = 't')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (22.2ms) Completed 200 OK in 55ms (Views: 32.9ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-07 09:22:34 +0600 Served asset /application.css - 304 Not Modified (7ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-07 09:22:34 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-07 09:22:34 +0600 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-07 09:22:34 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-07 09:22:34 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-07 09:22:34 +0600 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-07 09:22:34 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-07 09:22:34 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-07 09:22:34 +0600 Served asset /application.js - 304 Not Modified (1ms) Connecting to database specified by database.yml  (17.9ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (0.9ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (3.0ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:28:36 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:28:36 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:28:36 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:28:36 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:28:36 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:28:36 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:28:36 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:28:36 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:28:36 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:28:36 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:28:36 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:28:36 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:28:36 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:28:36 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:28:36 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:28:36 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:28:36 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:28:36 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (18.5ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (18.9ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:35:49 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:35:49 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:35:49 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:35:49 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:35:49 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:35:49 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:35:49 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:35:49 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:35:49 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:35:49 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:35:49 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:35:49 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:35:49 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:35:49 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:35:49 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:35:49 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:35:49 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:35:49 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (17.7ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (0.9ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (21.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:36:05 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:36:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:36:05 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:36:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:36:05 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:36:05 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:36:05 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:36:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:36:05 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:36:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:36:05 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:36:05 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:36:05 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:36:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:36:05 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:36:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:36:06 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:36:06 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (17.0ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (1.3ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (3.2ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:41:02 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:41:02 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:41:02 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:41:02 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:41:02 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:41:02 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:41:02 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:41:02 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:41:02 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:41:02 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:41:02 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:41:02 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:41:02 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:41:02 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:41:02 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:41:02 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:41:02 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:41:02 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (17.7ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (1.0ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" Connecting to database specified by database.yml  (19.0ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (1.0ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (2.9ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:47:30 UTC +00:00], ["dob", Thu, 07 Aug 2003 03:47:30 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:47:30 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:47:30 UTC +00:00], ["dob", Sat, 07 Aug 1993 03:47:30 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:47:30 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:47:30 UTC +00:00], ["dob", Tue, 07 Aug 1979 03:47:30 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:47:30 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:47:30 UTC +00:00], ["dob", Thu, 07 Aug 2003 03:47:30 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:47:30 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:47:30 UTC +00:00], ["dob", Sat, 07 Aug 1993 03:47:30 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:47:30 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:47:30 UTC +00:00], ["dob", Tue, 07 Aug 1979 03:47:30 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:47:30 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:47:30 UTC +00:00], ["dob", Thu, 07 Aug 2003 03:47:30 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:47:30 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:47:30 UTC +00:00], ["dob", Sat, 07 Aug 1993 03:47:30 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:47:30 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:47:30 UTC +00:00], ["dob", Tue, 07 Aug 1979 03:47:30 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:47:30 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (17.5ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (1.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (2.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:48:45 UTC +00:00], ["dob", Thu, 07 Aug 2003 03:48:45 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:48:45 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:48:45 UTC +00:00], ["dob", Sat, 07 Aug 1993 03:48:45 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:48:45 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:48:45 UTC +00:00], ["dob", Tue, 07 Aug 1979 03:48:45 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:48:45 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:48:45 UTC +00:00], ["dob", Thu, 07 Aug 2003 03:48:45 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:48:45 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:48:45 UTC +00:00], ["dob", Sat, 07 Aug 1993 03:48:45 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:48:45 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:48:45 UTC +00:00], ["dob", Tue, 07 Aug 1979 03:48:45 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:48:45 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:48:45 UTC +00:00], ["dob", Thu, 07 Aug 2003 03:48:45 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:48:45 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:48:45 UTC +00:00], ["dob", Sat, 07 Aug 1993 03:48:45 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:48:45 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:48:45 UTC +00:00], ["dob", Tue, 07 Aug 1979 03:48:45 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:48:45 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (1.4ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  Connecting to database specified by database.yml  (1.4ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (23.0ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:56:19 UTC +00:00], ["dob", Thu, 07 Aug 2003 03:56:19 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:56:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:56:19 UTC +00:00], ["dob", Sat, 07 Aug 1993 03:56:19 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:56:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:56:19 UTC +00:00], ["dob", Tue, 07 Aug 1979 03:56:19 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:56:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:56:19 UTC +00:00], ["dob", Thu, 07 Aug 2003 03:56:19 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:56:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:56:19 UTC +00:00], ["dob", Sat, 07 Aug 1993 03:56:19 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:56:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:56:19 UTC +00:00], ["dob", Tue, 07 Aug 1979 03:56:19 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:56:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:56:19 UTC +00:00], ["dob", Thu, 07 Aug 2003 03:56:19 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:56:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:56:19 UTC +00:00], ["dob", Sat, 07 Aug 1993 03:56:19 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:56:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:56:19 UTC +00:00], ["dob", Tue, 07 Aug 1979 03:56:19 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:56:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  Connecting to database specified by database.yml  (1.4ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:59:02 UTC +00:00], ["dob", Thu, 07 Aug 2003 03:59:02 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:59:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:59:02 UTC +00:00], ["dob", Sat, 07 Aug 1993 03:59:02 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:59:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:59:02 UTC +00:00], ["dob", Tue, 07 Aug 1979 03:59:02 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:59:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:59:02 UTC +00:00], ["dob", Thu, 07 Aug 2003 03:59:02 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:59:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:59:02 UTC +00:00], ["dob", Sat, 07 Aug 1993 03:59:02 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:59:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:59:02 UTC +00:00], ["dob", Tue, 07 Aug 1979 03:59:02 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:59:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 03:59:02 UTC +00:00], ["dob", Thu, 07 Aug 2003 03:59:02 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 03:59:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 03:59:02 UTC +00:00], ["dob", Sat, 07 Aug 1993 03:59:02 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 03:59:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 03:59:02 UTC +00:00], ["dob", Tue, 07 Aug 1979 03:59:02 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 03:59:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 04:28:49 UTC +00:00], ["dob", Thu, 07 Aug 2003 04:28:49 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 04:28:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 04:28:49 UTC +00:00], ["dob", Sat, 07 Aug 1993 04:28:49 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 04:28:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 04:28:49 UTC +00:00], ["dob", Tue, 07 Aug 1979 04:28:49 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 04:28:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 04:28:49 UTC +00:00], ["dob", Thu, 07 Aug 2003 04:28:49 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 04:28:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 04:28:49 UTC +00:00], ["dob", Sat, 07 Aug 1993 04:28:49 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 04:28:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 04:28:49 UTC +00:00], ["dob", Tue, 07 Aug 1979 04:28:49 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 04:28:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 04:28:49 UTC +00:00], ["dob", Thu, 07 Aug 2003 04:28:49 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 04:28:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 04:28:49 UTC +00:00], ["dob", Sat, 07 Aug 1993 04:28:49 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 04:28:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 04:28:49 UTC +00:00], ["dob", Tue, 07 Aug 1979 04:28:49 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 04:28:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction Connecting to database specified by database.yml  (22.1ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (61.5ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 10:24:43 UTC +00:00], ["dob", Thu, 07 Aug 2003 10:24:43 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 10:24:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 10:24:43 UTC +00:00], ["dob", Sat, 07 Aug 1993 10:24:43 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 10:24:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 10:24:43 UTC +00:00], ["dob", Tue, 07 Aug 1979 10:24:43 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 10:24:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 10:24:43 UTC +00:00], ["dob", Thu, 07 Aug 2003 10:24:43 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 10:24:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 10:24:43 UTC +00:00], ["dob", Sat, 07 Aug 1993 10:24:43 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 10:24:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 10:24:43 UTC +00:00], ["dob", Tue, 07 Aug 1979 10:24:43 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 10:24:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 10:24:43 UTC +00:00], ["dob", Thu, 07 Aug 2003 10:24:43 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 10:24:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 10:24:43 UTC +00:00], ["dob", Sat, 07 Aug 1993 10:24:43 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 10:24:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 10:24:43 UTC +00:00], ["dob", Tue, 07 Aug 1979 10:24:43 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 10:24:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction Connecting to database specified by database.yml  (1.4ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (5.0ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 10:33:56 UTC +00:00], ["dob", Thu, 07 Aug 2003 10:33:56 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 10:33:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 10:33:56 UTC +00:00], ["dob", Sat, 07 Aug 1993 10:33:56 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 10:33:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 10:33:56 UTC +00:00], ["dob", Tue, 07 Aug 1979 10:33:56 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 10:33:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 10:33:56 UTC +00:00], ["dob", Thu, 07 Aug 2003 10:33:56 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 10:33:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 10:33:56 UTC +00:00], ["dob", Sat, 07 Aug 1993 10:33:56 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 10:33:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 10:33:56 UTC +00:00], ["dob", Tue, 07 Aug 1979 10:33:56 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 10:33:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 10:33:56 UTC +00:00], ["dob", Thu, 07 Aug 2003 10:33:56 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 10:33:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 10:33:56 UTC +00:00], ["dob", Sat, 07 Aug 1993 10:33:56 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 10:33:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 10:33:56 UTC +00:00], ["dob", Tue, 07 Aug 1979 10:33:56 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 10:33:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (3.5ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 11:16:29 UTC +00:00], ["dob", Thu, 07 Aug 2003 11:16:29 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 11:16:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 11:16:29 UTC +00:00], ["dob", Sat, 07 Aug 1993 11:16:29 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 11:16:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 11:16:29 UTC +00:00], ["dob", Tue, 07 Aug 1979 11:16:29 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 11:16:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 11:16:29 UTC +00:00], ["dob", Thu, 07 Aug 2003 11:16:29 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 11:16:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 11:16:29 UTC +00:00], ["dob", Sat, 07 Aug 1993 11:16:29 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 11:16:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 11:16:29 UTC +00:00], ["dob", Tue, 07 Aug 1979 11:16:29 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 11:16:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 11:16:29 UTC +00:00], ["dob", Thu, 07 Aug 2003 11:16:29 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 11:16:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 11:16:29 UTC +00:00], ["dob", Sat, 07 Aug 1993 11:16:29 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 11:16:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 11:16:29 UTC +00:00], ["dob", Tue, 07 Aug 1979 11:16:29 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 11:16:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction Connecting to database specified by database.yml  (3.7ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (28.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 18:27:12 UTC +00:00], ["dob", Thu, 07 Aug 2003 18:27:12 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 18:27:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 18:27:12 UTC +00:00], ["dob", Sat, 07 Aug 1993 18:27:12 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 18:27:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 18:27:12 UTC +00:00], ["dob", Tue, 07 Aug 1979 18:27:12 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 18:27:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 18:27:12 UTC +00:00], ["dob", Thu, 07 Aug 2003 18:27:12 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 18:27:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 18:27:12 UTC +00:00], ["dob", Sat, 07 Aug 1993 18:27:12 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 18:27:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 18:27:12 UTC +00:00], ["dob", Tue, 07 Aug 1979 18:27:12 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 18:27:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 18:27:12 UTC +00:00], ["dob", Thu, 07 Aug 2003 18:27:12 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 18:27:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 18:27:12 UTC +00:00], ["dob", Sat, 07 Aug 1993 18:27:12 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 18:27:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 18:27:12 UTC +00:00], ["dob", Tue, 07 Aug 1979 18:27:12 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 18:27:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction Connecting to database specified by database.yml  (3.2ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.9ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 18:27:35 UTC +00:00], ["dob", Thu, 07 Aug 2003 18:27:35 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 18:27:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 18:27:35 UTC +00:00], ["dob", Sat, 07 Aug 1993 18:27:35 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 18:27:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 18:27:35 UTC +00:00], ["dob", Tue, 07 Aug 1979 18:27:35 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 18:27:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.3ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 18:27:35 UTC +00:00], ["dob", Thu, 07 Aug 2003 18:27:35 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 18:27:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 18:27:35 UTC +00:00], ["dob", Sat, 07 Aug 1993 18:27:35 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 18:27:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 18:27:35 UTC +00:00], ["dob", Tue, 07 Aug 1979 18:27:35 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 18:27:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 18:27:35 UTC +00:00], ["dob", Thu, 07 Aug 2003 18:27:35 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 18:27:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 18:27:35 UTC +00:00], ["dob", Sat, 07 Aug 1993 18:27:35 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 18:27:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 18:27:35 UTC +00:00], ["dob", Tue, 07 Aug 1979 18:27:35 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 18:27:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) rollback transaction Connecting to database specified by database.yml  (3.2ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (9.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 18:28:54 UTC +00:00], ["dob", Thu, 07 Aug 2003 18:28:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 18:28:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 18:28:54 UTC +00:00], ["dob", Sat, 07 Aug 1993 18:28:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 18:28:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 18:28:54 UTC +00:00], ["dob", Tue, 07 Aug 1979 18:28:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 18:28:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 18:28:54 UTC +00:00], ["dob", Thu, 07 Aug 2003 18:28:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 18:28:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 18:28:54 UTC +00:00], ["dob", Sat, 07 Aug 1993 18:28:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 18:28:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 18:28:54 UTC +00:00], ["dob", Tue, 07 Aug 1979 18:28:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 18:28:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 18:28:54 UTC +00:00], ["dob", Thu, 07 Aug 2003 18:28:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 18:28:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 18:28:54 UTC +00:00], ["dob", Sat, 07 Aug 1993 18:28:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 18:28:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 18:28:54 UTC +00:00], ["dob", Tue, 07 Aug 1979 18:28:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 18:28:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) rollback transaction Connecting to database specified by database.yml  (3.3ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  Connecting to database specified by database.yml  (3.4ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  Connecting to database specified by database.yml  (3.1ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  Connecting to database specified by database.yml  (3.1ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  Connecting to database specified by database.yml  (3.1ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.3ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction SQL (23.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 07 Aug 2013 18:48:48 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 07 Aug 2013 18:48:48 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Connecting to database specified by database.yml  (1.2ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.0ms) begin transaction SQL (22.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 07 Aug 2013 18:49:00 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 07 Aug 2013 18:49:00 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Connecting to database specified by database.yml  (1.4ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.0ms) begin transaction SQL (24.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 07 Aug 2013 18:49:08 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 07 Aug 2013 18:49:08 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (4.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 19:15:52 UTC +00:00], ["dob", Thu, 07 Aug 2003 19:15:52 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 19:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 19:15:52 UTC +00:00], ["dob", Sat, 07 Aug 1993 19:15:52 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 19:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 19:15:52 UTC +00:00], ["dob", Tue, 07 Aug 1979 19:15:52 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 19:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 19:15:52 UTC +00:00], ["dob", Thu, 07 Aug 2003 19:15:52 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 19:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 19:15:52 UTC +00:00], ["dob", Sat, 07 Aug 1993 19:15:52 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 19:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 19:15:52 UTC +00:00], ["dob", Tue, 07 Aug 1979 19:15:52 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 19:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 07 Aug 2013 19:15:52 UTC +00:00], ["dob", Thu, 07 Aug 2003 19:15:52 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 07 Aug 2013 19:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 07 Aug 2013 19:15:52 UTC +00:00], ["dob", Sat, 07 Aug 1993 19:15:52 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 07 Aug 2013 19:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 07 Aug 2013 19:15:52 UTC +00:00], ["dob", Tue, 07 Aug 1979 19:15:52 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 07 Aug 2013 19:15:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-07 00:00:00.000000' AND "users"."created_at" <= '2013-09-07 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 07 Aug 2013 19:15:52 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 07 Aug 2013 19:15:52 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml  (1.9ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction SQL (47.0ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Sun, 11 Aug 2013 16:10:10 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Sun, 11 Aug 2013 16:10:10 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 11 Aug 2013 16:10:10 UTC +00:00], ["dob", Mon, 11 Aug 2003 16:10:10 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 11 Aug 2013 16:10:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 11 Aug 2013 16:10:10 UTC +00:00], ["dob", Wed, 11 Aug 1993 16:10:10 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 11 Aug 2013 16:10:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 11 Aug 2013 16:10:10 UTC +00:00], ["dob", Sat, 11 Aug 1979 16:10:10 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 11 Aug 2013 16:10:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 11 Aug 2013 16:10:10 UTC +00:00], ["dob", Mon, 11 Aug 2003 16:10:10 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 11 Aug 2013 16:10:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 11 Aug 2013 16:10:10 UTC +00:00], ["dob", Wed, 11 Aug 1993 16:10:10 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 11 Aug 2013 16:10:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 11 Aug 2013 16:10:10 UTC +00:00], ["dob", Sat, 11 Aug 1979 16:10:10 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 11 Aug 2013 16:10:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-11 00:00:00.000000' AND "users"."created_at" <= '2013-09-11 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 11 Aug 2013 16:10:10 UTC +00:00], ["dob", Mon, 11 Aug 2003 16:10:10 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 11 Aug 2013 16:10:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 11 Aug 2013 16:10:10 UTC +00:00], ["dob", Wed, 11 Aug 1993 16:10:10 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 11 Aug 2013 16:10:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 11 Aug 2013 16:10:10 UTC +00:00], ["dob", Sat, 11 Aug 1979 16:10:10 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 11 Aug 2013 16:10:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-11 00:00:00.000000' AND "users"."created_at" <= '2013-09-11 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) rollback transaction Connecting to database specified by database.yml  (1.9ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (27.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 13 Aug 2013 03:59:29 UTC +00:00], ["dob", Wed, 13 Aug 2003 03:59:29 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 13 Aug 2013 03:59:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 13 Aug 2013 03:59:29 UTC +00:00], ["dob", Fri, 13 Aug 1993 03:59:29 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 13 Aug 2013 03:59:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 13 Aug 2013 03:59:29 UTC +00:00], ["dob", Mon, 13 Aug 1979 03:59:29 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 13 Aug 2013 03:59:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 13 Aug 2013 03:59:29 UTC +00:00], ["dob", Wed, 13 Aug 2003 03:59:29 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 13 Aug 2013 03:59:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 13 Aug 2013 03:59:29 UTC +00:00], ["dob", Fri, 13 Aug 1993 03:59:29 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 13 Aug 2013 03:59:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 13 Aug 2013 03:59:29 UTC +00:00], ["dob", Mon, 13 Aug 1979 03:59:29 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 13 Aug 2013 03:59:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-13 00:00:00.000000' AND "users"."created_at" <= '2013-09-13 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 13 Aug 2013 03:59:29 UTC +00:00], ["dob", Wed, 13 Aug 2003 03:59:29 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 13 Aug 2013 03:59:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 13 Aug 2013 03:59:29 UTC +00:00], ["dob", Fri, 13 Aug 1993 03:59:29 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 13 Aug 2013 03:59:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 13 Aug 2013 03:59:29 UTC +00:00], ["dob", Mon, 13 Aug 1979 03:59:29 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 13 Aug 2013 03:59:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-13 00:00:00.000000' AND "users"."created_at" <= '2013-09-13 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 13 Aug 2013 03:59:29 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 13 Aug 2013 03:59:29 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.0ms) begin transaction SQL (23.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 13 Aug 2013 04:21:47 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 13 Aug 2013 04:21:47 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Connecting to database specified by database.yml  (1.2ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.0ms) begin transaction SQL (21.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 13 Aug 2013 04:22:59 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 13 Aug 2013 04:22:59 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.0ms) begin transaction SQL (23.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 13 Aug 2013 04:23:16 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 13 Aug 2013 04:23:16 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction SQL (4.8ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 13 Aug 2013 04:24:11 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 13 Aug 2013 04:24:11 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.0ms) begin transaction SQL (22.8ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 13 Aug 2013 04:27:49 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 13 Aug 2013 04:27:49 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Connecting to database specified by database.yml  (1.5ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.0ms) begin transaction SQL (4.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 13 Aug 2013 04:28:19 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 13 Aug 2013 04:28:19 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.0ms) begin transaction SQL (22.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 13 Aug 2013 04:32:44 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 13 Aug 2013 04:32:44 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction SQL (22.9ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 13 Aug 2013 04:33:29 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 13 Aug 2013 04:33:29 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Connecting to database specified by database.yml  (1.4ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.0ms) begin transaction SQL (22.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 13 Aug 2013 04:34:06 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 13 Aug 2013 04:34:06 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.0ms) begin transaction SQL (22.7ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 13 Aug 2013 05:42:18 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 13 Aug 2013 05:42:18 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 13 Aug 2013 05:42:18 UTC +00:00], ["dob", Wed, 13 Aug 2003 05:42:18 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 13 Aug 2013 05:42:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 13 Aug 2013 05:42:18 UTC +00:00], ["dob", Fri, 13 Aug 1993 05:42:18 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 13 Aug 2013 05:42:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 13 Aug 2013 05:42:18 UTC +00:00], ["dob", Mon, 13 Aug 1979 05:42:18 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 13 Aug 2013 05:42:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 13 Aug 2013 05:42:18 UTC +00:00], ["dob", Wed, 13 Aug 2003 05:42:18 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 13 Aug 2013 05:42:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 13 Aug 2013 05:42:18 UTC +00:00], ["dob", Fri, 13 Aug 1993 05:42:18 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 13 Aug 2013 05:42:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 13 Aug 2013 05:42:18 UTC +00:00], ["dob", Mon, 13 Aug 1979 05:42:18 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 13 Aug 2013 05:42:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-13 00:00:00.000000' AND "users"."created_at" <= '2013-09-13 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 13 Aug 2013 05:42:18 UTC +00:00], ["dob", Wed, 13 Aug 2003 05:42:18 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 13 Aug 2013 05:42:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 13 Aug 2013 05:42:18 UTC +00:00], ["dob", Fri, 13 Aug 1993 05:42:18 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 13 Aug 2013 05:42:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 13 Aug 2013 05:42:18 UTC +00:00], ["dob", Mon, 13 Aug 1979 05:42:18 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 13 Aug 2013 05:42:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-13 00:00:00.000000' AND "users"."created_at" <= '2013-09-13 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction Connecting to database specified by database.yml  (1.4ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (4.5ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 13 Aug 2013 05:45:57 UTC +00:00], ["dob", Wed, 13 Aug 2003 05:45:57 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 13 Aug 2013 05:45:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 13 Aug 2013 05:45:57 UTC +00:00], ["dob", Fri, 13 Aug 1993 05:45:57 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 13 Aug 2013 05:45:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 13 Aug 2013 05:45:57 UTC +00:00], ["dob", Mon, 13 Aug 1979 05:45:57 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 13 Aug 2013 05:45:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 13 Aug 2013 05:45:57 UTC +00:00], ["dob", Wed, 13 Aug 2003 05:45:57 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 13 Aug 2013 05:45:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 13 Aug 2013 05:45:57 UTC +00:00], ["dob", Fri, 13 Aug 1993 05:45:57 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 13 Aug 2013 05:45:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 13 Aug 2013 05:45:57 UTC +00:00], ["dob", Mon, 13 Aug 1979 05:45:57 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 13 Aug 2013 05:45:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-13 00:00:00.000000' AND "users"."created_at" <= '2013-09-13 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 13 Aug 2013 05:45:57 UTC +00:00], ["dob", Wed, 13 Aug 2003 05:45:57 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 13 Aug 2013 05:45:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 13 Aug 2013 05:45:57 UTC +00:00], ["dob", Fri, 13 Aug 1993 05:45:57 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 13 Aug 2013 05:45:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 13 Aug 2013 05:45:57 UTC +00:00], ["dob", Mon, 13 Aug 1979 05:45:57 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 13 Aug 2013 05:45:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-13 00:00:00.000000' AND "users"."created_at" <= '2013-09-13 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 13 Aug 2013 05:45:57 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 13 Aug 2013 05:45:57 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.0ms) begin transaction SQL (4.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 13 Aug 2013 05:47:03 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 13 Aug 2013 05:47:03 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 13 Aug 2013 05:47:03 UTC +00:00], ["dob", Wed, 13 Aug 2003 05:47:03 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 13 Aug 2013 05:47:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 13 Aug 2013 05:47:03 UTC +00:00], ["dob", Fri, 13 Aug 1993 05:47:03 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 13 Aug 2013 05:47:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 13 Aug 2013 05:47:03 UTC +00:00], ["dob", Mon, 13 Aug 1979 05:47:03 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 13 Aug 2013 05:47:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 13 Aug 2013 05:47:03 UTC +00:00], ["dob", Wed, 13 Aug 2003 05:47:03 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 13 Aug 2013 05:47:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 13 Aug 2013 05:47:03 UTC +00:00], ["dob", Fri, 13 Aug 1993 05:47:03 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 13 Aug 2013 05:47:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 13 Aug 2013 05:47:03 UTC +00:00], ["dob", Mon, 13 Aug 1979 05:47:03 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 13 Aug 2013 05:47:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-13 00:00:00.000000' AND "users"."created_at" <= '2013-09-13 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 13 Aug 2013 05:47:03 UTC +00:00], ["dob", Wed, 13 Aug 2003 05:47:03 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 13 Aug 2013 05:47:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 13 Aug 2013 05:47:03 UTC +00:00], ["dob", Fri, 13 Aug 1993 05:47:03 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 13 Aug 2013 05:47:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 13 Aug 2013 05:47:03 UTC +00:00], ["dob", Mon, 13 Aug 1979 05:47:03 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 13 Aug 2013 05:47:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-13 00:00:00.000000' AND "users"."created_at" <= '2013-09-13 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (4.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 13 Aug 2013 05:47:34 UTC +00:00], ["dob", Wed, 13 Aug 2003 05:47:34 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 13 Aug 2013 05:47:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 13 Aug 2013 05:47:34 UTC +00:00], ["dob", Fri, 13 Aug 1993 05:47:34 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 13 Aug 2013 05:47:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 13 Aug 2013 05:47:34 UTC +00:00], ["dob", Mon, 13 Aug 1979 05:47:34 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 13 Aug 2013 05:47:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 13 Aug 2013 05:47:34 UTC +00:00], ["dob", Wed, 13 Aug 2003 05:47:34 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 13 Aug 2013 05:47:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (19.5ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 13 Aug 2013 05:47:34 UTC +00:00], ["dob", Fri, 13 Aug 1993 05:47:34 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 13 Aug 2013 05:47:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 13 Aug 2013 05:47:34 UTC +00:00], ["dob", Mon, 13 Aug 1979 05:47:34 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 13 Aug 2013 05:47:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-13 00:00:00.000000' AND "users"."created_at" <= '2013-09-13 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 13 Aug 2013 05:47:34 UTC +00:00], ["dob", Wed, 13 Aug 2003 05:47:34 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 13 Aug 2013 05:47:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 13 Aug 2013 05:47:34 UTC +00:00], ["dob", Fri, 13 Aug 1993 05:47:34 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 13 Aug 2013 05:47:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 13 Aug 2013 05:47:34 UTC +00:00], ["dob", Mon, 13 Aug 1979 05:47:34 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 13 Aug 2013 05:47:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-13 00:00:00.000000' AND "users"."created_at" <= '2013-09-13 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 13 Aug 2013 05:47:34 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 13 Aug 2013 05:47:34 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 13 Aug 2013 05:53:26 UTC +00:00], ["dob", Wed, 13 Aug 2003 05:53:26 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 13 Aug 2013 05:53:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 13 Aug 2013 05:53:26 UTC +00:00], ["dob", Fri, 13 Aug 1993 05:53:26 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 13 Aug 2013 05:53:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 13 Aug 2013 05:53:26 UTC +00:00], ["dob", Mon, 13 Aug 1979 05:53:26 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 13 Aug 2013 05:53:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-13 00:00:00.000000' AND "users"."created_at" <= '2013-09-13 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 13 Aug 2013 05:53:26 UTC +00:00], ["dob", Wed, 13 Aug 2003 05:53:26 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 13 Aug 2013 05:53:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 13 Aug 2013 05:53:26 UTC +00:00], ["dob", Fri, 13 Aug 1993 05:53:26 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 13 Aug 2013 05:53:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 13 Aug 2013 05:53:26 UTC +00:00], ["dob", Mon, 13 Aug 1979 05:53:26 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 13 Aug 2013 05:53:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-13 00:00:00.000000' AND "users"."created_at" <= '2013-09-13 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 13 Aug 2013 05:53:26 UTC +00:00], ["dob", Wed, 13 Aug 2003 05:53:26 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 13 Aug 2013 05:53:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 13 Aug 2013 05:53:26 UTC +00:00], ["dob", Fri, 13 Aug 1993 05:53:26 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 13 Aug 2013 05:53:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 13 Aug 2013 05:53:26 UTC +00:00], ["dob", Mon, 13 Aug 1979 05:53:26 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 13 Aug 2013 05:53:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 13 Aug 2013 05:53:26 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 13 Aug 2013 05:53:26 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-08-13 20:20:15 +0600 ActionController::RoutingError (No route matches [GET] "/"): actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' rack (1.4.5) lib/rack/runtime.rb:17:in `call' activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.5) lib/rack/lock.rb:15:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call' railties (3.2.13) lib/rails/engine.rb:479:in `call' railties (3.2.13) lib/rails/application.rb:223:in `call' rack (1.4.5) lib/rack/content_length.rb:14:in `call' railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (39.2ms) Started GET "/invoices" for 127.0.0.1 at 2013-08-13 20:20:19 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.5ms) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (105.3ms) Completed 500 Internal Server Error in 560ms ActionView::Template::Error (uninitialized constant QueryReport::Chart::ChartBase::GoogleVisualr): 10:
11:
12:
13: <%= render_chart(chart.prepare, chart_id) %> 14: <% end %> 15:
16: app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.5ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.4ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (14.4ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-08-13 20:21:45 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.2ms) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (62.8ms) Completed 500 Internal Server Error in 173ms ActionView::Template::Error (uninitialized constant GoogleVisualr): 10:
11:
12:
13: <%= render_chart(chart.prepare, chart_id) %> 14: <% end %> 15:
16: app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (11.9ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-08-13 20:22:33 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.2ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (3.9ms) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (55.9ms) Completed 500 Internal Server Error in 278ms ActionView::Template::Error (cell value 'Unpaid' is not an Integer, Float or BigDecimal): 10:
11:
12:
13: <%= render_chart(chart.prepare, chart_id) %> 14: <% end %> 15:
16: app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (12.6ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-08-13 20:24:11 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (3.9ms) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (63.1ms) Completed 500 Internal Server Error in 288ms ActionView::Template::Error (cell value 'Unpaid' is not an Integer, Float or BigDecimal): 10:
11:
12:
13: <%= render_chart(chart.prepare, chart_id) %> 14: <% end %> 15:
16: app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (12.5ms) Started GET "/invoices" for 127.0.0.1 at 2013-08-13 20:24:17 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.5ms) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (7.1ms) Completed 500 Internal Server Error in 29ms ActionView::Template::Error (cell value 'Unpaid' is not an Integer, Float or BigDecimal): 10:
11:
12:
13: <%= render_chart(chart.prepare, chart_id) %> 14: <% end %> 15:
16: app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.0ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (12.9ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-08-13 20:25:56 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (101.2ms) Completed 500 Internal Server Error in 295ms ActionView::Template::Error (cell value 'Unpaid' is not an Integer, Float or BigDecimal): 10:
11:
12:
13: <%= render_chart(chart.prepare, chart_id) %> 14: <% end %> 15:
16: app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.3ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.2ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-08-13 20:26:40 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.1ms) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (57.8ms) Completed 500 Internal Server Error in 255ms ActionView::Template::Error (cell value 'Unpaid' is not an Integer, Float or BigDecimal): 10:
11:
12:
13: <%= render_chart(chart.prepare, chart_id) %> 14: <% end %> 15:
16: app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (11.4ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-08-13 20:27:42 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (56.7ms) Completed 500 Internal Server Error in 259ms ActionView::Template::Error (cell value 'Unpaid' is not an Integer, Float or BigDecimal): 10:
11:
12:
13: <%= render_chart(chart.prepare, chart_id) %> 14: <% end %> 15:
16: app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (11.0ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-08-13 20:37:32 +0600 Processing by InvoicesController#index as HTML Completed 500 Internal Server Error in 169ms NoMethodError (undefined method `each' for nil:NilClass): app/controllers/invoices_controller.rb:22:in `block in index' app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.3ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (17.0ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-08-13 20:38:02 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (34.1ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.5ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (106.5ms) Completed 200 OK in 379ms (Views: 192.7ms | ActiveRecord: 5.6ms) Started GET "/invoices" for 127.0.0.1 at 2013-08-13 20:38:05 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.4ms) Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (26.4ms) Completed 200 OK in 53ms (Views: 36.0ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-13 20:38:05 +0600 Served asset /application.css - 200 OK (11ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-13 20:38:05 +0600 Served asset /jquery.js - 200 OK (12ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-13 20:38:05 +0600 Served asset /jquery_ujs.js - 200 OK (2ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-13 20:38:05 +0600 Served asset /invoices.css - 304 Not Modified (2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-13 20:38:05 +0600 Served asset /scaffold.css - 304 Not Modified (2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-13 20:38:05 +0600 Served asset /users.css - 304 Not Modified (2ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-13 20:38:05 +0600 Served asset /invoices.js - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-13 20:38:05 +0600 Served asset /application.js - 200 OK (49ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-13 20:38:05 +0600 Served asset /users.js - 304 Not Modified (2ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-13&q%5Bcreated_at_lteq%5D=2013-09-13&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-13 20:38:18 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-13", "created_at_lteq"=>"2013-09-13", "paid_eq"=>""}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.6ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (74.1ms) Completed 200 OK in 143ms (Views: 119.3ms | ActiveRecord: 1.4ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-13 20:38:18 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-13 20:38:18 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-13 20:38:18 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-13 20:38:18 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-13 20:38:18 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-13&q%5Bcreated_at_lteq%5D=2013-09-13&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-08-13 20:38:27 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-13", "created_at_lteq"=>"2013-09-13", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.7ms) Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (29.2ms) Completed 200 OK in 60ms (Views: 37.4ms | ActiveRecord: 1.4ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-13 20:38:27 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-13 20:38:27 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-13 20:38:27 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-13 20:38:27 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-13 20:38:27 +0600 Served asset /users.css - 304 Not Modified (0ms) Connecting to database specified by database.yml Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-13&q%5Bcreated_at_lteq%5D=2013-09-13&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-08-13 20:39:08 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-13", "created_at_lteq"=>"2013-09-13", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (3.9ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (61.7ms) Completed 200 OK in 299ms (Views: 162.2ms | ActiveRecord: 3.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-13 20:39:09 +0600 Served asset /application.css - 304 Not Modified (7ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-13 20:39:09 +0600 Served asset /invoices.css - 304 Not Modified (2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-13 20:39:09 +0600 Served asset /users.css - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-13 20:39:09 +0600 Served asset /jquery_ujs.js - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-13 20:39:09 +0600 Served asset /jquery.js - 304 Not Modified (8ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-13 20:39:09 +0600 Served asset /scaffold.css - 304 Not Modified (2ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-13 20:39:09 +0600 Served asset /invoices.js - 304 Not Modified (2ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-13 20:39:09 +0600 Served asset /users.js - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-13 20:39:09 +0600 Served asset /application.js - 304 Not Modified (11ms) Connecting to database specified by database.yml Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-13&q%5Bcreated_at_lteq%5D=2013-09-13&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-08-13 20:46:52 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-13", "created_at_lteq"=>"2013-09-13", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.0ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (94.5ms) Completed 200 OK in 290ms (Views: 162.7ms | ActiveRecord: 3.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-13 20:46:52 +0600 Served asset /application.css - 304 Not Modified (22ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-13 20:46:52 +0600 Served asset /users.css - 304 Not Modified (3ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-13 20:46:52 +0600 Served asset /invoices.css - 304 Not Modified (3ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-13 20:46:52 +0600 Served asset /scaffold.css - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-13 20:46:52 +0600 Served asset /jquery.js - 304 Not Modified (5ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-13 20:46:52 +0600 Served asset /jquery_ujs.js - 304 Not Modified (3ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-13 20:46:52 +0600 Served asset /invoices.js - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-13 20:46:52 +0600 Served asset /users.js - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-13 20:46:52 +0600 Served asset /application.js - 304 Not Modified (13ms) Connecting to database specified by database.yml Connecting to database specified by database.yml Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-13&q%5Bcreated_at_lteq%5D=2013-09-13&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-08-13 20:55:45 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-13", "created_at_lteq"=>"2013-09-13", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.1ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (95.4ms) Completed 200 OK in 304ms (Views: 131.4ms | ActiveRecord: 4.4ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-13 20:55:46 +0600 Served asset /scaffold.css - 200 OK (7ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-13 20:55:46 +0600 Served asset /jquery.js - 200 OK (6ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-13 20:55:46 +0600 Served asset /jquery_ujs.js - 200 OK (1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-13 20:55:46 +0600 Served asset /invoices.css - 200 OK (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-13 20:55:46 +0600 Served asset /users.css - 200 OK (1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-13 20:55:46 +0600 Served asset /application.css - 200 OK (4ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-13 20:55:46 +0600 Served asset /invoices.js - 200 OK (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-13 20:55:46 +0600 Served asset /application.js - 200 OK (8ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-13 20:55:46 +0600 Served asset /users.js - 200 OK (1ms) Connecting to database specified by database.yml Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-13&q%5Bcreated_at_lteq%5D=2013-09-13&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-08-13 20:56:44 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-13", "created_at_lteq"=>"2013-09-13", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.0ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (92.8ms) Completed 200 OK in 359ms (Views: 167.1ms | ActiveRecord: 35.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-13 20:56:45 +0600 Served asset /application.css - 200 OK (57ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-13 20:56:45 +0600 Served asset /scaffold.css - 200 OK (3ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-13 20:56:45 +0600 Served asset /invoices.css - 200 OK (2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-13 20:56:45 +0600 Served asset /users.css - 200 OK (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-13 20:56:45 +0600 Served asset /jquery.js - 200 OK (11ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-13 20:56:45 +0600 Served asset /jquery_ujs.js - 200 OK (3ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-13 20:56:45 +0600 Served asset /invoices.js - 200 OK (2ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-13 20:56:45 +0600 Served asset /users.js - 200 OK (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-13 20:56:45 +0600 Served asset /application.js - 200 OK (9ms) Connecting to database specified by database.yml Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-13&q%5Bcreated_at_lteq%5D=2013-09-13&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-08-13 21:00:42 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-13", "created_at_lteq"=>"2013-09-13", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) Invoice Load (1.0ms) SELECT "invoices".* FROM "invoices" Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0 Completed 500 Internal Server Error in 290ms NoMethodError (undefined method `pie_chart' for #): app/controllers/invoices_controller.rb:31:in `block in index' app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.5ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.0ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (76.1ms) Connecting to database specified by database.yml Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-13&q%5Bcreated_at_lteq%5D=2013-09-13&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-08-13 21:02:07 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-13", "created_at_lteq"=>"2013-09-13", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.3ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (93.8ms) Completed 200 OK in 323ms (Views: 129.3ms | ActiveRecord: 5.1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-13 21:02:08 +0600 Served asset /invoices.css - 200 OK (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-13 21:02:08 +0600 Served asset /scaffold.css - 200 OK (3ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-13 21:02:08 +0600 Served asset /users.css - 200 OK (1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-13 21:02:08 +0600 Served asset /application.css - 200 OK (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-13 21:02:08 +0600 Served asset /jquery.js - 200 OK (7ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-13 21:02:08 +0600 Served asset /jquery_ujs.js - 200 OK (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-13 21:02:08 +0600 Served asset /invoices.js - 200 OK (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-13 21:02:08 +0600 Served asset /users.js - 200 OK (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-13 21:02:08 +0600 Served asset /application.js - 200 OK (28ms) Connecting to database specified by database.yml Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-13&q%5Bcreated_at_lteq%5D=2013-09-13&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-08-13 21:04:53 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-13", "created_at_lteq"=>"2013-09-13", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.1ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (96.7ms) Completed 200 OK in 330ms (Views: 133.4ms | ActiveRecord: 5.1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-13 21:04:53 +0600 Served asset /invoices.css - 200 OK (14ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-13 21:04:53 +0600 Served asset /application.css - 200 OK (7ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-13 21:04:54 +0600 Served asset /users.css - 200 OK (2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-13 21:04:54 +0600 Served asset /scaffold.css - 200 OK (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-13 21:04:54 +0600 Served asset /jquery.js - 200 OK (9ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-13 21:04:54 +0600 Served asset /jquery_ujs.js - 200 OK (3ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-13 21:04:54 +0600 Served asset /invoices.js - 200 OK (2ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-13 21:04:54 +0600 Served asset /users.js - 200 OK (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-13 21:04:54 +0600 Served asset /application.js - 200 OK (10ms) Connecting to database specified by database.yml Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-13&q%5Bcreated_at_lteq%5D=2013-09-13&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-08-13 21:17:09 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-13", "created_at_lteq"=>"2013-09-13", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.1ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (92.4ms) Completed 200 OK in 360ms (Views: 129.4ms | ActiveRecord: 5.1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-13 21:17:09 +0600 Served asset /invoices.css - 304 Not Modified (18ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-13 21:17:09 +0600 Served asset /users.css - 304 Not Modified (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-13 21:17:09 +0600 Served asset /jquery.js - 304 Not Modified (12ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-13 21:17:09 +0600 Served asset /invoices.js - 304 Not Modified (2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-13 21:17:09 +0600 Served asset /scaffold.css - 304 Not Modified (2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-13 21:17:09 +0600 Served asset /application.css - 304 Not Modified (11ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-13 21:17:09 +0600 Served asset /jquery_ujs.js - 304 Not Modified (3ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-13 21:17:09 +0600 Served asset /users.js - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-13 21:17:09 +0600 Served asset /application.js - 304 Not Modified (12ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-13&q%5Bcreated_at_lteq%5D=2013-09-13&q%5Bpaid_eq%5D=true&commit=Search" for 127.0.0.1 at 2013-08-13 21:17:18 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-13", "created_at_lteq"=>"2013-09-13", "paid_eq"=>"true"}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 't'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 't')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 't')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 't')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 't')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 't')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.1ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 't')) LIMIT 25 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 't')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (28.6ms) Completed 200 OK in 63ms (Views: 37.3ms | ActiveRecord: 1.4ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-13 21:17:18 +0600 Served asset /invoices.css - 304 Not Modified (3ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-13 21:17:18 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-13 21:17:18 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-13 21:17:18 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-13 21:17:18 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-13 21:17:18 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-13 21:17:18 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-13 21:17:18 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-13 21:17:18 +0600 Served asset /application.js - 304 Not Modified (1ms) Connecting to database specified by database.yml Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-13&q%5Bcreated_at_lteq%5D=2013-09-13&q%5Bpaid_eq%5D=true&commit=Search" for 127.0.0.1 at 2013-08-13 21:21:07 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-13", "created_at_lteq"=>"2013-09-13", "paid_eq"=>"true"}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 't'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 't')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 't')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 't')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 't')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 't')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (3.9ms) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (57.9ms) Completed 500 Internal Server Error in 291ms ActionView::Template::Error (cell value 'number' is not a String): 10:
11:
12:
13: <%= render_chart(chart.prepare_visualr, chart_id) %> 14: <% end %> 15:
16: app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.6ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (12.4ms) Connecting to database specified by database.yml Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-13&q%5Bcreated_at_lteq%5D=2013-09-13&q%5Bpaid_eq%5D=true&commit=Search" for 127.0.0.1 at 2013-08-13 21:22:54 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-13", "created_at_lteq"=>"2013-09-13", "paid_eq"=>"true"}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 't'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 't')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 't')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 't')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 't')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 't')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.1ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 't')) LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 't')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (62.6ms) Completed 200 OK in 357ms (Views: 164.6ms | ActiveRecord: 5.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-13 21:22:55 +0600 Served asset /application.css - 200 OK (25ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-13 21:22:55 +0600 Served asset /invoices.css - 200 OK (2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-13 21:22:55 +0600 Served asset /scaffold.css - 200 OK (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-13 21:22:55 +0600 Served asset /jquery.js - 200 OK (7ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-13 21:22:55 +0600 Served asset /users.css - 200 OK (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-13 21:22:55 +0600 Served asset /jquery_ujs.js - 200 OK (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-13 21:22:55 +0600 Served asset /invoices.js - 200 OK (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-13 21:22:55 +0600 Served asset /users.js - 200 OK (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-13 21:22:55 +0600 Served asset /application.js - 200 OK (5ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-13&q%5Bcreated_at_lteq%5D=2013-09-13&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-08-13 21:23:03 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-13", "created_at_lteq"=>"2013-09-13", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.7ms) Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (27.4ms) Completed 200 OK in 63ms (Views: 37.5ms | ActiveRecord: 1.4ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-13&q%5Bcreated_at_lteq%5D=2013-09-13&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-13 21:23:15 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-13", "created_at_lteq"=>"2013-09-13", "paid_eq"=>""}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.7ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-13 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-13 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (60.4ms) Completed 200 OK in 133ms (Views: 108.6ms | ActiveRecord: 1.6ms) Connecting to database specified by database.yml Connecting to database specified by database.yml  (1.7ms) select sqlite_version(*)  (13.0ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.0ms) begin transaction SQL (39.0ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Sun, 18 Aug 2013 12:56:31 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Sun, 18 Aug 2013 12:56:31 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 12:56:31 UTC +00:00], ["dob", Mon, 18 Aug 2003 12:56:31 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 12:56:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 12:56:31 UTC +00:00], ["dob", Wed, 18 Aug 1993 12:56:31 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 12:56:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 12:56:31 UTC +00:00], ["dob", Sat, 18 Aug 1979 12:56:31 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 12:56:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 12:56:31 UTC +00:00], ["dob", Mon, 18 Aug 2003 12:56:31 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 12:56:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 12:56:31 UTC +00:00], ["dob", Wed, 18 Aug 1993 12:56:31 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 12:56:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 12:56:31 UTC +00:00], ["dob", Sat, 18 Aug 1979 12:56:31 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 12:56:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 12:56:31 UTC +00:00], ["dob", Mon, 18 Aug 2003 12:56:31 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 12:56:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 12:56:31 UTC +00:00], ["dob", Wed, 18 Aug 1993 12:56:31 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 12:56:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 12:56:31 UTC +00:00], ["dob", Sat, 18 Aug 1979 12:56:31 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 12:56:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction Connecting to database specified by database.yml  (1.9ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction SQL (25.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Sun, 18 Aug 2013 12:58:54 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Sun, 18 Aug 2013 12:58:54 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 12:58:54 UTC +00:00], ["dob", Mon, 18 Aug 2003 12:58:54 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 12:58:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 12:58:54 UTC +00:00], ["dob", Wed, 18 Aug 1993 12:58:54 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 12:58:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 12:58:54 UTC +00:00], ["dob", Sat, 18 Aug 1979 12:58:54 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 12:58:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 12:58:54 UTC +00:00], ["dob", Mon, 18 Aug 2003 12:58:54 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 12:58:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 12:58:54 UTC +00:00], ["dob", Wed, 18 Aug 1993 12:58:54 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 12:58:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 12:58:54 UTC +00:00], ["dob", Sat, 18 Aug 1979 12:58:54 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 12:58:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 12:58:54 UTC +00:00], ["dob", Mon, 18 Aug 2003 12:58:54 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 12:58:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 12:58:54 UTC +00:00], ["dob", Wed, 18 Aug 1993 12:58:54 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 12:58:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 12:58:54 UTC +00:00], ["dob", Sat, 18 Aug 1979 12:58:54 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 12:58:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction Connecting to database specified by database.yml  (3.2ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (40.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:01:30 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:01:30 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:01:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:01:30 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:01:30 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:01:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:01:30 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:01:30 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:01:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:01:31 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:01:31 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:01:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:01:31 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:01:31 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:01:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:01:31 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:01:31 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:01:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:01:31 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:01:31 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:01:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:01:31 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:01:31 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:01:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:01:31 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:01:31 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:01:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) rollback transaction Connecting to database specified by database.yml  (3.3ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction SQL (40.7ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Sun, 18 Aug 2013 13:01:40 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Sun, 18 Aug 2013 13:01:40 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:01:40 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:01:40 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:01:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:01:40 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:01:40 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:01:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:01:40 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:01:40 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:01:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:01:40 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:01:40 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:01:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:01:40 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:01:40 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:01:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:01:40 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:01:40 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:01:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:01:40 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:01:40 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:01:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:01:40 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:01:40 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:01:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:01:40 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:01:40 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:01:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.0ms) rollback transaction Connecting to database specified by database.yml  (1.7ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.0ms) begin transaction SQL (5.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Sun, 18 Aug 2013 13:02:34 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Sun, 18 Aug 2013 13:02:34 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:02:34 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:02:34 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:02:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:02:34 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:02:34 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:02:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:02:34 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:02:34 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:02:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:02:34 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:02:34 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:02:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:02:34 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:02:34 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:02:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:02:34 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:02:34 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:02:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:02:34 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:02:34 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:02:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:02:34 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:02:34 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:02:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:02:34 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:02:34 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:02:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction Connecting to database specified by database.yml  (3.3ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (8.9ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:03:44 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:03:44 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:03:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:03:44 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:03:44 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:03:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:03:44 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:03:44 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:03:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:03:44 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:03:44 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:03:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:03:44 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:03:44 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:03:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:03:44 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:03:44 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:03:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:03:44 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:03:44 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:03:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:03:44 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:03:44 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:03:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:03:44 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:03:44 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:03:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Sun, 18 Aug 2013 13:03:44 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Sun, 18 Aug 2013 13:03:44 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" Connecting to database specified by database.yml  (1.7ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction SQL (27.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Sun, 18 Aug 2013 13:03:55 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Sun, 18 Aug 2013 13:03:55 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:03:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:03:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:03:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:03:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:03:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:03:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:03:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:03:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:03:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:03:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:03:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:03:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:03:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:03:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:03:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:03:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:03:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:03:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:03:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:03:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:03:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:03:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:03:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:03:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:03:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:03:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:03:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction Connecting to database specified by database.yml  (3.3ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.3ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (9.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:04:05 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:04:05 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:04:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:04:05 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:04:05 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:04:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:04:05 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:04:05 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:04:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:04:05 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:04:05 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:04:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:04:05 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:04:05 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:04:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:04:05 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:04:05 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:04:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:04:05 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:04:05 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:04:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:04:05 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:04:05 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:04:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:04:05 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:04:05 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:04:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.0ms) rollback transaction Connecting to database specified by database.yml  (2.0ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (25.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:04:20 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:04:20 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:04:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:04:20 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:04:20 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:04:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:04:20 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:04:20 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:04:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:04:20 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:04:20 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:04:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:04:20 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:04:20 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:04:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:04:20 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:04:20 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:04:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:04:20 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:04:20 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:04:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:04:20 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:04:20 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:04:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:04:20 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:04:20 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:04:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction Connecting to database specified by database.yml  (3.2ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction SQL (8.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Sun, 18 Aug 2013 13:04:27 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Sun, 18 Aug 2013 13:04:27 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:04:28 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:04:28 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:04:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:04:28 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:04:28 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:04:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:04:28 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:04:28 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:04:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:04:28 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:04:28 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:04:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:04:28 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:04:28 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:04:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:04:28 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:04:28 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:04:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:04:28 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:04:28 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:04:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:04:28 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:04:28 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:04:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:04:28 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:04:28 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:04:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) rollback transaction Connecting to database specified by database.yml  (3.2ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.0ms) begin transaction SQL (26.9ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Sun, 18 Aug 2013 13:04:47 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Sun, 18 Aug 2013 13:04:47 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:04:47 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:04:47 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:04:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:04:47 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:04:47 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:04:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:04:47 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:04:47 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:04:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:04:47 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:04:47 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:04:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:04:47 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:04:47 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:04:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:04:47 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:04:47 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:04:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:04:47 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:04:47 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:04:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:04:47 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:04:47 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:04:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:04:47 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:04:47 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:04:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) rollback transaction Connecting to database specified by database.yml  (1.7ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  Connecting to database specified by database.yml  (1.7ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  Connecting to database specified by database.yml  (3.4ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  Connecting to database specified by database.yml  (3.2ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  Connecting to database specified by database.yml  (2.0ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  Connecting to database specified by database.yml  (3.2ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (38.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.3ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:13:38 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:13:38 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:13:38 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Sun, 18 Aug 2013 13:13:38 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1  (0.1ms) rollback transaction Connecting to database specified by database.yml  (1.8ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (25.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:22 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:22 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:22 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:22 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:22 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:22 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:22 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:22 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:22 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:22 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:22 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:22 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:22 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:22 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:22 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:22 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:22 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:22 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:22 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:22 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:22 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:22 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:22 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:22 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:22 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:22 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:22 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:22 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:22 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:22 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:22 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:22 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:22 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:22 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:22 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:22 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:22 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:22 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:22 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:22 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:22 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:22 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:22 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:22 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:22 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:22 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:22 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:22 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:22 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:22 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:22 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:22 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:22 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:22 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:22 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:22 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:22 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:22 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:22 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:22 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:22 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:22 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:22 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:22 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:22 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:22 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:22 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:22 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:22 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:22 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:22 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:22 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:22 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:22 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:22 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:22 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:22 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:22 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:22 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:22 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:22 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:22 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:22 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:22 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:22 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:22 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:22 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:22 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:22 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:22 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:22 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:22 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:22 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:22 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:23 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:23 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:23 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:23 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:23 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:23 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:23 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:23 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:23 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:23 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:23 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:23 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:23 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:23 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:23 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:23 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:23 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:23 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:23 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:23 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:23 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:23 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:23 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:23 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:23 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:23 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:23 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:23 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:23 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:23 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:23 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:23 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:23 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:23 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:23 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:23 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:23 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:23 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:23 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:23 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:23 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:23 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:23 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:23 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:23 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:23 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:23 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:23 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:23 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:23 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction Connecting to database specified by database.yml  (1.7ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (1.2ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (24.7ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:54 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:54 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:54 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:54 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:54 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:54 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:54 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 4]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.3ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:14:55 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:14:55 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:14:55 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:14:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction Connecting to database specified by database.yml  (1.9ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction SQL (9.8ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:15:17 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:15:17 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:15:17 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:15:17 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:15:17 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:15:17 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:15:17 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:15:17 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:15:17 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:15:17 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:15:17 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:15:17 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:15:17 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:15:17 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:15:17 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:15:17 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:15:17 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:15:17 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:15:17 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:15:17 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:15:17 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:15:17 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:15:17 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:15:17 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:15:17 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:15:17 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:15:17 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Sun, 18 Aug 2013 13:15:17 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Sun, 18 Aug 2013 13:15:17 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 10]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Connecting to database specified by database.yml  (1.7ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (1.2ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (3.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:15:44 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:15:44 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:15:44 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:15:44 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:15:44 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:15:44 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:15:44 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:15:44 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:15:44 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:15:44 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:15:44 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:15:44 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:15:44 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:15:44 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:15:44 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:15:44 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:15:44 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:15:44 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:15:44 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:15:44 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:15:44 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:15:44 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:15:44 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:15:44 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:15:44 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:15:44 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:15:44 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Sun, 18 Aug 2013 13:15:44 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Sun, 18 Aug 2013 13:15:44 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 10]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Connecting to database specified by database.yml  (3.2ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction SQL (8.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Sun, 18 Aug 2013 13:16:10 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Sun, 18 Aug 2013 13:16:10 UTC +00:00]]  (0.2ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:16:10 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:16:10 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:16:10 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:16:10 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:16:10 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:16:10 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:16:10 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:16:10 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:16:10 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:16:10 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:16:10 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:16:10 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:16:10 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:16:10 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:16:10 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:16:10 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:16:10 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:16:10 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:16:10 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:16:10 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:16:10 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:16:10 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:16:10 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:16:10 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:16:10 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:16:10 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:16:10 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (3.2ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.3ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (6.9ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:18:04 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:18:04 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:18:04 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:18:04 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:18:04 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:18:04 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:18:04 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:18:04 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:18:04 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:18:04 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:18:04 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:18:04 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:18:04 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:18:04 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:18:04 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:18:04 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:18:04 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:18:04 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:18:04 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:18:04 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:18:04 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:18:04 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:18:04 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:18:04 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:18:04 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:18:04 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:18:04 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Sun, 18 Aug 2013 13:18:04 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Sun, 18 Aug 2013 13:18:04 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 10]]  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Connecting to database specified by database.yml  (3.7ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.3ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.3ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.0ms) begin transaction SQL (5.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Sun, 18 Aug 2013 13:18:40 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Sun, 18 Aug 2013 13:18:40 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:18:40 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:18:40 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:18:40 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:18:40 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:18:40 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:18:40 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:18:40 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:18:40 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:18:40 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:18:40 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:18:40 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:18:40 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:18:40 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:18:40 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:18:40 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:18:40 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:18:40 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:18:40 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Sun, 18 Aug 2013 13:18:40 UTC +00:00], ["dob", Mon, 18 Aug 2003 13:18:40 UTC +00:00], ["name", "User#1"], ["updated_at", Sun, 18 Aug 2013 13:18:40 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Sun, 18 Aug 2013 13:18:40 UTC +00:00], ["dob", Wed, 18 Aug 1993 13:18:40 UTC +00:00], ["name", "User#2"], ["updated_at", Sun, 18 Aug 2013 13:18:40 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Sun, 18 Aug 2013 13:18:40 UTC +00:00], ["dob", Sat, 18 Aug 1979 13:18:40 UTC +00:00], ["name", "User#3"], ["updated_at", Sun, 18 Aug 2013 13:18:40 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-18 00:00:00.000000' AND "users"."created_at" <= '2013-09-18 00:00:00.000000')) LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (5.2ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.3ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.3ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction SQL (34.8ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Mon, 19 Aug 2013 04:12:13 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Mon, 19 Aug 2013 04:12:13 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Mon, 19 Aug 2013 04:12:13 UTC +00:00], ["dob", Tue, 19 Aug 2003 04:12:13 UTC +00:00], ["name", "User#1"], ["updated_at", Mon, 19 Aug 2013 04:12:13 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Mon, 19 Aug 2013 04:12:13 UTC +00:00], ["dob", Thu, 19 Aug 1993 04:12:13 UTC +00:00], ["name", "User#2"], ["updated_at", Mon, 19 Aug 2013 04:12:13 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Mon, 19 Aug 2013 04:12:13 UTC +00:00], ["dob", Sun, 19 Aug 1979 04:12:13 UTC +00:00], ["name", "User#3"], ["updated_at", Mon, 19 Aug 2013 04:12:13 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"  User Load (0.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Mon, 19 Aug 2013 04:12:13 UTC +00:00], ["dob", Tue, 19 Aug 2003 04:12:13 UTC +00:00], ["name", "User#1"], ["updated_at", Mon, 19 Aug 2013 04:12:13 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Mon, 19 Aug 2013 04:12:13 UTC +00:00], ["dob", Thu, 19 Aug 1993 04:12:13 UTC +00:00], ["name", "User#2"], ["updated_at", Mon, 19 Aug 2013 04:12:13 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Mon, 19 Aug 2013 04:12:13 UTC +00:00], ["dob", Sun, 19 Aug 1979 04:12:13 UTC +00:00], ["name", "User#3"], ["updated_at", Mon, 19 Aug 2013 04:12:13 UTC +00:00]]  (0.0ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-19 00:00:00.000000' AND "users"."created_at" <= '2013-09-19 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Mon, 19 Aug 2013 04:12:13 UTC +00:00], ["dob", Tue, 19 Aug 2003 04:12:13 UTC +00:00], ["name", "User#1"], ["updated_at", Mon, 19 Aug 2013 04:12:13 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Mon, 19 Aug 2013 04:12:13 UTC +00:00], ["dob", Thu, 19 Aug 1993 04:12:13 UTC +00:00], ["name", "User#2"], ["updated_at", Mon, 19 Aug 2013 04:12:13 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Mon, 19 Aug 2013 04:12:13 UTC +00:00], ["dob", Sun, 19 Aug 1979 04:12:13 UTC +00:00], ["name", "User#3"], ["updated_at", Mon, 19 Aug 2013 04:12:13 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-19 00:00:00.000000' AND "users"."created_at" <= '2013-09-19 00:00:00.000000')) LIMIT 25 OFFSET 0 Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-08-19 19:13:21 +0600 Processing by InvoicesController#index as HTML  (0.5ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-19 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-19 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-19 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-19 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-19 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-19 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-19 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-19 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-19 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-19 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-19 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-19 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (39.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.3ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-19 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-19 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-19 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-19 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (115.3ms) Completed 200 OK in 492ms (Views: 304.5ms | ActiveRecord: 36.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-19 19:13:22 +0600 Served asset /application.css - 200 OK (21ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-19 19:13:22 +0600 Served asset /scaffold.css - 200 OK (2ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-19 19:13:22 +0600 Served asset /invoices.css - 200 OK (4ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-19 19:13:22 +0600 Served asset /users.css - 200 OK (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-19 19:13:22 +0600 Served asset /jquery.js - 200 OK (10ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-19 19:13:22 +0600 Served asset /jquery_ujs.js - 200 OK (3ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-19 19:13:22 +0600 Served asset /invoices.js - 200 OK (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-19 19:13:22 +0600 Served asset /users.js - 200 OK (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-19 19:13:22 +0600 Served asset /application.js - 200 OK (10ms) Started GET "/invoices.pdf" for 127.0.0.1 at 2013-08-19 19:13:26 +0600 Processing by InvoicesController#index as PDF  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-19 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-19 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-19 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-19 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-19 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-19 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-19 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-19 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-19 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-19 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-19 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-19 00:00:00.000000' AND "invoices"."paid" = 'f')) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-19 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-19 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered text template (0.0ms) Sent data (16.3ms) Completed 200 OK in 3656ms (Views: 16.1ms | ActiveRecord: 1.1ms) Connecting to database specified by database.yml Started GET "/invoices.pdf" for 127.0.0.1 at 2013-08-19 19:20:00 +0600 Processing by InvoicesController#index as PDF  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-19 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-19 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-19 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-19 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-19 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-19 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-19 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-19 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-19 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-19 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-19 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-19 00:00:00.000000' AND "invoices"."paid" = 'f')) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-19 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-19 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered text template (0.0ms) Sent data (85.2ms) Completed 200 OK in 3746ms (Views: 85.0ms | ActiveRecord: 3.0ms) Connecting to database specified by database.yml Started GET "/invoices.pdf" for 127.0.0.1 at 2013-08-19 19:22:55 +0600 Processing by InvoicesController#index as PDF  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-19 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-19 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-19 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-19 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-19 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-19 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-19 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-19 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-19 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-19 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-19 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-19 00:00:00.000000' AND "invoices"."paid" = 'f')) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-19 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-19 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered text template (0.0ms) Sent data (84.4ms) Completed 200 OK in 3751ms (Views: 84.2ms | ActiveRecord: 3.1ms) Connecting to database specified by database.yml  (35.1ms) select sqlite_version(*)  (11.1ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.6ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (5.9ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 20 Aug 2013 13:06:38 UTC +00:00], ["dob", Wed, 20 Aug 2003 13:06:38 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 20 Aug 2013 13:06:38 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 20 Aug 2013 13:06:38 UTC +00:00], ["dob", Fri, 20 Aug 1993 13:06:38 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 20 Aug 2013 13:06:38 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 20 Aug 2013 13:06:38 UTC +00:00], ["dob", Mon, 20 Aug 1979 13:06:38 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 20 Aug 2013 13:06:38 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"  User Load (0.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 20 Aug 2013 13:06:38 UTC +00:00], ["dob", Wed, 20 Aug 2003 13:06:38 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 20 Aug 2013 13:06:38 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 20 Aug 2013 13:06:38 UTC +00:00], ["dob", Fri, 20 Aug 1993 13:06:38 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 20 Aug 2013 13:06:38 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 20 Aug 2013 13:06:38 UTC +00:00], ["dob", Mon, 20 Aug 1979 13:06:38 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 20 Aug 2013 13:06:38 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-20 00:00:00.000000' AND "users"."created_at" <= '2013-09-20 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 20 Aug 2013 13:06:38 UTC +00:00], ["dob", Wed, 20 Aug 2003 13:06:38 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 20 Aug 2013 13:06:38 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 20 Aug 2013 13:06:38 UTC +00:00], ["dob", Fri, 20 Aug 1993 13:06:38 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 20 Aug 2013 13:06:38 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 20 Aug 2013 13:06:38 UTC +00:00], ["dob", Mon, 20 Aug 1979 13:06:38 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 20 Aug 2013 13:06:38 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-20 00:00:00.000000' AND "users"."created_at" <= '2013-09-20 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 20 Aug 2013 13:06:38 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 20 Aug 2013 13:06:38 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 10]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 Connecting to database specified by database.yml  (3.8ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.3ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.3ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.0ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (5.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 20 Aug 2013 13:08:45 UTC +00:00], ["dob", Wed, 20 Aug 2003 13:08:45 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 20 Aug 2013 13:08:45 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 20 Aug 2013 13:08:45 UTC +00:00], ["dob", Fri, 20 Aug 1993 13:08:45 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 20 Aug 2013 13:08:45 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 20 Aug 2013 13:08:45 UTC +00:00], ["dob", Mon, 20 Aug 1979 13:08:45 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 20 Aug 2013 13:08:45 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-20 00:00:00.000000' AND "users"."created_at" <= '2013-09-20 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 20 Aug 2013 13:08:45 UTC +00:00], ["dob", Wed, 20 Aug 2003 13:08:45 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 20 Aug 2013 13:08:45 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 20 Aug 2013 13:08:45 UTC +00:00], ["dob", Fri, 20 Aug 1993 13:08:45 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 20 Aug 2013 13:08:45 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 20 Aug 2013 13:08:45 UTC +00:00], ["dob", Mon, 20 Aug 1979 13:08:45 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 20 Aug 2013 13:08:45 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-20 00:00:00.000000' AND "users"."created_at" <= '2013-09-20 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 20 Aug 2013 13:08:45 UTC +00:00], ["dob", Wed, 20 Aug 2003 13:08:45 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 20 Aug 2013 13:08:45 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 20 Aug 2013 13:08:45 UTC +00:00], ["dob", Fri, 20 Aug 1993 13:08:45 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 20 Aug 2013 13:08:45 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 20 Aug 2013 13:08:45 UTC +00:00], ["dob", Mon, 20 Aug 1979 13:08:45 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 20 Aug 2013 13:08:45 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 20 Aug 2013 13:08:45 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 20 Aug 2013 13:08:45 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 10]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 20 Aug 2013 13:08:45 UTC +00:00], ["dob", Wed, 20 Aug 2003 13:08:45 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 20 Aug 2013 13:08:45 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 20 Aug 2013 13:08:45 UTC +00:00], ["dob", Fri, 20 Aug 1993 13:08:45 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 20 Aug 2013 13:08:45 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 20 Aug 2013 13:08:45 UTC +00:00], ["dob", Mon, 20 Aug 1979 13:08:45 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 20 Aug 2013 13:08:45 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users"  Connecting to database specified by database.yml  (33.4ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  Connecting to database specified by database.yml  (4.4ms) select sqlite_version(*)  (0.8ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.3ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  Connecting to database specified by database.yml  (34.2ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  Connecting to database specified by database.yml  (33.4ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.3ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (6.7ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 20 Aug 2013 13:12:20 UTC +00:00], ["dob", Wed, 20 Aug 2003 13:12:19 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 20 Aug 2013 13:12:20 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 20 Aug 2013 13:12:20 UTC +00:00], ["dob", Fri, 20 Aug 1993 13:12:20 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 20 Aug 2013 13:12:20 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 20 Aug 2013 13:12:20 UTC +00:00], ["dob", Mon, 20 Aug 1979 13:12:20 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 20 Aug 2013 13:12:20 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" Connecting to database specified by database.yml  (3.7ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.3ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.3ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.4ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (6.9ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 20 Aug 2013 13:15:44 UTC +00:00], ["dob", Wed, 20 Aug 2003 13:15:44 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 20 Aug 2013 13:15:44 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 20 Aug 2013 13:15:44 UTC +00:00], ["dob", Fri, 20 Aug 1993 13:15:44 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 20 Aug 2013 13:15:44 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 20 Aug 2013 13:15:44 UTC +00:00], ["dob", Mon, 20 Aug 1979 13:15:44 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 20 Aug 2013 13:15:44 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-20 00:00:00.000000' AND "users"."created_at" <= '2013-09-20 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 20 Aug 2013 13:15:45 UTC +00:00], ["dob", Wed, 20 Aug 2003 13:15:45 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 20 Aug 2013 13:15:45 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 20 Aug 2013 13:15:45 UTC +00:00], ["dob", Fri, 20 Aug 1993 13:15:45 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 20 Aug 2013 13:15:45 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 20 Aug 2013 13:15:45 UTC +00:00], ["dob", Mon, 20 Aug 1979 13:15:45 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 20 Aug 2013 13:15:45 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-20 00:00:00.000000' AND "users"."created_at" <= '2013-09-20 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 20 Aug 2013 13:15:45 UTC +00:00], ["dob", Wed, 20 Aug 2003 13:15:45 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 20 Aug 2013 13:15:45 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 20 Aug 2013 13:15:45 UTC +00:00], ["dob", Fri, 20 Aug 1993 13:15:45 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 20 Aug 2013 13:15:45 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 20 Aug 2013 13:15:45 UTC +00:00], ["dob", Mon, 20 Aug 1979 13:15:45 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 20 Aug 2013 13:15:45 UTC +00:00]]  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"  Connecting to database specified by database.yml  (3.2ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (34.7ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (6.9ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 20 Aug 2013 13:16:34 UTC +00:00], ["dob", Wed, 20 Aug 2003 13:16:34 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 20 Aug 2013 13:16:34 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 20 Aug 2013 13:16:34 UTC +00:00], ["dob", Fri, 20 Aug 1993 13:16:34 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 20 Aug 2013 13:16:34 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 20 Aug 2013 13:16:34 UTC +00:00], ["dob", Mon, 20 Aug 1979 13:16:34 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 20 Aug 2013 13:16:34 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-20 00:00:00.000000' AND "users"."created_at" <= '2013-09-20 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 20 Aug 2013 13:16:34 UTC +00:00], ["dob", Wed, 20 Aug 2003 13:16:34 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 20 Aug 2013 13:16:34 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 20 Aug 2013 13:16:34 UTC +00:00], ["dob", Fri, 20 Aug 1993 13:16:34 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 20 Aug 2013 13:16:34 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 20 Aug 2013 13:16:34 UTC +00:00], ["dob", Mon, 20 Aug 1979 13:16:34 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 20 Aug 2013 13:16:34 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-20 00:00:00.000000' AND "users"."created_at" <= '2013-09-20 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 20 Aug 2013 13:16:34 UTC +00:00], ["dob", Wed, 20 Aug 2003 13:16:34 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 20 Aug 2013 13:16:34 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 20 Aug 2013 13:16:34 UTC +00:00], ["dob", Fri, 20 Aug 1993 13:16:34 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 20 Aug 2013 13:16:34 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 20 Aug 2013 13:16:34 UTC +00:00], ["dob", Mon, 20 Aug 1979 13:16:34 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 20 Aug 2013 13:16:34 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"  Connecting to database specified by database.yml  (33.8ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.3ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (6.7ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 20 Aug 2013 13:18:26 UTC +00:00], ["dob", Wed, 20 Aug 2003 13:18:26 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 20 Aug 2013 13:18:26 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 20 Aug 2013 13:18:26 UTC +00:00], ["dob", Fri, 20 Aug 1993 13:18:26 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 20 Aug 2013 13:18:26 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 20 Aug 2013 13:18:26 UTC +00:00], ["dob", Mon, 20 Aug 1979 13:18:26 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 20 Aug 2013 13:18:26 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 20 Aug 2013 13:18:26 UTC +00:00], ["dob", Wed, 20 Aug 2003 13:18:26 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 20 Aug 2013 13:18:26 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 20 Aug 2013 13:18:26 UTC +00:00], ["dob", Fri, 20 Aug 1993 13:18:26 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 20 Aug 2013 13:18:26 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 20 Aug 2013 13:18:26 UTC +00:00], ["dob", Mon, 20 Aug 1979 13:18:26 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 20 Aug 2013 13:18:26 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 20 Aug 2013 13:18:26 UTC +00:00], ["dob", Wed, 20 Aug 2003 13:18:26 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 20 Aug 2013 13:18:26 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 20 Aug 2013 13:18:26 UTC +00:00], ["dob", Fri, 20 Aug 1993 13:18:26 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 20 Aug 2013 13:18:26 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 20 Aug 2013 13:18:26 UTC +00:00], ["dob", Mon, 20 Aug 1979 13:18:26 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 20 Aug 2013 13:18:26 UTC +00:00]]  (0.0ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-20 00:00:00.000000' AND "users"."created_at" <= '2013-09-20 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 20 Aug 2013 13:18:26 UTC +00:00], ["dob", Wed, 20 Aug 2003 13:18:26 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 20 Aug 2013 13:18:26 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 20 Aug 2013 13:18:26 UTC +00:00], ["dob", Fri, 20 Aug 1993 13:18:26 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 20 Aug 2013 13:18:26 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 20 Aug 2013 13:18:26 UTC +00:00], ["dob", Mon, 20 Aug 1979 13:18:26 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 20 Aug 2013 13:18:26 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-20 00:00:00.000000' AND "users"."created_at" <= '2013-09-20 00:00:00.000000')) LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (3.7ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.4ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.3ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.3ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (6.8ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 20 Aug 2013 13:20:19 UTC +00:00], ["dob", Wed, 20 Aug 2003 13:20:19 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 20 Aug 2013 13:20:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 20 Aug 2013 13:20:19 UTC +00:00], ["dob", Fri, 20 Aug 1993 13:20:19 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 20 Aug 2013 13:20:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 20 Aug 2013 13:20:19 UTC +00:00], ["dob", Mon, 20 Aug 1979 13:20:19 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 20 Aug 2013 13:20:19 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 20 Aug 2013 13:20:19 UTC +00:00], ["dob", Wed, 20 Aug 2003 13:20:19 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 20 Aug 2013 13:20:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 20 Aug 2013 13:20:19 UTC +00:00], ["dob", Fri, 20 Aug 1993 13:20:19 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 20 Aug 2013 13:20:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 20 Aug 2013 13:20:19 UTC +00:00], ["dob", Mon, 20 Aug 1979 13:20:19 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 20 Aug 2013 13:20:19 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 20 Aug 2013 13:20:19 UTC +00:00], ["dob", Wed, 20 Aug 2003 13:20:19 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 20 Aug 2013 13:20:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 20 Aug 2013 13:20:19 UTC +00:00], ["dob", Fri, 20 Aug 1993 13:20:19 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 20 Aug 2013 13:20:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 20 Aug 2013 13:20:19 UTC +00:00], ["dob", Mon, 20 Aug 1979 13:20:19 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 20 Aug 2013 13:20:19 UTC +00:00]]  (0.0ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-20 00:00:00.000000' AND "users"."created_at" <= '2013-09-20 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 20 Aug 2013 13:20:19 UTC +00:00], ["dob", Wed, 20 Aug 2003 13:20:19 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 20 Aug 2013 13:20:19 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 20 Aug 2013 13:20:19 UTC +00:00], ["dob", Fri, 20 Aug 1993 13:20:19 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 20 Aug 2013 13:20:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 20 Aug 2013 13:20:19 UTC +00:00], ["dob", Mon, 20 Aug 1979 13:20:19 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 20 Aug 2013 13:20:19 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-20 00:00:00.000000' AND "users"."created_at" <= '2013-09-20 00:00:00.000000')) LIMIT 25 OFFSET 0 Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-08-21 09:31:42 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (20.5ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.7ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (147.7ms) Completed 200 OK in 692ms (Views: 393.5ms | ActiveRecord: 6.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-21 09:31:44 +0600 Served asset /application.css - 200 OK (7ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-21 09:31:44 +0600 Served asset /invoices.css - 200 OK (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-21 09:31:44 +0600 Served asset /users.css - 200 OK (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-21 09:31:44 +0600 Served asset /scaffold.css - 200 OK (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-21 09:31:44 +0600 Served asset /invoices.js - 200 OK (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-21 09:31:44 +0600 Served asset /users.js - 200 OK (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-21 09:31:44 +0600 Served asset /application.js - 200 OK (6ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-21 09:31:44 +0600 Served asset /jquery.js - 200 OK (4ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-21 09:31:44 +0600 Served asset /jquery_ujs.js - 200 OK (1ms) Started GET "/invoices.pdf" for 127.0.0.1 at 2013-08-21 09:31:47 +0600 Processing by InvoicesController#index as PDF  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) Completed 500 Internal Server Error in 24ms NoMethodError (undefined method `constantize' for PdfReportTemplate:Class): app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.5ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.3ms) Connecting to database specified by database.yml Started GET "/invoices.pdf" for 127.0.0.1 at 2013-08-21 09:32:23 +0600 Processing by InvoicesController#index as PDF  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered text template (0.0ms) Sent data (98.3ms) Completed 200 OK in 4416ms (Views: 98.0ms | ActiveRecord: 6.8ms) Connecting to database specified by database.yml Started GET "/invoices.pdf" for 127.0.0.1 at 2013-08-21 09:32:59 +0600 Processing by InvoicesController#index as PDF  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered text template (0.0ms) Sent data (11.5ms) Completed 200 OK in 3527ms (Views: 11.3ms | ActiveRecord: 4.7ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-08-21 09:44:34 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (7.4ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.1ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (96.9ms) Completed 200 OK in 321ms (Views: 133.7ms | ActiveRecord: 5.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-21 09:44:35 +0600 Served asset /application.css - 304 Not Modified (28ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-21 09:44:35 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-21 09:44:35 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-21 09:44:35 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-21 09:44:35 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-21 09:44:35 +0600 Served asset /jquery.js - 304 Not Modified (6ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-21 09:44:35 +0600 Served asset /invoices.js - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-21 09:44:35 +0600 Served asset /users.js - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-21 09:44:35 +0600 Served asset /application.js - 304 Not Modified (5ms) Started GET "/invoices.pdf" for 127.0.0.1 at 2013-08-21 09:44:38 +0600 Processing by InvoicesController#index as PDF  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) Invoice Load (1.1ms) SELECT "invoices".* FROM "invoices"  Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0 Completed 500 Internal Server Error in 263ms NameError (undefined local variable or method `pdf' for #): app/models/pdf_report_template.rb:13:in `render_header' app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.5ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.0ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (65.7ms) Connecting to database specified by database.yml Started GET "/invoices.pdf" for 127.0.0.1 at 2013-08-21 09:44:58 +0600 Processing by InvoicesController#index as PDF  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered text template (0.0ms) Sent data (77.8ms) Completed 200 OK in 3882ms (Views: 77.5ms | ActiveRecord: 35.6ms) Connecting to database specified by database.yml Started GET "/invoices.pdf" for 127.0.0.1 at 2013-08-21 09:46:42 +0600 Processing by InvoicesController#index as PDF  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.2ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) Connecting to database specified by database.yml  (3.3ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.3ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (3.8ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (7.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 21 Aug 2013 03:46:45 UTC +00:00], ["dob", Thu, 21 Aug 2003 03:46:45 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 21 Aug 2013 03:46:45 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 21 Aug 2013 03:46:45 UTC +00:00], ["dob", Sat, 21 Aug 1993 03:46:45 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 21 Aug 2013 03:46:45 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 21 Aug 2013 03:46:45 UTC +00:00], ["dob", Tue, 21 Aug 1979 03:46:45 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 21 Aug 2013 03:46:45 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 21 Aug 2013 03:46:45 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 21 Aug 2013 03:46:45 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 4]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1 User Load (0.3ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 21 Aug 2013 03:46:45 UTC +00:00], ["dob", Thu, 21 Aug 2003 03:46:45 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 21 Aug 2013 03:46:45 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 21 Aug 2013 03:46:45 UTC +00:00], ["dob", Sat, 21 Aug 1993 03:46:45 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 21 Aug 2013 03:46:45 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 21 Aug 2013 03:46:45 UTC +00:00], ["dob", Tue, 21 Aug 1979 03:46:45 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 21 Aug 2013 03:46:45 UTC +00:00]]  (0.1ms) commit transaction User Load (0.4ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-21 00:00:00.000000' AND "users"."created_at" <= '2013-09-21 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 21 Aug 2013 03:46:46 UTC +00:00], ["dob", Thu, 21 Aug 2003 03:46:46 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 21 Aug 2013 03:46:46 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 21 Aug 2013 03:46:46 UTC +00:00], ["dob", Sat, 21 Aug 1993 03:46:46 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 21 Aug 2013 03:46:46 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 21 Aug 2013 03:46:46 UTC +00:00], ["dob", Tue, 21 Aug 1979 03:46:46 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 21 Aug 2013 03:46:46 UTC +00:00]]  (0.9ms) commit transaction User Load (0.4ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-21 00:00:00.000000' AND "users"."created_at" <= '2013-09-21 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 21 Aug 2013 03:46:46 UTC +00:00], ["dob", Thu, 21 Aug 2003 03:46:46 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 21 Aug 2013 03:46:46 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 21 Aug 2013 03:46:46 UTC +00:00], ["dob", Sat, 21 Aug 1993 03:46:46 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 21 Aug 2013 03:46:46 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 21 Aug 2013 03:46:46 UTC +00:00], ["dob", Tue, 21 Aug 1979 03:46:46 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 21 Aug 2013 03:46:46 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 21 Aug 2013 03:46:46 UTC +00:00], ["dob", Thu, 21 Aug 2003 03:46:46 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 21 Aug 2013 03:46:46 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 21 Aug 2013 03:46:46 UTC +00:00], ["dob", Sat, 21 Aug 1993 03:46:46 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 21 Aug 2013 03:46:46 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 21 Aug 2013 03:46:46 UTC +00:00], ["dob", Tue, 21 Aug 1979 03:46:46 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 21 Aug 2013 03:46:46 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered text template (0.0ms) Sent data (76.4ms) Completed 200 OK in 3757ms (Views: 76.2ms | ActiveRecord: 3.0ms) Connecting to database specified by database.yml Started GET "/invoices.pdf" for 127.0.0.1 at 2013-08-21 09:47:55 +0600 Processing by InvoicesController#index as PDF  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) Connecting to database specified by database.yml  (3.6ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.4ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.6ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (6.7ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 21 Aug 2013 03:47:58 UTC +00:00], ["dob", Thu, 21 Aug 2003 03:47:58 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 21 Aug 2013 03:47:58 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 21 Aug 2013 03:47:58 UTC +00:00], ["dob", Sat, 21 Aug 1993 03:47:58 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 21 Aug 2013 03:47:58 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 21 Aug 2013 03:47:58 UTC +00:00], ["dob", Tue, 21 Aug 1979 03:47:58 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 21 Aug 2013 03:47:58 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 21 Aug 2013 03:47:58 UTC +00:00], ["dob", Thu, 21 Aug 2003 03:47:58 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 21 Aug 2013 03:47:58 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 21 Aug 2013 03:47:58 UTC +00:00], ["dob", Sat, 21 Aug 1993 03:47:58 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 21 Aug 2013 03:47:58 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 21 Aug 2013 03:47:58 UTC +00:00], ["dob", Tue, 21 Aug 1979 03:47:58 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 21 Aug 2013 03:47:58 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 21 Aug 2013 03:47:58 UTC +00:00], ["dob", Thu, 21 Aug 2003 03:47:58 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 21 Aug 2013 03:47:58 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 21 Aug 2013 03:47:58 UTC +00:00], ["dob", Sat, 21 Aug 1993 03:47:58 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 21 Aug 2013 03:47:58 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 21 Aug 2013 03:47:58 UTC +00:00], ["dob", Tue, 21 Aug 1979 03:47:58 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 21 Aug 2013 03:47:58 UTC +00:00]]  (0.2ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 21 Aug 2013 03:47:58 UTC +00:00], ["dob", Thu, 21 Aug 2003 03:47:58 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 21 Aug 2013 03:47:58 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 21 Aug 2013 03:47:58 UTC +00:00], ["dob", Sat, 21 Aug 1993 03:47:58 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 21 Aug 2013 03:47:58 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 21 Aug 2013 03:47:58 UTC +00:00], ["dob", Tue, 21 Aug 1979 03:47:58 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 21 Aug 2013 03:47:58 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-21 00:00:00.000000' AND "users"."created_at" <= '2013-09-21 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 21 Aug 2013 03:47:58 UTC +00:00], ["dob", Thu, 21 Aug 2003 03:47:58 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 21 Aug 2013 03:47:58 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 21 Aug 2013 03:47:58 UTC +00:00], ["dob", Sat, 21 Aug 1993 03:47:58 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 21 Aug 2013 03:47:58 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 21 Aug 2013 03:47:58 UTC +00:00], ["dob", Tue, 21 Aug 1979 03:47:58 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 21 Aug 2013 03:47:58 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-21 00:00:00.000000' AND "users"."created_at" <= '2013-09-21 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 21 Aug 2013 03:47:58 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 21 Aug 2013 03:47:58 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 16]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 16 LIMIT 1 Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered text template (0.0ms) Sent data (76.9ms) Completed 200 OK in 3974ms (Views: 76.7ms | ActiveRecord: 5.0ms) Connecting to database specified by database.yml  (3.3ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.3ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.3ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (38.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 21 Aug 2013 03:52:53 UTC +00:00], ["dob", Thu, 21 Aug 2003 03:52:53 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 21 Aug 2013 03:52:53 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 21 Aug 2013 03:52:53 UTC +00:00], ["dob", Sat, 21 Aug 1993 03:52:53 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 21 Aug 2013 03:52:53 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 21 Aug 2013 03:52:53 UTC +00:00], ["dob", Tue, 21 Aug 1979 03:52:53 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 21 Aug 2013 03:52:53 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 21 Aug 2013 03:52:53 UTC +00:00], ["dob", Thu, 21 Aug 2003 03:52:53 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 21 Aug 2013 03:52:53 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 21 Aug 2013 03:52:53 UTC +00:00], ["dob", Sat, 21 Aug 1993 03:52:53 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 21 Aug 2013 03:52:53 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 21 Aug 2013 03:52:54 UTC +00:00], ["dob", Tue, 21 Aug 1979 03:52:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 21 Aug 2013 03:52:54 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 21 Aug 2013 03:52:54 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 21 Aug 2013 03:52:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 7]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 7 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 21 Aug 2013 03:52:54 UTC +00:00], ["dob", Thu, 21 Aug 2003 03:52:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 21 Aug 2013 03:52:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 21 Aug 2013 03:52:54 UTC +00:00], ["dob", Sat, 21 Aug 1993 03:52:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 21 Aug 2013 03:52:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 21 Aug 2013 03:52:54 UTC +00:00], ["dob", Tue, 21 Aug 1979 03:52:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 21 Aug 2013 03:52:54 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 21 Aug 2013 03:52:54 UTC +00:00], ["dob", Thu, 21 Aug 2003 03:52:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 21 Aug 2013 03:52:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 21 Aug 2013 03:52:54 UTC +00:00], ["dob", Sat, 21 Aug 1993 03:52:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 21 Aug 2013 03:52:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 21 Aug 2013 03:52:54 UTC +00:00], ["dob", Tue, 21 Aug 1979 03:52:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 21 Aug 2013 03:52:54 UTC +00:00]]  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 21 Aug 2013 03:52:54 UTC +00:00], ["dob", Thu, 21 Aug 2003 03:52:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 21 Aug 2013 03:52:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 21 Aug 2013 03:52:54 UTC +00:00], ["dob", Sat, 21 Aug 1993 03:52:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 21 Aug 2013 03:52:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 21 Aug 2013 03:52:54 UTC +00:00], ["dob", Tue, 21 Aug 1979 03:52:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 21 Aug 2013 03:52:54 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-21 00:00:00.000000' AND "users"."created_at" <= '2013-09-21 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 21 Aug 2013 03:52:54 UTC +00:00], ["dob", Thu, 21 Aug 2003 03:52:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 21 Aug 2013 03:52:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 21 Aug 2013 03:52:54 UTC +00:00], ["dob", Sat, 21 Aug 1993 03:52:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 21 Aug 2013 03:52:54 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 21 Aug 2013 03:52:54 UTC +00:00], ["dob", Tue, 21 Aug 1979 03:52:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 21 Aug 2013 03:52:54 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-21 00:00:00.000000' AND "users"."created_at" <= '2013-09-21 00:00:00.000000')) LIMIT 25 OFFSET 0 Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-08-21 12:30:35 +0600 ActionController::RoutingError (No route matches [GET] "/"): actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' rack (1.4.5) lib/rack/runtime.rb:17:in `call' activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.5) lib/rack/lock.rb:15:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call' railties (3.2.13) lib/rails/engine.rb:479:in `call' railties (3.2.13) lib/rails/application.rb:223:in `call' rack (1.4.5) lib/rack/content_length.rb:14:in `call' railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.7ms) Started GET "/invoices" for 127.0.0.1 at 2013-08-21 12:30:41 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (3.2ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.9ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (45.9ms) Completed 200 OK in 312ms (Views: 216.5ms | ActiveRecord: 19.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-21 12:30:42 +0600 Served asset /application.css - 200 OK (29ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-21 12:30:42 +0600 Served asset /invoices.css - 200 OK (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-21 12:30:42 +0600 Served asset /scaffold.css - 200 OK (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-21 12:30:42 +0600 Served asset /users.css - 200 OK (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-21 12:30:42 +0600 Served asset /jquery.js - 200 OK (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-21 12:30:42 +0600 Served asset /jquery_ujs.js - 200 OK (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-21 12:30:42 +0600 Served asset /invoices.js - 200 OK (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-21 12:30:42 +0600 Served asset /users.js - 200 OK (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-21 12:30:42 +0600 Served asset /application.js - 200 OK (24ms) Started GET "/invoices.pdf" for 127.0.0.1 at 2013-08-21 12:30:44 +0600 Processing by InvoicesController#index as PDF  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered text template (0.0ms) Sent data (17.2ms) Completed 200 OK in 1629ms (Views: 17.1ms | ActiveRecord: 0.5ms) Started GET "/invoices.pdf" for 127.0.0.1 at 2013-08-21 12:30:50 +0600 Processing by InvoicesController#index as PDF  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered text template (0.0ms) Sent data (0.5ms) Completed 200 OK in 1476ms (Views: 0.4ms | ActiveRecord: 0.5ms) Connecting to database specified by database.yml Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-08-21 19:11:37 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (7.5ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.1ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (96.0ms) Completed 200 OK in 322ms (Views: 132.6ms | ActiveRecord: 5.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-21 19:11:38 +0600 Served asset /application.css - 304 Not Modified (8ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-21 19:11:38 +0600 Served asset /invoices.css - 304 Not Modified (2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-21 19:11:38 +0600 Served asset /scaffold.css - 304 Not Modified (2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-21 19:11:38 +0600 Served asset /users.css - 304 Not Modified (4ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-21 19:11:38 +0600 Served asset /jquery.js - 200 OK (8ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-21 19:11:38 +0600 Served asset /jquery_ujs.js - 200 OK (4ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-21 19:11:38 +0600 Served asset /invoices.js - 304 Not Modified (2ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-21 19:11:38 +0600 Served asset /users.js - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-21 19:11:38 +0600 Served asset /application.js - 304 Not Modified (10ms) Started GET "/invoices.pdf" for 127.0.0.1 at 2013-08-21 19:11:41 +0600 Processing by InvoicesController#index as PDF  (1.7ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.4ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) Completed 500 Internal Server Error in 26ms NoMethodError (undefined method `[]' for nil:NilClass): app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.6ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.7ms) Connecting to database specified by database.yml Started GET "/invoices.pdf" for 127.0.0.1 at 2013-08-21 19:12:37 +0600 Processing by InvoicesController#index as PDF  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) Completed 500 Internal Server Error in 3830ms NoMethodError (undefined method `render' for nil:NilClass): app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.3ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (16.1ms) Connecting to database specified by database.yml Started GET "/invoices.pdf" for 127.0.0.1 at 2013-08-21 19:13:48 +0600 Processing by InvoicesController#index as PDF  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered text template (0.0ms) Sent data (11.5ms) Completed 200 OK in 3854ms (Views: 11.3ms | ActiveRecord: 36.6ms) Connecting to database specified by database.yml  (3.2ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.3ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction SQL (10.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00], ["dob", Thu, 21 Aug 2003 13:14:27 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00], ["dob", Sat, 21 Aug 1993 13:14:27 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00], ["dob", Tue, 21 Aug 1979 13:14:27 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00], ["dob", Thu, 21 Aug 2003 13:14:27 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00], ["dob", Sat, 21 Aug 1993 13:14:27 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00], ["dob", Tue, 21 Aug 1979 13:14:27 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00], ["dob", Thu, 21 Aug 2003 13:14:27 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00], ["dob", Sat, 21 Aug 1993 13:14:27 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00], ["dob", Tue, 21 Aug 1979 13:14:27 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00], ["dob", Thu, 21 Aug 2003 13:14:27 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00], ["dob", Sat, 21 Aug 1993 13:14:27 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00], ["dob", Tue, 21 Aug 1979 13:14:27 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00], ["dob", Thu, 21 Aug 2003 13:14:27 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00], ["dob", Sat, 21 Aug 1993 13:14:27 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00], ["dob", Tue, 21 Aug 1979 13:14:27 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-21 00:00:00.000000' AND "users"."created_at" <= '2013-09-21 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00], ["dob", Thu, 21 Aug 2003 13:14:27 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00], ["dob", Sat, 21 Aug 1993 13:14:27 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00], ["dob", Tue, 21 Aug 1979 13:14:27 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 21 Aug 2013 13:14:27 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-21 00:00:00.000000' AND "users"."created_at" <= '2013-09-21 00:00:00.000000')) LIMIT 25 OFFSET 0 Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-21&q%5Bcreated_at_lteq%5D=2013-09-21&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-21 19:14:50 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-21", "created_at_lteq"=>"2013-09-21", "paid_eq"=>""}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000'))  (0.2ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (7.4ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.2ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (177.8ms) Completed 200 OK in 273ms (Views: 248.9ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-21 19:14:51 +0600 Served asset /application.css - 304 Not Modified (13ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-21 19:14:51 +0600 Served asset /scaffold.css - 304 Not Modified (6ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-21 19:14:51 +0600 Served asset /invoices.css - 304 Not Modified (3ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-21 19:14:51 +0600 Served asset /users.css - 304 Not Modified (3ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-21 19:14:51 +0600 Served asset /invoices.js - 304 Not Modified (2ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-21 19:14:51 +0600 Served asset /users.js - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-21 19:14:51 +0600 Served asset /application.js - 304 Not Modified (51ms) Started GET "/invoices.pdf?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-21&q%5Bcreated_at_lteq%5D=2013-09-21&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-21 19:14:52 +0600 Processing by InvoicesController#index as PDF Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-21", "created_at_lteq"=>"2013-09-21", "paid_eq"=>""}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000')) Invoice Load (1.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000')) Rendered text template (0.0ms) Sent data (1.2ms) Completed 200 OK in 7154ms (Views: 0.9ms | ActiveRecord: 1.9ms) Connecting to database specified by database.yml  (11.0ms) select sqlite_version(*)  (0.9ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.4ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.4ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.4ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.4ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (64.0ms) SELECT "users".* FROM "users"  (0.2ms) begin transaction SQL (26.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:19:22 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:19:22 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:19:22 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:19:22 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:19:22 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:19:22 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:19:22 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:19:22 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:19:22 UTC +00:00]]  (0.1ms) commit transaction User Load (0.4ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.4ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:19:22 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:19:22 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:19:22 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:19:22 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:19:22 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:19:22 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:19:22 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:19:22 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:19:22 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" User Load (0.4ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:19:22 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:19:22 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:19:22 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:19:22 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:19:22 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:19:22 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:19:22 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:19:22 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:19:22 UTC +00:00]]  (0.1ms) commit transaction User Load (0.4ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-22 00:00:00.000000' AND "users"."created_at" <= '2013-09-22 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.4ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:19:22 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:19:22 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:19:22 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:19:22 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:19:22 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:19:22 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:19:22 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:19:22 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:19:22 UTC +00:00]]  (0.1ms) commit transaction User Load (0.4ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-22 00:00:00.000000' AND "users"."created_at" <= '2013-09-22 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.2ms) begin transaction SQL (0.7ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Thu, 22 Aug 2013 03:19:23 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Thu, 22 Aug 2013 03:19:23 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 13]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.4ms) SELECT "users".* FROM "users"  (0.2ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:19:23 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:19:23 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:19:23 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:19:23 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:19:23 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:19:23 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:19:23 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:19:23 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:19:23 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:19:23 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:19:23 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:19:23 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:19:23 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:19:23 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:19:23 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:19:23 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:19:23 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:19:23 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" Connecting to database specified by database.yml  (3.6ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (6.7ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:21:05 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:21:05 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:21:05 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:21:05 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:21:05 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:21:05 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:21:05 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:21:05 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:21:05 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:21:05 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:21:05 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:21:05 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:21:05 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:21:05 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:21:05 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:21:05 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:21:05 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:21:05 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" Connecting to database specified by database.yml  (3.3ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (38.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:21:28 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:21:28 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:21:28 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:21:28 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:21:28 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:21:28 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:21:28 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:21:28 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:21:28 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:21:28 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:21:28 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:21:28 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:21:28 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:21:28 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:21:28 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:21:28 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:21:28 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:21:28 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" Connecting to database specified by database.yml  (3.2ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.3ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (38.5ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:24:08 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:24:08 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:24:08 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:24:08 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:24:08 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:24:08 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:24:08 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:24:08 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:24:08 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:24:08 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:24:08 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:24:08 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:24:08 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:24:08 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:24:08 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:24:08 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:24:08 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:24:08 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" Connecting to database specified by database.yml  (1.7ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (1.2ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (3.5ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:26:15 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:26:15 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:26:15 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:26:15 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:26:15 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:26:15 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:26:15 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:26:15 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:26:15 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:26:15 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:26:15 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:26:15 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:26:15 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:26:15 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:26:15 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:26:15 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:26:15 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:26:15 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" Connecting to database specified by database.yml  (3.4ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (41.7ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:26:36 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:26:36 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:26:36 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:26:36 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:26:36 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:26:36 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:26:36 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:26:36 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:26:36 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:26:36 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:26:36 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:26:36 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:26:36 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:26:36 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:26:36 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:26:36 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:26:36 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:26:36 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" Connecting to database specified by database.yml  (33.5ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (6.5ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:26:58 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:26:58 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:26:58 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:26:58 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:26:58 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:26:58 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:26:58 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:26:58 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:26:58 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:26:58 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:26:58 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:26:58 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:26:58 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:26:58 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:26:58 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:26:58 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:26:58 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:26:58 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" Connecting to database specified by database.yml  (3.2ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (38.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:31:38 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:31:38 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:31:38 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:31:38 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:31:38 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:31:38 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:31:38 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:31:38 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:31:38 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:31:38 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:31:38 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:31:38 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:31:38 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:31:38 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:31:38 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:31:38 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:31:38 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:31:38 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:31:38 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:31:38 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:31:38 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:31:38 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:31:38 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:31:38 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:31:38 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:31:38 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:31:38 UTC +00:00]]  (0.1ms) commit transaction Connecting to database specified by database.yml  (3.3ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.3ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.3ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  Connecting to database specified by database.yml  (3.1ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.3ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (37.9ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:32:46 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:32:46 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:32:46 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:32:46 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:32:46 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:32:46 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:32:46 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:32:46 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:32:46 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:32:46 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:32:46 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:32:46 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:32:46 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:32:46 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:32:46 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:32:46 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:32:46 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:32:46 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:32:46 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:32:46 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:32:46 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:32:46 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:32:46 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:32:46 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:32:46 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:32:46 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:32:46 UTC +00:00]]  (0.1ms) commit transaction Connecting to database specified by database.yml  (3.2ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.4ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (38.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:33:36 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:33:36 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:33:36 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:33:36 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:33:36 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:33:36 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:33:36 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:33:36 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:33:36 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:33:36 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:33:36 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:33:36 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:33:36 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:33:36 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:33:36 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:33:36 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:33:36 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:33:36 UTC +00:00]]  (0.0ms) commit transaction  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:33:40 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:33:40 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:33:40 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:33:40 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:33:40 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:33:40 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:33:40 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:33:40 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:33:40 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" Connecting to database specified by database.yml  (3.3ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (2.3ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" Connecting to database specified by database.yml  (3.3ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (39.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:34:32 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:34:31 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:34:32 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:34:32 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:34:32 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:34:32 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:34:32 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:34:32 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:34:32 UTC +00:00]]  (0.1ms) commit transaction  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:34:35 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:34:35 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:34:35 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:34:35 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:34:35 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:34:35 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:34:35 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:34:35 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:34:35 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:34:35 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:34:35 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:34:35 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:34:35 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:34:35 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:34:35 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:34:35 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:34:35 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:34:35 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" Connecting to database specified by database.yml  (3.1ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.3ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (6.5ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:34:48 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:34:48 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:34:48 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00]]  (0.0ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:34:48 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:34:48 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:34:48 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:34:48 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:34:48 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:34:48 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-22 00:00:00.000000' AND "users"."created_at" <= '2013-09-22 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:34:48 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:34:48 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:34:48 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-22 00:00:00.000000' AND "users"."created_at" <= '2013-09-22 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 13]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:34:48 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:34:48 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:34:48 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:34:48 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:34:48 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:34:48 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:34:48 UTC +00:00]]  (0.1ms) commit transaction  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:34:52 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:34:52 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:34:52 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:34:52 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:34:52 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:34:52 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:34:52 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:34:52 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:34:52 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" Connecting to database specified by database.yml  (3.2ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.3ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (34.7ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (6.8ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:51:50 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:51:50 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:51:50 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:51:50 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:51:50 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:51:50 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:51:50 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:51:50 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:51:50 UTC +00:00]]  (0.1ms) commit transaction  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:51:54 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:51:54 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:51:54 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:51:54 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:51:54 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:51:54 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:51:54 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:51:54 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:51:54 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:51:54 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:51:54 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:51:54 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:51:54 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:51:54 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:51:54 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-22 00:00:00.000000' AND "users"."created_at" <= '2013-09-22 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00], ["dob", Fri, 22 Aug 2003 03:51:54 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00], ["dob", Sun, 22 Aug 1993 03:51:54 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00], ["dob", Wed, 22 Aug 1979 03:51:54 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-22 00:00:00.000000' AND "users"."created_at" <= '2013-09-22 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Thu, 22 Aug 2013 03:51:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1 Connecting to database specified by database.yml Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-21&q%5Bcreated_at_lteq%5D=2013-09-21&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-22 09:53:25 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-21", "created_at_lteq"=>"2013-09-21", "paid_eq"=>""}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (18.4ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (1.2ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-21 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-21 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (245.5ms) Completed 200 OK in 769ms (Views: 493.6ms | ActiveRecord: 6.2ms) Started GET "/invoices" for 127.0.0.1 at 2013-08-22 09:53:31 +0600 Processing by InvoicesController#index as HTML  (0.5ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.4ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (1.2ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (25.9ms) Completed 200 OK in 91ms (Views: 35.2ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-22 09:53:31 +0600 Served asset /application.css - 304 Not Modified (8ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-22 09:53:31 +0600 Served asset /invoices.css - 304 Not Modified (6ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-22 09:53:31 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-22 09:53:31 +0600 Served asset /scaffold.css - 304 Not Modified (6ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-22 09:53:31 +0600 Served asset /jquery_ujs.js - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-22 09:53:31 +0600 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-22 09:53:31 +0600 Served asset /invoices.js - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-22 09:53:31 +0600 Served asset /users.js - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-22 09:53:31 +0600 Served asset /application.js - 304 Not Modified (45ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-22&q%5Bcreated_at_lteq%5D=2013-09-22&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-22 09:53:37 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-22", "created_at_lteq"=>"2013-09-22", "paid_eq"=>""}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.6ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (1.2ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (57.5ms) Completed 200 OK in 129ms (Views: 103.5ms | ActiveRecord: 1.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-22 09:53:38 +0600 Served asset /application.css - 304 Not Modified (28ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-22 09:53:38 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-22 09:53:38 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-22 09:53:38 +0600 Served asset /users.css - 304 Not Modified (5ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-22 09:53:38 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-22 09:53:38 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-22 09:53:38 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-22 09:53:38 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-22 09:53:38 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/invoices.csv?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-22&q%5Bcreated_at_lteq%5D=2013-09-22&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-22 09:53:43 +0600 Processing by InvoicesController#index as CSV Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-22", "created_at_lteq"=>"2013-09-22", "paid_eq"=>""}, "commit"=>"Search"}  (0.5ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) Invoice Load (1.1ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) Rendered text template (0.0ms) Sent data (49.3ms) Completed 200 OK in 276ms (Views: 49.2ms | ActiveRecord: 2.0ms) Started GET "/invoices.pdf?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-22&q%5Bcreated_at_lteq%5D=2013-09-22&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-22 09:53:55 +0600 Processing by InvoicesController#index as PDF Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-22", "created_at_lteq"=>"2013-09-22", "paid_eq"=>""}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) Invoice Load (1.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) Rendered text template (0.0ms) Sent data (1.0ms) Completed 200 OK in 7518ms (Views: 0.8ms | ActiveRecord: 1.8ms) Connecting to database specified by database.yml  (3.2ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction SQL (42.8ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Thu, 22 Aug 2013 03:57:21 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Thu, 22 Aug 2013 03:57:21 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Connecting to database specified by database.yml  (3.9ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction SQL (9.5ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Thu, 22 Aug 2013 03:58:07 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Thu, 22 Aug 2013 03:58:07 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml  (1.4ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (1.0ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (2.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00], ["dob", Fri, 22 Aug 2003 04:29:05 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00], ["dob", Sun, 22 Aug 1993 04:29:05 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00], ["dob", Wed, 22 Aug 1979 04:29:05 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00], ["dob", Fri, 22 Aug 2003 04:29:05 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00], ["dob", Sun, 22 Aug 1993 04:29:05 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00], ["dob", Wed, 22 Aug 1979 04:29:05 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00], ["dob", Fri, 22 Aug 2003 04:29:05 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00], ["dob", Sun, 22 Aug 1993 04:29:05 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00], ["dob", Wed, 22 Aug 1979 04:29:05 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00], ["dob", Fri, 22 Aug 2003 04:29:05 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00], ["dob", Sun, 22 Aug 1993 04:29:05 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00], ["dob", Wed, 22 Aug 1979 04:29:05 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00], ["dob", Fri, 22 Aug 2003 04:29:05 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00], ["dob", Sun, 22 Aug 1993 04:29:05 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00], ["dob", Wed, 22 Aug 1979 04:29:05 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00], ["dob", Fri, 22 Aug 2003 04:29:05 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00], ["dob", Sun, 22 Aug 1993 04:29:05 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00], ["dob", Wed, 22 Aug 1979 04:29:05 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00], ["dob", Fri, 22 Aug 2003 04:29:05 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00], ["dob", Sun, 22 Aug 1993 04:29:05 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00], ["dob", Wed, 22 Aug 1979 04:29:05 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Thu, 22 Aug 2013 04:29:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users"  User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"  Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (0.9ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (21.0ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 04:29:31 UTC +00:00], ["dob", Fri, 22 Aug 2003 04:29:31 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 04:29:31 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 04:29:31 UTC +00:00], ["dob", Sun, 22 Aug 1993 04:29:31 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 04:29:31 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 04:29:31 UTC +00:00], ["dob", Wed, 22 Aug 1979 04:29:31 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 04:29:31 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 04:29:32 UTC +00:00], ["dob", Fri, 22 Aug 2003 04:29:32 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 04:29:32 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 04:29:32 UTC +00:00], ["dob", Sun, 22 Aug 1993 04:29:32 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 04:29:32 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 04:29:32 UTC +00:00], ["dob", Wed, 22 Aug 1979 04:29:32 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 04:29:32 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.0ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 04:29:33 UTC +00:00], ["dob", Fri, 22 Aug 2003 04:29:33 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 04:29:33 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 04:29:33 UTC +00:00], ["dob", Sun, 22 Aug 1993 04:29:33 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 04:29:33 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 04:29:33 UTC +00:00], ["dob", Wed, 22 Aug 1979 04:29:33 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 04:29:33 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 04:29:33 UTC +00:00], ["dob", Fri, 22 Aug 2003 04:29:33 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 04:29:33 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 04:29:33 UTC +00:00], ["dob", Sun, 22 Aug 1993 04:29:33 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 04:29:33 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 04:29:33 UTC +00:00], ["dob", Wed, 22 Aug 1979 04:29:33 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 04:29:33 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.5ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 04:29:33 UTC +00:00], ["dob", Fri, 22 Aug 2003 04:29:33 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 04:29:33 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 04:29:33 UTC +00:00], ["dob", Sun, 22 Aug 1993 04:29:33 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 04:29:33 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 04:29:33 UTC +00:00], ["dob", Wed, 22 Aug 1979 04:29:33 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 04:29:33 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 04:29:33 UTC +00:00], ["dob", Fri, 22 Aug 2003 04:29:33 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 04:29:33 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 04:29:33 UTC +00:00], ["dob", Sun, 22 Aug 1993 04:29:33 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 04:29:33 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 04:29:33 UTC +00:00], ["dob", Wed, 22 Aug 1979 04:29:33 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 04:29:33 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-22 00:00:00.000000' AND "users"."created_at" <= '2013-09-22 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 04:29:33 UTC +00:00], ["dob", Fri, 22 Aug 2003 04:29:33 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 04:29:33 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 04:29:33 UTC +00:00], ["dob", Sun, 22 Aug 1993 04:29:33 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 04:29:33 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 04:29:33 UTC +00:00], ["dob", Wed, 22 Aug 1979 04:29:33 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 04:29:33 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-22 00:00:00.000000' AND "users"."created_at" <= '2013-09-22 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Thu, 22 Aug 2013 04:29:33 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Thu, 22 Aug 2013 04:29:33 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1 Connecting to database specified by database.yml  (1.4ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (0.9ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (2.5ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00], ["dob", Fri, 22 Aug 2003 04:32:31 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00], ["dob", Sun, 22 Aug 1993 04:32:31 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00], ["dob", Wed, 22 Aug 1979 04:32:31 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-22 00:00:00.000000' AND "users"."created_at" <= '2013-09-22 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00], ["dob", Fri, 22 Aug 2003 04:32:31 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00], ["dob", Sun, 22 Aug 1993 04:32:31 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00], ["dob", Wed, 22 Aug 1979 04:32:31 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-22 00:00:00.000000' AND "users"."created_at" <= '2013-09-22 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00], ["dob", Fri, 22 Aug 2003 04:32:31 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00], ["dob", Sun, 22 Aug 1993 04:32:31 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00], ["dob", Wed, 22 Aug 1979 04:32:31 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00], ["dob", Fri, 22 Aug 2003 04:32:31 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00], ["dob", Sun, 22 Aug 1993 04:32:31 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00], ["dob", Wed, 22 Aug 1979 04:32:31 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00], ["dob", Fri, 22 Aug 2003 04:32:31 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00], ["dob", Sun, 22 Aug 1993 04:32:31 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00], ["dob", Wed, 22 Aug 1979 04:32:31 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00], ["dob", Fri, 22 Aug 2003 04:32:31 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00], ["dob", Sun, 22 Aug 1993 04:32:31 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00], ["dob", Wed, 22 Aug 1979 04:32:31 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 04:32:31 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.0ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 04:32:32 UTC +00:00], ["dob", Fri, 22 Aug 2003 04:32:32 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 04:32:32 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 04:32:32 UTC +00:00], ["dob", Sun, 22 Aug 1993 04:32:32 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 04:32:32 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 04:32:32 UTC +00:00], ["dob", Wed, 22 Aug 1979 04:32:32 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 04:32:32 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Thu, 22 Aug 2013 04:32:32 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Thu, 22 Aug 2013 04:32:32 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1 Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-08-22 10:32:54 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (3.2ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.8ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (29.5ms) Completed 200 OK in 172ms (Views: 85.6ms | ActiveRecord: 2.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-22 10:32:55 +0600 Served asset /application.css - 304 Not Modified (7ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-22 10:32:55 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-22 10:32:55 +0600 Served asset /jquery.js - 304 Not Modified (5ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-22 10:32:55 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-22 10:32:55 +0600 Served asset /scaffold.css - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-22 10:32:55 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-22 10:32:55 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-22 10:32:55 +0600 Served asset /users.js - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-22 10:32:55 +0600 Served asset /application.js - 304 Not Modified (5ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-22&q%5Bcreated_at_lteq%5D=2013-09-22&q%5Bpaid_eq%5D=true&commit=Search" for 127.0.0.1 at 2013-08-22 10:33:06 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-22", "created_at_lteq"=>"2013-09-22", "paid_eq"=>"true"}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000' AND "invoices"."paid" = 't'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000' AND "invoices"."paid" = 't')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000' AND "invoices"."paid" = 't')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000' AND "invoices"."paid" = 't')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000' AND "invoices"."paid" = 't')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000' AND "invoices"."paid" = 't')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000' AND "invoices"."paid" = 't')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000' AND "invoices"."paid" = 't')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (11.5ms) Completed 200 OK in 26ms (Views: 15.4ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-22 10:33:06 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-22 10:33:06 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-22 10:33:06 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-22 10:33:06 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-22 10:33:06 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-22 10:33:06 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-22 10:33:06 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-22 10:33:06 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-22 10:33:06 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-22&q%5Bcreated_at_lteq%5D=2013-09-22&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-22 10:33:11 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-22", "created_at_lteq"=>"2013-09-22", "paid_eq"=>""}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (44.1ms) Completed 200 OK in 57ms (Views: 47.8ms | ActiveRecord: 0.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-22 10:33:12 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-22 10:33:12 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-22 10:33:12 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-22 10:33:12 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-22 10:33:12 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-22 10:33:12 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-22 10:33:12 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-22 10:33:12 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-22 10:33:12 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?q%5Bcreated_at_gteq%5D=2013-03-22&q%5Bcreated_at_lteq%5D=2013-09-22&q%5Bpaid_eq%5D=&q%5Bs%5D=total_charged+asc&q%5Btitle_cont%5D=" for 127.0.0.1 at 2013-08-22 10:33:22 +0600 Processing by InvoicesController#index as HTML Parameters: {"q"=>{"created_at_gteq"=>"2013-03-22", "created_at_lteq"=>"2013-09-22", "paid_eq"=>"", "s"=>"total_charged asc", "title_cont"=>""}}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) ORDER BY "invoices"."total_charged" ASC LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (20.6ms) Completed 200 OK in 33ms (Views: 24.1ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-22 10:33:22 +0600 Served asset /application.css - 304 Not Modified (3ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-22 10:33:22 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-22 10:33:22 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-22 10:33:22 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-22 10:33:22 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-22 10:33:22 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-22 10:33:22 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-22 10:33:22 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-22 10:33:22 +0600 Served asset /application.js - 304 Not Modified (22ms) Started GET "/invoices?page=2&q%5Bcreated_at_gteq%5D=2013-03-22&q%5Bcreated_at_lteq%5D=2013-09-22&q%5Bpaid_eq%5D=&q%5Bs%5D=total_charged+asc&q%5Btitle_cont%5D=" for 127.0.0.1 at 2013-08-22 10:33:25 +0600 Processing by InvoicesController#index as HTML Parameters: {"page"=>"2", "q"=>{"created_at_gteq"=>"2013-03-22", "created_at_lteq"=>"2013-09-22", "paid_eq"=>"", "s"=>"total_charged asc", "title_cont"=>""}}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) ORDER BY "invoices"."total_charged" ASC LIMIT 25 OFFSET 25  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-22 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-22 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (43.0ms) Completed 200 OK in 57ms (Views: 46.8ms | ActiveRecord: 0.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-22 10:33:25 +0600 Served asset /application.css - 304 Not Modified (2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-22 10:33:25 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-22 10:33:25 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-22 10:33:25 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-22 10:33:25 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-22 10:33:25 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-22 10:33:25 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-22 10:33:25 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-22 10:33:25 +0600 Served asset /application.js - 304 Not Modified (0ms) Connecting to database specified by database.yml  (1.2ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (0.9ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (3.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 04:44:25 UTC +00:00], ["dob", Fri, 22 Aug 2003 04:44:24 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 04:44:25 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 04:44:25 UTC +00:00], ["dob", Sun, 22 Aug 1993 04:44:25 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 04:44:25 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 04:44:25 UTC +00:00], ["dob", Wed, 22 Aug 1979 04:44:25 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 04:44:25 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 04:44:25 UTC +00:00], ["dob", Fri, 22 Aug 2003 04:44:25 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 04:44:25 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 04:44:25 UTC +00:00], ["dob", Sun, 22 Aug 1993 04:44:25 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 04:44:25 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 04:44:25 UTC +00:00], ["dob", Wed, 22 Aug 1979 04:44:25 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 04:44:25 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.0ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 04:44:26 UTC +00:00], ["dob", Fri, 22 Aug 2003 04:44:26 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 04:44:26 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 04:44:26 UTC +00:00], ["dob", Sun, 22 Aug 1993 04:44:26 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 04:44:26 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 04:44:26 UTC +00:00], ["dob", Wed, 22 Aug 1979 04:44:26 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 04:44:26 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Thu, 22 Aug 2013 04:44:26 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Thu, 22 Aug 2013 04:44:26 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 10]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 04:44:26 UTC +00:00], ["dob", Fri, 22 Aug 2003 04:44:26 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 04:44:26 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 04:44:26 UTC +00:00], ["dob", Sun, 22 Aug 1993 04:44:26 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 04:44:26 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 04:44:26 UTC +00:00], ["dob", Wed, 22 Aug 1979 04:44:26 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 04:44:26 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 04:44:26 UTC +00:00], ["dob", Fri, 22 Aug 2003 04:44:26 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 04:44:26 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 04:44:26 UTC +00:00], ["dob", Sun, 22 Aug 1993 04:44:26 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 04:44:26 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 04:44:26 UTC +00:00], ["dob", Wed, 22 Aug 1979 04:44:26 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 04:44:26 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 04:44:26 UTC +00:00], ["dob", Fri, 22 Aug 2003 04:44:26 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 04:44:26 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 04:44:26 UTC +00:00], ["dob", Sun, 22 Aug 1993 04:44:26 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 04:44:26 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 04:44:26 UTC +00:00], ["dob", Wed, 22 Aug 1979 04:44:26 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 04:44:26 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-22 00:00:00.000000' AND "users"."created_at" <= '2013-09-22 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Thu, 22 Aug 2013 04:44:26 UTC +00:00], ["dob", Fri, 22 Aug 2003 04:44:26 UTC +00:00], ["name", "User#1"], ["updated_at", Thu, 22 Aug 2013 04:44:26 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Thu, 22 Aug 2013 04:44:26 UTC +00:00], ["dob", Sun, 22 Aug 1993 04:44:26 UTC +00:00], ["name", "User#2"], ["updated_at", Thu, 22 Aug 2013 04:44:26 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Thu, 22 Aug 2013 04:44:26 UTC +00:00], ["dob", Wed, 22 Aug 1979 04:44:26 UTC +00:00], ["name", "User#3"], ["updated_at", Thu, 22 Aug 2013 04:44:26 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-22 00:00:00.000000' AND "users"."created_at" <= '2013-09-22 00:00:00.000000')) LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (2.1ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (12.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (20.5ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:37:30 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:37:30 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:37:30 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:37:30 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:37:30 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:37:30 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:37:30 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:37:30 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:37:30 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-27 00:00:00.000000' AND "users"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:37:30 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:37:30 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:37:30 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:37:30 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:37:30 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:37:30 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:37:30 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:37:30 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:37:30 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-27 00:00:00.000000' AND "users"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:37:30 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:37:30 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:37:30 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:37:30 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:37:30 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:37:30 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:37:30 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:37:30 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:37:30 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:37:30 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:37:30 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:37:30 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:37:30 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:37:30 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:37:30 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:37:30 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:37:30 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:37:30 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:37:30 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:37:30 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:37:30 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:37:30 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:37:30 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:37:30 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:37:30 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:37:30 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:37:30 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:37:32 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:37:32 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:37:32 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:37:32 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:37:32 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:37:32 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:37:32 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:37:32 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:37:32 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:37:32 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:37:32 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:37:32 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:37:32 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:37:32 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:37:32 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:37:32 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:37:32 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:37:32 UTC +00:00]]  (0.0ms) commit transaction User Load (0.8ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 27 Aug 2013 03:37:33 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 27 Aug 2013 03:37:33 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1 Connecting to database specified by database.yml  (2.0ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction SQL (6.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (21.1ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:39:00 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:39:00 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:39:00 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:39:00 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:39:00 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:39:00 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:39:00 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:39:00 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:39:00 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-27 00:00:00.000000' AND "users"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:39:00 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:39:00 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:39:00 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-27 00:00:00.000000' AND "users"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:39:00 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:39:00 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:39:00 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:39:00 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:39:00 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:39:00 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:39:00 UTC +00:00]]  (0.1ms) commit transaction  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:39:02 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:39:02 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:39:02 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:39:02 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:39:02 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:39:02 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:39:02 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:39:02 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:39:02 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" Connecting to database specified by database.yml  (3.1ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.4ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (3.7ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:39:39 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:39:39 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:39:39 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:39:39 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:39:39 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:39:39 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:39:39 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:39:39 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:39:39 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-27 00:00:00.000000' AND "users"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:39:39 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:39:39 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:39:39 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-27 00:00:00.000000' AND "users"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:39:39 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:39:39 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:39:39 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:39:39 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:39:39 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:39:39 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:39:39 UTC +00:00]]  (0.1ms) commit transaction  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:39:41 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:39:41 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:39:41 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:39:41 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:39:41 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:39:41 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:39:41 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:39:41 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:39:41 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 27 Aug 2013 03:39:41 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 27 Aug 2013 03:39:41 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1 Connecting to database specified by database.yml  (1.7ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (1.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (3.9ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:39:54 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:39:54 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:39:54 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:39:54 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:39:54 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:39:54 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:39:54 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:39:54 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:39:54 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:39:54 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:39:54 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:39:54 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:39:54 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:39:54 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:39:54 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:39:54 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:39:54 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:39:54 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:39:57 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:39:57 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:39:57 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:39:57 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:39:57 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:39:57 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:39:57 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:39:57 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:39:57 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:39:57 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:39:57 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:39:57 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:39:57 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:39:57 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:39:57 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:39:57 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:39:57 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:39:57 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:39:57 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:39:57 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:39:57 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:39:57 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:39:57 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:39:57 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:39:57 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:39:57 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:39:57 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:39:57 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:39:57 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:39:57 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:39:57 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:39:57 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:39:57 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:39:57 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:39:57 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:39:57 UTC +00:00]]  (0.0ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-27 00:00:00.000000' AND "users"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:39:57 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:39:57 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:39:57 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:39:57 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:39:57 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:39:57 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:39:57 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:39:57 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:39:57 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-27 00:00:00.000000' AND "users"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 27 Aug 2013 03:39:57 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 27 Aug 2013 03:39:57 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1 Connecting to database specified by database.yml  (21.2ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (1.5ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (5.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:44:57 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:44:57 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:44:57 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:44:57 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:44:57 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:44:57 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:44:57 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:44:57 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:44:57 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:44:58 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:44:58 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:44:58 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:44:58 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:44:58 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:44:58 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:44:58 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:44:58 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:44:58 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:45:00 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:45:00 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:45:00 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:45:00 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:45:00 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:45:00 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:45:00 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:45:00 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:45:00 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 27 Aug 2013 03:45:00 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 27 Aug 2013 03:45:00 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 10]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.3ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:45:00 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:45:00 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:45:00 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:45:00 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:45:00 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:45:00 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:45:00 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:45:00 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:45:00 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:45:00 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:45:00 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:45:00 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:45:00 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:45:00 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:45:00 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:45:00 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:45:00 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:45:00 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:45:00 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:45:00 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:45:00 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:45:00 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:45:00 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:45:00 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:45:00 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:45:00 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:45:00 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-27 00:00:00.000000' AND "users"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:45:00 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:45:00 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:45:00 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:45:00 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:45:00 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:45:00 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:45:00 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:45:00 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:45:00 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-27 00:00:00.000000' AND "users"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (1.7ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.0ms) begin transaction SQL (5.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:45:12 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:45:12 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:45:12 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:45:12 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:45:12 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:45:12 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:45:12 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:45:12 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:45:12 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-27 00:00:00.000000' AND "users"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:45:12 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:45:12 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:45:12 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-27 00:00:00.000000' AND "users"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:45:12 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:45:12 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:45:12 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:45:12 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:45:12 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:45:12 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:45:12 UTC +00:00]]  (0.1ms) commit transaction  (0.3ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.3ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 03:45:14 UTC +00:00], ["dob", Wed, 27 Aug 2003 03:45:14 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 03:45:14 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 03:45:14 UTC +00:00], ["dob", Fri, 27 Aug 1993 03:45:14 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 03:45:14 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 03:45:14 UTC +00:00], ["dob", Mon, 27 Aug 1979 03:45:14 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 03:45:14 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" Connecting to database specified by database.yml  (18.6ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.0ms) begin transaction SQL (86.8ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00], ["dob", Wed, 27 Aug 2003 04:35:32 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00], ["dob", Fri, 27 Aug 1993 04:35:32 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00], ["dob", Mon, 27 Aug 1979 04:35:32 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00], ["dob", Wed, 27 Aug 2003 04:35:32 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00], ["dob", Fri, 27 Aug 1993 04:35:32 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00], ["dob", Mon, 27 Aug 1979 04:35:32 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00], ["dob", Wed, 27 Aug 2003 04:35:32 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00], ["dob", Fri, 27 Aug 1993 04:35:32 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00], ["dob", Mon, 27 Aug 1979 04:35:32 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-27 00:00:00.000000' AND "users"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00], ["dob", Wed, 27 Aug 2003 04:35:32 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00], ["dob", Fri, 27 Aug 1993 04:35:32 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00], ["dob", Mon, 27 Aug 1979 04:35:32 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-27 00:00:00.000000' AND "users"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00], ["dob", Wed, 27 Aug 2003 04:35:32 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00], ["dob", Fri, 27 Aug 1993 04:35:32 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00], ["dob", Mon, 27 Aug 1979 04:35:32 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00], ["dob", Wed, 27 Aug 2003 04:35:32 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00], ["dob", Fri, 27 Aug 1993 04:35:32 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00], ["dob", Mon, 27 Aug 1979 04:35:32 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 04:35:32 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.0ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 04:35:34 UTC +00:00], ["dob", Wed, 27 Aug 2003 04:35:34 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 04:35:34 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 04:35:34 UTC +00:00], ["dob", Fri, 27 Aug 1993 04:35:34 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 04:35:34 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 04:35:34 UTC +00:00], ["dob", Mon, 27 Aug 1979 04:35:34 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 04:35:34 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-08-27 10:39:50 +0600 ActionController::RoutingError (No route matches [GET] "/"): actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' rack (1.4.5) lib/rack/runtime.rb:17:in `call' activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.5) lib/rack/lock.rb:15:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call' railties (3.2.13) lib/rails/engine.rb:479:in `call' railties (3.2.13) lib/rails/application.rb:223:in `call' rack (1.4.5) lib/rack/content_length.rb:14:in `call' railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (20.4ms) Started GET "/invoices" for 127.0.0.1 at 2013-08-27 10:39:54 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (34.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (1.0ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (165.4ms) Completed 200 OK in 462ms (Views: 370.9ms | ActiveRecord: 2.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-27 10:39:55 +0600 Served asset /application.css - 304 Not Modified (4ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-27 10:39:55 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-27 10:39:55 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-27 10:39:55 +0600 Served asset /jquery.js - 200 OK (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-27 10:39:55 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-27 10:39:55 +0600 Served asset /jquery_ujs.js - 200 OK (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-27 10:39:55 +0600 Served asset /invoices.js - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-27 10:39:56 +0600 Served asset /users.js - 304 Not Modified (3ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-27 10:39:56 +0600 Served asset /application.js - 304 Not Modified (4ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-27&q%5Bcreated_at_lteq%5D=2013-09-27&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-27 10:40:04 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-27", "created_at_lteq"=>"2013-09-27", "paid_eq"=>""}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (41.7ms) Completed 200 OK in 55ms (Views: 45.6ms | ActiveRecord: 0.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-27 10:40:04 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-27 10:40:04 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-27 10:40:04 +0600 Served asset /invoices.js - 304 Not Modified (24ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-27 10:40:04 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-27 10:40:04 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-27 10:40:04 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-27 10:40:04 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-01&q%5Bcreated_at_lteq%5D=2013-09-27&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-27 10:40:20 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-01", "created_at_lteq"=>"2013-09-27", "paid_eq"=>""}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (20.8ms) Completed 200 OK in 33ms (Views: 24.4ms | ActiveRecord: 0.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-27 10:40:20 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-27 10:40:20 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-27 10:40:20 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-27 10:40:20 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-27 10:40:20 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-27 10:40:20 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-27 10:40:20 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-10-01&q%5Bcreated_at_lteq%5D=2013-09-27&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-27 10:40:32 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-10-01", "created_at_lteq"=>"2013-09-27", "paid_eq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-10-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-10-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-10-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-10-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-10-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-10-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-10-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-10-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.9ms) Completed 200 OK in 20ms (Views: 10.9ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-27 10:40:32 +0600 Served asset /application.css - 304 Not Modified (7ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-27 10:40:32 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-27 10:40:32 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-27 10:40:32 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-27 10:40:32 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-27 10:40:32 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-27 10:40:32 +0600 Served asset /application.js - 304 Not Modified (0ms) Connecting to database specified by database.yml  (18.3ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.0ms) begin transaction SQL (24.8ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 27 Aug 2013 04:42:05 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 27 Aug 2013 04:42:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 04:42:05 UTC +00:00], ["dob", Wed, 27 Aug 2003 04:42:05 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 04:42:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 04:42:05 UTC +00:00], ["dob", Fri, 27 Aug 1993 04:42:05 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 04:42:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 04:42:05 UTC +00:00], ["dob", Mon, 27 Aug 1979 04:42:05 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 04:42:05 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 04:42:05 UTC +00:00], ["dob", Wed, 27 Aug 2003 04:42:05 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 04:42:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 04:42:05 UTC +00:00], ["dob", Fri, 27 Aug 1993 04:42:05 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 04:42:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 04:42:05 UTC +00:00], ["dob", Mon, 27 Aug 1979 04:42:05 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 04:42:05 UTC +00:00]]  (0.0ms) commit transaction  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 04:42:06 UTC +00:00], ["dob", Wed, 27 Aug 2003 04:42:06 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 04:42:06 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 04:42:06 UTC +00:00], ["dob", Fri, 27 Aug 1993 04:42:06 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 04:42:06 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 04:42:06 UTC +00:00], ["dob", Mon, 27 Aug 1979 04:42:06 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 04:42:06 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 04:42:06 UTC +00:00], ["dob", Wed, 27 Aug 2003 04:42:06 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 04:42:06 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 04:42:06 UTC +00:00], ["dob", Fri, 27 Aug 1993 04:42:06 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 04:42:06 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 04:42:06 UTC +00:00], ["dob", Mon, 27 Aug 1979 04:42:06 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 04:42:06 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 04:42:06 UTC +00:00], ["dob", Wed, 27 Aug 2003 04:42:06 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 04:42:06 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.8ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 04:42:06 UTC +00:00], ["dob", Fri, 27 Aug 1993 04:42:06 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 04:42:06 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 04:42:06 UTC +00:00], ["dob", Mon, 27 Aug 1979 04:42:06 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 04:42:06 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 04:42:06 UTC +00:00], ["dob", Wed, 27 Aug 2003 04:42:06 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 04:42:06 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 04:42:06 UTC +00:00], ["dob", Fri, 27 Aug 1993 04:42:06 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 04:42:06 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 04:42:06 UTC +00:00], ["dob", Mon, 27 Aug 1979 04:42:06 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 04:42:06 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-27 00:00:00.000000' AND "users"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 04:42:06 UTC +00:00], ["dob", Wed, 27 Aug 2003 04:42:06 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 04:42:06 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 04:42:06 UTC +00:00], ["dob", Fri, 27 Aug 1993 04:42:06 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 04:42:06 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 04:42:06 UTC +00:00], ["dob", Mon, 27 Aug 1979 04:42:06 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 04:42:06 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-27 00:00:00.000000' AND "users"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0 Started GET "/" for 127.0.0.1 at 2013-08-27 10:47:37 +0600 ActionController::RoutingError (No route matches [GET] "/"): actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' rack (1.4.5) lib/rack/runtime.rb:17:in `call' activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.5) lib/rack/lock.rb:15:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call' railties (3.2.13) lib/rails/engine.rb:479:in `call' railties (3.2.13) lib/rails/application.rb:223:in `call' rack (1.4.5) lib/rack/content_length.rb:14:in `call' railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/invoices" for 127.0.0.1 at 2013-08-27 10:47:40 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" IS NULL AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" IS NULL AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" IS NULL AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" IS NULL AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" IS NULL AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" IS NULL AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" IS NULL AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" IS NULL AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (24.2ms) Completed 200 OK in 130ms (Views: 27.8ms | ActiveRecord: 1.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-27 10:47:40 +0600 Served asset /application.css - 304 Not Modified (8ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-27 10:47:40 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-27 10:47:40 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-27 10:47:40 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-27 10:47:40 +0600 Served asset /jquery.js - 304 Not Modified (3ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-27 10:47:40 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-27 10:47:40 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-27 10:47:40 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-27 10:47:40 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-27&q%5Bcreated_at_lteq%5D=2013-09-27&custom_search%5Bpaid_eq%5D=true&commit=Search" for 127.0.0.1 at 2013-08-27 10:47:45 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-27", "created_at_lteq"=>"2013-09-27"}, "custom_search"=>{"paid_eq"=>"true"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'true' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'true' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'true' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'true' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'true' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'true' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'true' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'true' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (28.2ms) Completed 200 OK in 41ms (Views: 32.3ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-27 10:47:45 +0600 Served asset /application.css - 304 Not Modified (5ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-27 10:47:45 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-27 10:47:45 +0600 Served asset /jquery.js - 304 Not Modified (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-27 10:47:45 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-27 10:47:45 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-27 10:47:45 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-27 10:47:45 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-27 10:47:45 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-27 10:47:45 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-27&q%5Bcreated_at_lteq%5D=2013-09-27&custom_search%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-08-27 10:47:51 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-27", "created_at_lteq"=>"2013-09-27"}, "custom_search"=>{"paid_eq"=>"false"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'false' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'false' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'false' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'false' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'false' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'false' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'false' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'false' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.6ms) Completed 200 OK in 19ms (Views: 10.5ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-27 10:47:51 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-27 10:47:51 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-27 10:47:51 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-27 10:47:51 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-27 10:47:51 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-27 10:47:51 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-27 10:47:51 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-27 10:47:51 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-27 10:47:51 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-27&q%5Bcreated_at_lteq%5D=2013-09-27&custom_search%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-08-27 10:48:21 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-27", "created_at_lteq"=>"2013-09-27"}, "custom_search"=>{"paid_eq"=>"false"}, "commit"=>"Search"} Completed 500 Internal Server Error in 5ms NoMethodError (undefined method `to_boolean' for "false":String): app/controllers/invoices_controller.rb:14:in `block (2 levels) in index' app/controllers/invoices_controller.rb:24:in `block in index' app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.1ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-08-27 10:50:35 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (3.7ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (1.2ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (55.9ms) Completed 200 OK in 180ms (Views: 70.4ms | ActiveRecord: 19.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-27 10:50:35 +0600 Served asset /application.css - 304 Not Modified (28ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-27 10:50:36 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-27 10:50:36 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-27 10:50:36 +0600 Served asset /jquery.js - 304 Not Modified (6ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-27 10:50:36 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-27 10:50:36 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-27 10:50:36 +0600 Served asset /invoices.js - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-27 10:50:36 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-27 10:50:36 +0600 Served asset /application.js - 304 Not Modified (4ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-27&q%5Bcreated_at_lteq%5D=2013-09-27&custom_search%5Bpaid_eq%5D=true&commit=Search" for 127.0.0.1 at 2013-08-27 10:50:41 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-27", "created_at_lteq"=>"2013-09-27"}, "custom_search"=>{"paid_eq"=>"true"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (11.8ms) Completed 200 OK in 25ms (Views: 15.9ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-27 10:50:41 +0600 Served asset /application.css - 304 Not Modified (4ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-27 10:50:41 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-27 10:50:41 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-27 10:50:41 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-27 10:50:41 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-27 10:50:41 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-27 10:50:41 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-27 10:50:41 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-27 10:50:41 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-27&q%5Bcreated_at_lteq%5D=2013-09-27&custom_search%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-08-27 10:50:45 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-27", "created_at_lteq"=>"2013-09-27"}, "custom_search"=>{"paid_eq"=>"false"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (11.6ms) Completed 200 OK in 24ms (Views: 15.5ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-27 10:50:45 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-27 10:50:45 +0600 Served asset /scaffold.css - 304 Not Modified (2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-27 10:50:45 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-27 10:50:45 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-27 10:50:45 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-27 10:50:45 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-27 10:50:45 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-27 10:50:45 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-27 10:50:45 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-27&q%5Bcreated_at_lteq%5D=2013-09-27&custom_search%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-27 10:50:48 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-27", "created_at_lteq"=>"2013-09-27"}, "custom_search"=>{"paid_eq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.3ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.6ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (11.9ms) Completed 200 OK in 47ms (Views: 37.7ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-27 10:50:48 +0600 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-27 10:50:48 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-27 10:50:48 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-27 10:50:48 +0600 Served asset /users.css - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-27 10:50:48 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-27 10:50:48 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-27 10:50:48 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-27 10:50:48 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-27 10:50:48 +0600 Served asset /users.js - 304 Not Modified (0ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-08-27 10:52:12 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" IS NULL AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000'))  (0.2ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" IS NULL AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" IS NULL AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" IS NULL AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" IS NULL AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" IS NULL AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.1ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (1.0ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" IS NULL AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" IS NULL AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (60.6ms) Completed 200 OK in 199ms (Views: 76.3ms | ActiveRecord: 20.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-27 10:52:12 +0600 Served asset /application.css - 304 Not Modified (9ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-27 10:52:12 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-27 10:52:12 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-27 10:52:12 +0600 Served asset /jquery.js - 304 Not Modified (3ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-27 10:52:12 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-27 10:52:12 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-27 10:52:12 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-27 10:52:12 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-27 10:52:12 +0600 Served asset /application.js - 304 Not Modified (5ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-27&q%5Bcreated_at_lteq%5D=2013-09-27&custom_search%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-08-27 10:52:19 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-27", "created_at_lteq"=>"2013-09-27"}, "custom_search"=>{"paid_eq"=>"false"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.6ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (11.7ms) Completed 200 OK in 46ms (Views: 37.0ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-27 10:52:19 +0600 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-27 10:52:19 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-27 10:52:19 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-27 10:52:19 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-27 10:52:19 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-27 10:52:19 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-27 10:52:19 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-27 10:52:19 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-27 10:52:19 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-27&q%5Bcreated_at_lteq%5D=2013-09-27&custom_search%5Bpaid_eq%5D=true&commit=Search" for 127.0.0.1 at 2013-08-27 10:52:22 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-27", "created_at_lteq"=>"2013-09-27"}, "custom_search"=>{"paid_eq"=>"true"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (11.5ms) Completed 200 OK in 24ms (Views: 15.4ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-27 10:52:22 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-27 10:52:22 +0600 Served asset /invoices.css - 304 Not Modified (4ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-27 10:52:22 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-27 10:52:22 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-27 10:52:22 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-27 10:52:22 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-27 10:52:22 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-27 10:52:22 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-27 10:52:22 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-27&q%5Bcreated_at_lteq%5D=2013-09-27&custom_search%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-27 10:52:27 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-27", "created_at_lteq"=>"2013-09-27"}, "custom_search"=>{"paid_eq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = '' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = '' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = '' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = '' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = '' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = '' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = '' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = '' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (6.8ms) Completed 200 OK in 43ms (Views: 35.2ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-27 10:52:27 +0600 Served asset /application.css - 304 Not Modified (2ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-27 10:52:27 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-27 10:52:27 +0600 Served asset /jquery.js - 304 Not Modified (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-27 10:52:27 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-27 10:52:27 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-27 10:52:27 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-27 10:52:27 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-27 10:52:27 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-27 10:52:27 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices" for 127.0.0.1 at 2013-08-27 10:54:14 +0600 Processing by InvoicesController#index as HTML  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (39.1ms) Completed 200 OK in 53ms (Views: 43.1ms | ActiveRecord: 0.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-27 10:54:15 +0600 Served asset /application.css - 304 Not Modified (12ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-27 10:54:15 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-27 10:54:15 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-27 10:54:15 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-27 10:54:15 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-27 10:54:15 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-27 10:54:15 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-27 10:54:15 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-27 10:54:15 +0600 Served asset /application.js - 304 Not Modified (0ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-08-27 10:55:26 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = '' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = '' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = '' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = '' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = '' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = '' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (3.3ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.9ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = '' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = '' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (33.2ms) Completed 200 OK in 163ms (Views: 48.3ms | ActiveRecord: 19.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-27 10:55:27 +0600 Served asset /application.css - 304 Not Modified (4ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-27 10:55:27 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-27 10:55:27 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-27 10:55:27 +0600 Served asset /jquery.js - 304 Not Modified (23ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-27 10:55:27 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-27 10:55:27 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-27 10:55:27 +0600 Served asset /invoices.js - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-27 10:55:27 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-27 10:55:27 +0600 Served asset /application.js - 304 Not Modified (4ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-27&q%5Bcreated_at_lteq%5D=2013-09-27&custom_search%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-08-27 10:55:31 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-27", "created_at_lteq"=>"2013-09-27"}, "custom_search"=>{"paid_eq"=>"false"}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (21.1ms) Completed 200 OK in 35ms (Views: 25.2ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-27 10:55:32 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-27 10:55:32 +0600 Served asset /invoices.css - 304 Not Modified (4ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-27 10:55:32 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-27 10:55:32 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-27 10:55:32 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-27 10:55:32 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-27 10:55:32 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-27 10:55:32 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-27 10:55:32 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-27&q%5Bcreated_at_lteq%5D=2013-09-27&custom_search%5Bpaid_eq%5D=true&commit=Search" for 127.0.0.1 at 2013-08-27 10:55:35 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-27", "created_at_lteq"=>"2013-09-27"}, "custom_search"=>{"paid_eq"=>"true"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (10.4ms) Completed 200 OK in 22ms (Views: 14.1ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-27 10:55:35 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-27 10:55:35 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-27 10:55:35 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-27 10:55:35 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-27 10:55:35 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-27 10:55:35 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-27 10:55:35 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-27 10:55:35 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-27 10:55:35 +0600 Served asset /application.js - 304 Not Modified (0ms) Connecting to database specified by database.yml  (1.2ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.0ms) begin transaction SQL (3.5ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 27 Aug 2013 04:57:38 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 27 Aug 2013 04:57:38 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 04:57:38 UTC +00:00], ["dob", Wed, 27 Aug 2003 04:57:38 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 04:57:38 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 04:57:38 UTC +00:00], ["dob", Fri, 27 Aug 1993 04:57:38 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 04:57:38 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 04:57:38 UTC +00:00], ["dob", Mon, 27 Aug 1979 04:57:38 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 04:57:38 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-27 00:00:00.000000' AND "users"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 04:57:38 UTC +00:00], ["dob", Wed, 27 Aug 2003 04:57:38 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 04:57:38 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 04:57:38 UTC +00:00], ["dob", Fri, 27 Aug 1993 04:57:38 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 04:57:38 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 04:57:38 UTC +00:00], ["dob", Mon, 27 Aug 1979 04:57:38 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 04:57:38 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-27 00:00:00.000000' AND "users"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 04:57:38 UTC +00:00], ["dob", Wed, 27 Aug 2003 04:57:38 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 04:57:38 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 04:57:38 UTC +00:00], ["dob", Fri, 27 Aug 1993 04:57:38 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 04:57:38 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 04:57:38 UTC +00:00], ["dob", Mon, 27 Aug 1979 04:57:38 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 04:57:38 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 04:57:38 UTC +00:00], ["dob", Wed, 27 Aug 2003 04:57:38 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 04:57:38 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 04:57:38 UTC +00:00], ["dob", Fri, 27 Aug 1993 04:57:38 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 04:57:38 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 04:57:38 UTC +00:00], ["dob", Mon, 27 Aug 1979 04:57:38 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 04:57:38 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 04:57:38 UTC +00:00], ["dob", Wed, 27 Aug 2003 04:57:38 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 04:57:38 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 04:57:38 UTC +00:00], ["dob", Fri, 27 Aug 1993 04:57:38 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 04:57:38 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 04:57:38 UTC +00:00], ["dob", Mon, 27 Aug 1979 04:57:38 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 04:57:38 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.0ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 04:57:39 UTC +00:00], ["dob", Wed, 27 Aug 2003 04:57:39 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 04:57:39 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 04:57:39 UTC +00:00], ["dob", Fri, 27 Aug 1993 04:57:39 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 04:57:39 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 04:57:39 UTC +00:00], ["dob", Mon, 27 Aug 1979 04:57:39 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 04:57:39 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 04:57:39 UTC +00:00], ["dob", Wed, 27 Aug 2003 04:57:39 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 04:57:39 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 04:57:39 UTC +00:00], ["dob", Fri, 27 Aug 1993 04:57:39 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 04:57:39 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 04:57:39 UTC +00:00], ["dob", Mon, 27 Aug 1979 04:57:39 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 04:57:39 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" Connecting to database specified by database.yml Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-08-27 11:03:07 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (21.3ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.9ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (59.6ms) Completed 200 OK in 185ms (Views: 97.3ms | ActiveRecord: 19.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-27 11:03:07 +0600 Served asset /application.css - 304 Not Modified (13ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-27 11:03:07 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-27 11:03:07 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-27 11:03:07 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-27 11:03:07 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-27 11:03:07 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-27 11:03:07 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-27 11:03:07 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-27 11:03:07 +0600 Served asset /application.js - 304 Not Modified (26ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-27&q%5Bcreated_at_lteq%5D=2013-09-27&custom_search%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-27 11:03:17 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-27", "created_at_lteq"=>"2013-09-27"}, "custom_search"=>{"paid_eq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (21.6ms) Completed 200 OK in 34ms (Views: 25.2ms | ActiveRecord: 0.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-27 11:03:17 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-27 11:03:17 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-27 11:03:17 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-27 11:03:17 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-27 11:03:17 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-27 11:03:17 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-27 11:03:17 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-27 11:03:17 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-27 11:03:17 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-27&q%5Bcreated_at_lteq%5D=2013-09-27&custom_search%5Bpaid_eq%5D=true&commit=Search" for 127.0.0.1 at 2013-08-27 11:03:20 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-27", "created_at_lteq"=>"2013-09-27"}, "custom_search"=>{"paid_eq"=>"true"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (10.5ms) Completed 200 OK in 28ms (Views: 14.3ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-27 11:03:20 +0600 Served asset /application.css - 304 Not Modified (3ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-27 11:03:20 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-27 11:03:20 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-27 11:03:20 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-27 11:03:20 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-27 11:03:20 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-27 11:03:20 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-27 11:03:20 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-27 11:03:20 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-27&q%5Bcreated_at_lteq%5D=2013-09-27&custom_search%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-08-27 11:03:23 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-27", "created_at_lteq"=>"2013-09-27"}, "custom_search"=>{"paid_eq"=>"false"}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (22.7ms) Completed 200 OK in 35ms (Views: 26.5ms | ActiveRecord: 0.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-27 11:03:23 +0600 Served asset /application.css - 304 Not Modified (4ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-27 11:03:23 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-27 11:03:23 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-27 11:03:23 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-27 11:03:23 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-27 11:03:23 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-27 11:03:23 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-27 11:03:23 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-27 11:03:23 +0600 Served asset /application.js - 304 Not Modified (0ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-08-27 11:05:55 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (25.3ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (1.0ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (67.1ms) Completed 200 OK in 192ms (Views: 102.6ms | ActiveRecord: 19.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-27 11:05:56 +0600 Served asset /application.css - 304 Not Modified (10ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-27 11:05:56 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-27 11:05:56 +0600 Served asset /jquery.js - 304 Not Modified (5ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-27 11:05:56 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-27 11:05:56 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-27 11:05:56 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-27 11:05:56 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-27 11:05:56 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-27 11:05:56 +0600 Served asset /application.js - 304 Not Modified (4ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-27&q%5Bcreated_at_lteq%5D=2013-09-27&custom_search%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-08-27 11:06:01 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-27", "created_at_lteq"=>"2013-09-27"}, "custom_search"=>{"paid_eq"=>"false"}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.2ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (11.0ms) Completed 200 OK in 50ms (Views: 14.8ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-27 11:06:01 +0600 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-27 11:06:01 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-27 11:06:01 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-27 11:06:01 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-27 11:06:01 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-27 11:06:01 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-27 11:06:01 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-27 11:06:01 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-27 11:06:01 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-27&q%5Bcreated_at_lteq%5D=2013-09-27&custom_search%5Bpaid_eq%5D=true&commit=Search" for 127.0.0.1 at 2013-08-27 11:06:05 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-27", "created_at_lteq"=>"2013-09-27"}, "custom_search"=>{"paid_eq"=>"true"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (11.6ms) Completed 200 OK in 24ms (Views: 15.7ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-27 11:06:05 +0600 Served asset /application.css - 304 Not Modified (3ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-27 11:06:05 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-27 11:06:05 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-27 11:06:05 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-27 11:06:05 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-27 11:06:05 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-27 11:06:05 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-27 11:06:05 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-27 11:06:05 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-27&q%5Bcreated_at_lteq%5D=2013-09-27&custom_search%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-27 11:06:09 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-27", "created_at_lteq"=>"2013-09-27"}, "custom_search"=>{"paid_eq"=>""}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (22.4ms) Completed 200 OK in 35ms (Views: 26.2ms | ActiveRecord: 0.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-27 11:06:09 +0600 Served asset /application.css - 304 Not Modified (2ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-27 11:06:09 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-27 11:06:09 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-27 11:06:09 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-27 11:06:09 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-27 11:06:09 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-27 11:06:09 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-27 11:06:09 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-27 11:06:09 +0600 Served asset /application.js - 304 Not Modified (0ms) Connecting to database specified by database.yml  (1.2ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (1.0ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (2.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:06:18 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:06:18 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:06:18 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-27 00:00:00.000000' AND "users"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:06:18 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:06:18 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:06:18 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-27 00:00:00.000000' AND "users"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:06:18 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:06:18 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:06:18 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:06:18 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:06:18 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:06:18 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 13]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:06:18 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:06:18 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:06:18 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:06:18 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:06:18 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:06:18 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:06:18 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.0ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:06:19 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:06:19 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:06:19 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:06:19 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:06:19 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:06:19 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:06:19 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:06:19 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:06:19 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-08-27 11:09:22 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (22.6ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (1.0ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-27 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-27 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (61.9ms) Completed 200 OK in 185ms (Views: 98.8ms | ActiveRecord: 19.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-27 11:09:23 +0600 Served asset /application.css - 304 Not Modified (7ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-27 11:09:23 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-27 11:09:23 +0600 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-27 11:09:23 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-27 11:09:23 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-27 11:09:23 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-27 11:09:23 +0600 Served asset /invoices.js - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-27 11:09:23 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-27 11:09:23 +0600 Served asset /application.js - 304 Not Modified (27ms) Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (0.9ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (3.0ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:26:04 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:26:04 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:26:04 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:26:04 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:26:04 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:26:04 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:26:04 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:26:04 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:26:04 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:26:04 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:26:04 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:26:04 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:26:04 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:26:04 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:26:04 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:26:04 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:26:04 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:26:04 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:26:04 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:26:04 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:26:04 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:26:04 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:26:04 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:26:04 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:26:04 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:26:04 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:26:04 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-27 00:00:00.000000' AND "users"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:26:04 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:26:04 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:26:04 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:26:04 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:26:04 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:26:04 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:26:04 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:26:04 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:26:04 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-27 00:00:00.000000' AND "users"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:26:04 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:26:04 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:26:04 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:26:04 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:26:04 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:26:04 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:26:04 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:26:04 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:26:04 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.0ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:26:06 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:26:06 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:26:06 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:26:06 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:26:06 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:26:06 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:26:06 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:26:06 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:26:06 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:26:06 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:26:06 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:26:06 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:26:06 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:26:06 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:26:06 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:26:06 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:26:06 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:26:06 UTC +00:00]]  (0.0ms) commit transaction User Load (0.7ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 27 Aug 2013 05:26:06 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 27 Aug 2013 05:26:06 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1 Connecting to database specified by database.yml  (1.2ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (0.9ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (2.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:26:18 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:26:18 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:26:18 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:26:18 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:26:18 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:26:18 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:26:18 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:26:18 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:26:18 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.0ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:26:20 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:26:20 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:26:20 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:26:20 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:26:20 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:26:20 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:26:20 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:26:20 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:26:20 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:26:20 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:26:20 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:26:20 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:26:20 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:26:20 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:26:20 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-27 00:00:00.000000' AND "users"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:26:20 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:26:20 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:26:20 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-27 00:00:00.000000' AND "users"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 27 Aug 2013 05:26:20 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1 Connecting to database specified by database.yml  (1.5ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (1.0ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (2.7ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:26:33 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:26:33 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:26:33 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:26:33 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:26:33 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:26:33 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:26:33 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:26:33 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:26:33 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:26:34 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:26:34 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:26:34 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:26:34 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:26:34 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:26:34 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:26:34 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:26:34 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:26:34 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:26:34 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:26:34 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:26:34 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:26:34 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:26:34 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:26:34 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:26:34 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:26:34 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:26:34 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 27 Aug 2013 05:26:34 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 27 Aug 2013 05:26:34 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 10]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:26:35 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:26:35 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:26:35 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:26:35 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:26:35 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:26:35 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:26:35 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:26:35 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:26:35 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:26:35 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:26:35 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:26:35 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:26:35 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:26:35 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:26:35 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:26:35 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:26:35 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:26:35 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:26:35 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:26:35 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:26:35 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:26:35 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:26:35 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:26:35 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:26:35 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:26:35 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:26:35 UTC +00:00]]  (0.0ms) commit transaction User Load (1.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-27 00:00:00.000000' AND "users"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:26:35 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:26:35 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:26:35 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:26:35 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:26:35 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:26:35 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:26:35 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:26:35 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:26:35 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-27 00:00:00.000000' AND "users"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (1.2ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (1.0ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (2.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:27:18 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:27:18 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:27:18 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:27:18 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:27:18 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:27:18 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:27:18 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:27:18 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:27:18 UTC +00:00]]  (0.0ms) commit transaction  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.0ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:27:20 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:27:20 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:27:20 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:27:20 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:27:20 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:27:20 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:27:20 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:27:20 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:27:20 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:27:20 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:27:20 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:27:20 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:27:20 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:27:20 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:27:20 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-27 00:00:00.000000' AND "users"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:27:20 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:27:20 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:27:20 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-27 00:00:00.000000' AND "users"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 27 Aug 2013 05:27:20 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1 Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (0.9ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (2.9ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:27:28 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:27:28 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:27:28 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:27:28 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:27:28 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:27:28 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:27:28 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:27:28 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:27:28 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:27:28 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:27:28 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:27:28 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:27:28 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:27:28 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:27:28 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:27:28 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:27:28 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:27:28 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.0ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:27:30 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:27:30 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:27:30 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:27:30 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:27:30 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:27:30 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:27:30 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:27:30 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:27:30 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:27:30 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:27:30 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:27:30 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:27:30 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:27:30 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:27:30 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:27:30 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:27:30 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:27:30 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:27:30 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:27:30 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:27:30 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:27:30 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:27:30 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:27:30 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:27:30 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:27:30 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:27:30 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:27:30 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:27:30 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:27:30 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:27:30 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:27:30 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:27:30 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:27:30 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:27:30 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:27:30 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-27 00:00:00.000000' AND "users"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:27:30 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:27:30 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:27:30 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:27:30 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:27:30 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:27:30 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:27:30 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:27:30 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:27:30 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-27 00:00:00.000000' AND "users"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 27 Aug 2013 05:27:30 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 27 Aug 2013 05:27:30 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1 Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction SQL (4.8ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 27 Aug 2013 05:27:43 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 27 Aug 2013 05:27:43 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:27:43 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:27:43 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:27:43 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:27:43 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:27:43 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:27:43 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:27:43 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:27:43 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:27:43 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:27:43 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:27:43 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:27:43 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:27:43 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:27:43 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:27:43 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:27:43 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:27:43 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:27:43 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.0ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:27:44 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:27:44 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:27:44 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:27:44 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:27:44 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:27:44 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:27:44 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:27:44 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:27:44 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:27:44 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:27:44 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:27:44 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:27:44 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:27:44 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:27:44 UTC +00:00]]  (0.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:27:44 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:27:44 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:27:44 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-27 00:00:00.000000' AND "users"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:27:44 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:27:44 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:27:44 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:27:44 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:27:44 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:27:44 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:27:44 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:27:44 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:27:44 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-27 00:00:00.000000' AND "users"."created_at" <= '2013-09-27 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:27:44 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:27:44 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:27:44 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:27:44 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:27:44 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:27:44 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:27:44 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:27:44 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:27:44 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 27 Aug 2013 05:27:44 UTC +00:00], ["dob", Wed, 27 Aug 2003 05:27:44 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 27 Aug 2013 05:27:44 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 27 Aug 2013 05:27:44 UTC +00:00], ["dob", Fri, 27 Aug 1993 05:27:44 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 27 Aug 2013 05:27:44 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 27 Aug 2013 05:27:44 UTC +00:00], ["dob", Mon, 27 Aug 1979 05:27:44 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 27 Aug 2013 05:27:44 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (1.8ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (12.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (11.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 28 Aug 2013 10:41:38 UTC +00:00], ["dob", Thu, 28 Aug 2003 10:41:38 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 28 Aug 2013 10:41:38 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 28 Aug 2013 10:41:38 UTC +00:00], ["dob", Sat, 28 Aug 1993 10:41:38 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 28 Aug 2013 10:41:38 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 28 Aug 2013 10:41:38 UTC +00:00], ["dob", Tue, 28 Aug 1979 10:41:38 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 28 Aug 2013 10:41:38 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 28 Aug 2013 10:41:39 UTC +00:00], ["dob", Thu, 28 Aug 2003 10:41:39 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 28 Aug 2013 10:41:39 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 28 Aug 2013 10:41:39 UTC +00:00], ["dob", Sat, 28 Aug 1993 10:41:39 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 28 Aug 2013 10:41:39 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 28 Aug 2013 10:41:39 UTC +00:00], ["dob", Tue, 28 Aug 1979 10:41:39 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 28 Aug 2013 10:41:39 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.0ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 28 Aug 2013 10:41:40 UTC +00:00], ["dob", Thu, 28 Aug 2003 10:41:40 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 28 Aug 2013 10:41:40 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 28 Aug 2013 10:41:40 UTC +00:00], ["dob", Sat, 28 Aug 1993 10:41:40 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 28 Aug 2013 10:41:40 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 28 Aug 2013 10:41:40 UTC +00:00], ["dob", Tue, 28 Aug 1979 10:41:40 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 28 Aug 2013 10:41:40 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 28 Aug 2013 10:41:40 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 28 Aug 2013 10:41:40 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 10]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 28 Aug 2013 10:41:40 UTC +00:00], ["dob", Thu, 28 Aug 2003 10:41:40 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 28 Aug 2013 10:41:40 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 28 Aug 2013 10:41:40 UTC +00:00], ["dob", Sat, 28 Aug 1993 10:41:40 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 28 Aug 2013 10:41:40 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 28 Aug 2013 10:41:40 UTC +00:00], ["dob", Tue, 28 Aug 1979 10:41:40 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 28 Aug 2013 10:41:40 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 28 Aug 2013 10:41:40 UTC +00:00], ["dob", Thu, 28 Aug 2003 10:41:40 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 28 Aug 2013 10:41:40 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 28 Aug 2013 10:41:40 UTC +00:00], ["dob", Sat, 28 Aug 1993 10:41:40 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 28 Aug 2013 10:41:40 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 28 Aug 2013 10:41:40 UTC +00:00], ["dob", Tue, 28 Aug 1979 10:41:40 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 28 Aug 2013 10:41:40 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 28 Aug 2013 10:41:40 UTC +00:00], ["dob", Thu, 28 Aug 2003 10:41:40 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 28 Aug 2013 10:41:40 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 28 Aug 2013 10:41:40 UTC +00:00], ["dob", Sat, 28 Aug 1993 10:41:40 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 28 Aug 2013 10:41:40 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 28 Aug 2013 10:41:40 UTC +00:00], ["dob", Tue, 28 Aug 1979 10:41:40 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 28 Aug 2013 10:41:40 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-28 00:00:00.000000' AND "users"."created_at" <= '2013-09-28 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 28 Aug 2013 10:41:40 UTC +00:00], ["dob", Thu, 28 Aug 2003 10:41:40 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 28 Aug 2013 10:41:40 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 28 Aug 2013 10:41:40 UTC +00:00], ["dob", Sat, 28 Aug 1993 10:41:40 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 28 Aug 2013 10:41:40 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 28 Aug 2013 10:41:40 UTC +00:00], ["dob", Tue, 28 Aug 1979 10:41:40 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 28 Aug 2013 10:41:40 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-28 00:00:00.000000' AND "users"."created_at" <= '2013-09-28 00:00:00.000000')) LIMIT 25 OFFSET 0 Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-08-28 16:41:54 +0600 ActionController::RoutingError (No route matches [GET] "/"): actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' rack (1.4.5) lib/rack/runtime.rb:17:in `call' activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.5) lib/rack/lock.rb:15:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' rack-mini-profiler (0.1.26) Ruby/lib/mini_profiler/profiler.rb:278:in `call' railties (3.2.13) lib/rails/engine.rb:479:in `call' railties (3.2.13) lib/rails/application.rb:223:in `call' rack (1.4.5) lib/rack/content_length.rb:14:in `call' railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call' rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /usr/local/rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.9ms) Started GET "/invoices" for 127.0.0.1 at 2013-08-28 16:42:17 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (80.4ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.9ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (133.0ms) Completed 200 OK in 246ms (Views: 160.4ms | ActiveRecord: 2.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-28 16:42:18 +0600 Served asset /application.css - 304 Not Modified (11ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-28 16:42:18 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-28 16:42:18 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-28 16:42:18 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-28 16:42:18 +0600 Served asset /invoices.css - 304 Not Modified (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-28 16:42:18 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-28 16:42:18 +0600 Served asset /invoices.js - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-28 16:42:18 +0600 Served asset /users.js - 304 Not Modified (22ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-28 16:42:18 +0600 Served asset /application.js - 304 Not Modified (4ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-28&q%5Bcreated_at_lteq%5D=2013-09-28&custom_search%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-08-28 16:42:25 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-28", "created_at_lteq"=>"2013-09-28"}, "custom_search"=>{"paid_eq"=>"false"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 'f' AND (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (10.7ms) Completed 200 OK in 75ms (Views: 14.5ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-28 16:42:25 +0600 Served asset /application.css - 304 Not Modified (5ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-28 16:42:25 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-28 16:42:25 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-28 16:42:25 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-28 16:42:25 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-28 16:42:25 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-28 16:42:25 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-28 16:42:25 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-28 16:42:25 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-28&q%5Bcreated_at_lteq%5D=2013-09-28&custom_search%5Bpaid_eq%5D=true&commit=Search" for 127.0.0.1 at 2013-08-28 16:42:30 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-28", "created_at_lteq"=>"2013-09-28"}, "custom_search"=>{"paid_eq"=>"true"}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.1ms) SELECT "invoices".* FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE "invoices"."paid" = 't' AND (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (11.3ms) Completed 200 OK in 24ms (Views: 15.4ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-28 16:42:30 +0600 Served asset /application.css - 304 Not Modified (3ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-28 16:42:30 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-28 16:42:30 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-28 16:42:30 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-28 16:42:30 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-28 16:42:30 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-28 16:42:30 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-28 16:42:30 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-28 16:42:30 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/invoices?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-28&q%5Bcreated_at_lteq%5D=2013-09-28&custom_search%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-28 16:42:35 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-28", "created_at_lteq"=>"2013-09-28"}, "custom_search"=>{"paid_eq"=>""}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (20.8ms) Completed 200 OK in 32ms (Views: 24.6ms | ActiveRecord: 0.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-28 16:42:35 +0600 Served asset /application.css - 304 Not Modified (2ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-28 16:42:35 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-28 16:42:35 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-28 16:42:35 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-28 16:42:35 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-28 16:42:35 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-28 16:42:35 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-28 16:42:35 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-28 16:42:35 +0600 Served asset /application.js - 304 Not Modified (0ms) Connecting to database specified by database.yml Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (0.9ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (2.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 28 Aug 2013 10:43:54 UTC +00:00], ["dob", Thu, 28 Aug 2003 10:43:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 28 Aug 2013 10:43:54 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 28 Aug 2013 10:43:54 UTC +00:00], ["dob", Sat, 28 Aug 1993 10:43:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 28 Aug 2013 10:43:54 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 28 Aug 2013 10:43:54 UTC +00:00], ["dob", Tue, 28 Aug 1979 10:43:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 28 Aug 2013 10:43:54 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 28 Aug 2013 10:43:54 UTC +00:00], ["dob", Thu, 28 Aug 2003 10:43:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 28 Aug 2013 10:43:54 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 28 Aug 2013 10:43:54 UTC +00:00], ["dob", Sat, 28 Aug 1993 10:43:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 28 Aug 2013 10:43:54 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 28 Aug 2013 10:43:54 UTC +00:00], ["dob", Tue, 28 Aug 1979 10:43:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 28 Aug 2013 10:43:54 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 28 Aug 2013 10:43:54 UTC +00:00], ["dob", Thu, 28 Aug 2003 10:43:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 28 Aug 2013 10:43:54 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 28 Aug 2013 10:43:54 UTC +00:00], ["dob", Sat, 28 Aug 1993 10:43:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 28 Aug 2013 10:43:54 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 28 Aug 2013 10:43:54 UTC +00:00], ["dob", Tue, 28 Aug 1979 10:43:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 28 Aug 2013 10:43:54 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-28 00:00:00.000000' AND "users"."created_at" <= '2013-09-28 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 28 Aug 2013 10:43:54 UTC +00:00], ["dob", Thu, 28 Aug 2003 10:43:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 28 Aug 2013 10:43:54 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 28 Aug 2013 10:43:54 UTC +00:00], ["dob", Sat, 28 Aug 1993 10:43:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 28 Aug 2013 10:43:54 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 28 Aug 2013 10:43:54 UTC +00:00], ["dob", Tue, 28 Aug 1979 10:43:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 28 Aug 2013 10:43:54 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-28 00:00:00.000000' AND "users"."created_at" <= '2013-09-28 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 28 Aug 2013 10:43:55 UTC +00:00], ["dob", Thu, 28 Aug 2003 10:43:55 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 28 Aug 2013 10:43:55 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 28 Aug 2013 10:43:55 UTC +00:00], ["dob", Sat, 28 Aug 1993 10:43:55 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 28 Aug 2013 10:43:55 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 28 Aug 2013 10:43:55 UTC +00:00], ["dob", Tue, 28 Aug 1979 10:43:55 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 28 Aug 2013 10:43:55 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 28 Aug 2013 10:43:55 UTC +00:00], ["dob", Thu, 28 Aug 2003 10:43:55 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 28 Aug 2013 10:43:55 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 28 Aug 2013 10:43:55 UTC +00:00], ["dob", Sat, 28 Aug 1993 10:43:55 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 28 Aug 2013 10:43:55 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 28 Aug 2013 10:43:55 UTC +00:00], ["dob", Tue, 28 Aug 1979 10:43:55 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 28 Aug 2013 10:43:55 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 28 Aug 2013 10:43:56 UTC +00:00], ["dob", Thu, 28 Aug 2003 10:43:56 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 28 Aug 2013 10:43:56 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 28 Aug 2013 10:43:56 UTC +00:00], ["dob", Sat, 28 Aug 1993 10:43:56 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 28 Aug 2013 10:43:56 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 28 Aug 2013 10:43:56 UTC +00:00], ["dob", Tue, 28 Aug 1979 10:43:56 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 28 Aug 2013 10:43:56 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 28 Aug 2013 10:43:56 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 28 Aug 2013 10:43:56 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1 Started GET "/invoices" for 127.0.0.1 at 2013-08-28 16:43:59 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (20.6ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.9ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (54.8ms) Completed 200 OK in 179ms (Views: 86.2ms | ActiveRecord: 20.6ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-28 16:43:59 +0600 Served asset /invoices.css - 304 Not Modified (6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-28 16:43:59 +0600 Served asset /application.css - 304 Not Modified (4ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-28 16:43:59 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-28 16:43:59 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-28 16:43:59 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-28 16:43:59 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-28 16:43:59 +0600 Served asset /invoices.js - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-28 16:43:59 +0600 Served asset /users.js - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-28 16:43:59 +0600 Served asset /application.js - 304 Not Modified (28ms) Started GET "/invoices.pdf" for 127.0.0.1 at 2013-08-28 16:44:03 +0600 Processing by InvoicesController#index as PDF  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) Rendered text template (0.0ms) Sent data (18.0ms) Completed 200 OK in 3038ms (Views: 17.9ms | ActiveRecord: 0.8ms) Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (0.9ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (3.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00], ["dob", Thu, 28 Aug 2003 10:46:02 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00], ["dob", Sat, 28 Aug 1993 10:46:02 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00], ["dob", Tue, 28 Aug 1979 10:46:02 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00], ["dob", Thu, 28 Aug 2003 10:46:02 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00], ["dob", Sat, 28 Aug 1993 10:46:02 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00], ["dob", Tue, 28 Aug 1979 10:46:02 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00], ["dob", Thu, 28 Aug 2003 10:46:02 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00], ["dob", Sat, 28 Aug 1993 10:46:02 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00], ["dob", Tue, 28 Aug 1979 10:46:02 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-28 00:00:00.000000' AND "users"."created_at" <= '2013-09-28 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00], ["dob", Thu, 28 Aug 2003 10:46:02 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00], ["dob", Sat, 28 Aug 1993 10:46:02 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00], ["dob", Tue, 28 Aug 1979 10:46:02 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-28 00:00:00.000000' AND "users"."created_at" <= '2013-09-28 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00], ["dob", Thu, 28 Aug 2003 10:46:02 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00], ["dob", Sat, 28 Aug 1993 10:46:02 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00], ["dob", Tue, 28 Aug 1979 10:46:02 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00], ["dob", Thu, 28 Aug 2003 10:46:02 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00], ["dob", Sat, 28 Aug 1993 10:46:02 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00], ["dob", Tue, 28 Aug 1979 10:46:02 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 28 Aug 2013 10:46:02 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.0ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 28 Aug 2013 10:46:03 UTC +00:00], ["dob", Thu, 28 Aug 2003 10:46:03 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 28 Aug 2013 10:46:03 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 28 Aug 2013 10:46:03 UTC +00:00], ["dob", Sat, 28 Aug 1993 10:46:03 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 28 Aug 2013 10:46:03 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 28 Aug 2013 10:46:03 UTC +00:00], ["dob", Tue, 28 Aug 1979 10:46:03 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 28 Aug 2013 10:46:03 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 28 Aug 2013 10:46:04 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 28 Aug 2013 10:46:04 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1 Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (1.0ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (2.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 28 Aug 2013 11:00:56 UTC +00:00], ["dob", Thu, 28 Aug 2003 11:00:56 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 28 Aug 2013 11:00:56 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 28 Aug 2013 11:00:56 UTC +00:00], ["dob", Sat, 28 Aug 1993 11:00:56 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 28 Aug 2013 11:00:56 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 28 Aug 2013 11:00:56 UTC +00:00], ["dob", Tue, 28 Aug 1979 11:00:56 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 28 Aug 2013 11:00:56 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 28 Aug 2013 11:00:56 UTC +00:00], ["dob", Thu, 28 Aug 2003 11:00:56 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 28 Aug 2013 11:00:56 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 28 Aug 2013 11:00:56 UTC +00:00], ["dob", Sat, 28 Aug 1993 11:00:56 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 28 Aug 2013 11:00:56 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 28 Aug 2013 11:00:56 UTC +00:00], ["dob", Tue, 28 Aug 1979 11:00:56 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 28 Aug 2013 11:00:56 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.0ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 28 Aug 2013 11:00:58 UTC +00:00], ["dob", Thu, 28 Aug 2003 11:00:58 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 28 Aug 2013 11:00:58 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 28 Aug 2013 11:00:58 UTC +00:00], ["dob", Sat, 28 Aug 1993 11:00:58 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 28 Aug 2013 11:00:58 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 28 Aug 2013 11:00:58 UTC +00:00], ["dob", Tue, 28 Aug 1979 11:00:58 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 28 Aug 2013 11:00:58 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" Connecting to database specified by database.yml  (1.2ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (0.9ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (2.7ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 28 Aug 2013 11:02:22 UTC +00:00], ["dob", Thu, 28 Aug 2003 11:02:22 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 28 Aug 2013 11:02:22 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 28 Aug 2013 11:02:22 UTC +00:00], ["dob", Sat, 28 Aug 1993 11:02:22 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 28 Aug 2013 11:02:22 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 28 Aug 2013 11:02:22 UTC +00:00], ["dob", Tue, 28 Aug 1979 11:02:22 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 28 Aug 2013 11:02:22 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 28 Aug 2013 11:02:22 UTC +00:00], ["dob", Thu, 28 Aug 2003 11:02:22 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 28 Aug 2013 11:02:22 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 28 Aug 2013 11:02:22 UTC +00:00], ["dob", Sat, 28 Aug 1993 11:02:22 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 28 Aug 2013 11:02:22 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 28 Aug 2013 11:02:22 UTC +00:00], ["dob", Tue, 28 Aug 1979 11:02:22 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 28 Aug 2013 11:02:22 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 28 Aug 2013 11:02:22 UTC +00:00], ["dob", Thu, 28 Aug 2003 11:02:22 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 28 Aug 2013 11:02:22 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 28 Aug 2013 11:02:22 UTC +00:00], ["dob", Sat, 28 Aug 1993 11:02:22 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 28 Aug 2013 11:02:22 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 28 Aug 2013 11:02:22 UTC +00:00], ["dob", Tue, 28 Aug 1979 11:02:22 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 28 Aug 2013 11:02:22 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-03-28 00:00:00.000000' AND "users"."created_at" <= '2013-09-28 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 28 Aug 2013 11:02:22 UTC +00:00], ["dob", Thu, 28 Aug 2003 11:02:22 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 28 Aug 2013 11:02:22 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 28 Aug 2013 11:02:22 UTC +00:00], ["dob", Sat, 28 Aug 1993 11:02:22 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 28 Aug 2013 11:02:22 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 28 Aug 2013 11:02:22 UTC +00:00], ["dob", Tue, 28 Aug 1979 11:02:22 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 28 Aug 2013 11:02:22 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-03-28 00:00:00.000000' AND "users"."created_at" <= '2013-09-28 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 28 Aug 2013 11:02:22 UTC +00:00], ["dob", Thu, 28 Aug 2003 11:02:22 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 28 Aug 2013 11:02:22 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 28 Aug 2013 11:02:22 UTC +00:00], ["dob", Sat, 28 Aug 1993 11:02:22 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 28 Aug 2013 11:02:22 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 28 Aug 2013 11:02:22 UTC +00:00], ["dob", Tue, 28 Aug 1979 11:02:22 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 28 Aug 2013 11:02:22 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 28 Aug 2013 11:02:23 UTC +00:00], ["dob", Thu, 28 Aug 2003 11:02:23 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 28 Aug 2013 11:02:23 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 28 Aug 2013 11:02:23 UTC +00:00], ["dob", Sat, 28 Aug 1993 11:02:23 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 28 Aug 2013 11:02:23 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 28 Aug 2013 11:02:23 UTC +00:00], ["dob", Tue, 28 Aug 1979 11:02:23 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 28 Aug 2013 11:02:23 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.0ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 28 Aug 2013 11:02:24 UTC +00:00], ["dob", Thu, 28 Aug 2003 11:02:24 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 28 Aug 2013 11:02:24 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 28 Aug 2013 11:02:24 UTC +00:00], ["dob", Sat, 28 Aug 1993 11:02:24 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 28 Aug 2013 11:02:24 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 28 Aug 2013 11:02:24 UTC +00:00], ["dob", Tue, 28 Aug 1979 11:02:24 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 28 Aug 2013 11:02:24 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 28 Aug 2013 11:02:24 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 28 Aug 2013 11:02:24 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1 Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-08-28 17:03:07 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (19.4ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.9ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (53.9ms) Completed 200 OK in 173ms (Views: 85.0ms | ActiveRecord: 20.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-28 17:03:07 +0600 Served asset /application.css - 304 Not Modified (7ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-28 17:03:07 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-28 17:03:07 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-28 17:03:07 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-28 17:03:07 +0600 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-28 17:03:07 +0600 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-28 17:03:07 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-28 17:03:07 +0600 Served asset /users.js - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-28 17:03:07 +0600 Served asset /application.js - 304 Not Modified (27ms) Started GET "/invoices.pdf" for 127.0.0.1 at 2013-08-28 17:03:11 +0600 Processing by InvoicesController#index as PDF  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-28 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-28 00:00:00.000000')) Rendered text template (0.0ms) Sent data (1.9ms) Completed 200 OK in 3035ms (Views: 1.8ms | ActiveRecord: 0.8ms) Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-08-29 09:55:21 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (7.4ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.1ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (125.2ms) Completed 200 OK in 450ms (Views: 211.1ms | ActiveRecord: 5.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-29 09:55:22 +0600 Served asset /application.css - 200 OK (8ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-29 09:55:22 +0600 Served asset /invoices.css - 200 OK (2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-29 09:55:22 +0600 Served asset /scaffold.css - 200 OK (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-29 09:55:22 +0600 Served asset /jquery.js - 200 OK (8ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-29 09:55:22 +0600 Served asset /users.css - 200 OK (5ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-29 09:55:22 +0600 Served asset /users.js - 200 OK (2ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-29 09:55:22 +0600 Served asset /invoices.js - 200 OK (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-29 09:55:22 +0600 Served asset /jquery_ujs.js - 200 OK (3ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-29 09:55:22 +0600 Served asset /application.js - 200 OK (10ms) Started GET "/" for 127.0.0.1 at 2013-08-29 09:57:45 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.6ms) Invoice Load (1.1ms) SELECT "invoices".* FROM "invoices"  Invoice Load (1.1ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (1289.3ms) Completed 500 Internal Server Error in 1315ms ActionView::Template::Error (undefined local variable or method `path' for #<#:0x007ff1348e1fe8>): 1: <%= render :partial => "query_report/search", locals: {report: @report} %> 2:
3: 4: <%= link_to_download_report_pdf %> 5: <%= link_to_download_report_csv %> 6: 7: <% if @report.has_chart? and @report.enable_chart? and @report.chart_on_web? %> app/controllers/invoices_controller.rb:10:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.9ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.4ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (17.7ms) Started GET "/" for 127.0.0.1 at 2013-08-29 09:58:01 +0600 Processing by InvoicesController#index as HTML  (0.3ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.3ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (1.3ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (39.3ms) Completed 200 OK in 68ms (Views: 45.4ms | ActiveRecord: 2.0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-29 09:58:02 +0600 Served asset /invoices.css - 200 OK (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-29 09:58:02 +0600 Served asset /application.css - 200 OK (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-29 09:58:02 +0600 Served asset /users.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-29 09:58:02 +0600 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-29 09:58:02 +0600 Served asset /scaffold.css - 200 OK (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-29 09:58:02 +0600 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-29 09:58:02 +0600 Served asset /invoices.js - 200 OK (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-29 09:58:02 +0600 Served asset /users.js - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-29 09:58:02 +0600 Served asset /application.js - 200 OK (1ms) Started GET "/?format=" for 127.0.0.1 at 2013-08-29 09:58:05 +0600 Processing by InvoicesController#index as  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Completed 406 Not Acceptable in 18ms (ActiveRecord: 0.6ms) Started GET "/" for 127.0.0.1 at 2013-08-29 09:58:30 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.6ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (1.3ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (67.8ms) Completed 200 OK in 100ms (Views: 77.3ms | ActiveRecord: 2.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-29 09:58:30 +0600 Served asset /application.css - 304 Not Modified (9ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-29 09:58:30 +0600 Served asset /jquery.js - 304 Not Modified (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-29 09:58:30 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-29 09:58:30 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-29 09:58:30 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-29 09:58:30 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-29 09:58:30 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-29 09:58:30 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-29 09:58:30 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/" for 127.0.0.1 at 2013-08-29 09:58:52 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.6ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (1.3ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (69.0ms) Completed 200 OK in 143ms (Views: 118.8ms | ActiveRecord: 2.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-29 09:58:53 +0600 Served asset /application.css - 304 Not Modified (20ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-29 09:58:53 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-29 09:58:53 +0600 Served asset /jquery.js - 304 Not Modified (9ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-29 09:58:53 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-29 09:58:53 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-29 09:58:53 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-29 09:58:53 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-29 09:58:53 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-29 09:58:53 +0600 Served asset /application.js - 304 Not Modified (2ms) Started GET "/?format=pdf" for 127.0.0.1 at 2013-08-29 09:58:56 +0600 Processing by InvoicesController#index as PDF  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Invoice Load (1.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered text template (0.0ms) Sent data (11.9ms) Completed 200 OK in 7578ms (Views: 11.7ms | ActiveRecord: 1.8ms) Started GET "/" for 127.0.0.1 at 2013-08-29 09:59:22 +0600 Processing by InvoicesController#index as HTML  (0.3ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.4ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (1.2ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (105.9ms) Completed 200 OK in 134ms (Views: 115.2ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-29 09:59:22 +0600 Served asset /application.css - 304 Not Modified (17ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-29 09:59:22 +0600 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-29 09:59:22 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-29 09:59:22 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-29 09:59:22 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-29 09:59:22 +0600 Served asset /jquery_ujs.js - 304 Not Modified (3ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-29 09:59:22 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-29 09:59:22 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-29 09:59:22 +0600 Served asset /application.js - 304 Not Modified (1ms) Started GET "/?format=pdf" for 127.0.0.1 at 2013-08-29 09:59:25 +0600 Processing by InvoicesController#index as PDF  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Invoice Load (1.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered text template (0.0ms) Sent data (1.1ms) Completed 200 OK in 7146ms (Views: 0.9ms | ActiveRecord: 1.8ms) Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-08-29 10:02:18 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (7.3ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.1ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (124.3ms) Completed 200 OK in 415ms (Views: 195.7ms | ActiveRecord: 36.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-29 10:02:18 +0600 Served asset /application.css - 200 OK (21ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-29 10:02:19 +0600 Served asset /jquery_ujs.js - 200 OK (3ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-29 10:02:19 +0600 Served asset /scaffold.css - 200 OK (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-29 10:02:19 +0600 Served asset /jquery.js - 200 OK (7ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-29 10:02:19 +0600 Served asset /users.css - 200 OK (3ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-29 10:02:19 +0600 Served asset /invoices.css - 200 OK (7ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-29 10:02:19 +0600 Served asset /invoices.js - 200 OK (3ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-29 10:02:19 +0600 Served asset /users.js - 200 OK (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-29 10:02:19 +0600 Served asset /application.js - 200 OK (10ms) Started GET "/?format=pdf" for 127.0.0.1 at 2013-08-29 10:02:22 +0600 Processing by InvoicesController#index as PDF  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Invoice Load (1.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered text template (0.0ms) Sent data (4.5ms) Completed 200 OK in 7910ms (Views: 4.3ms | ActiveRecord: 1.9ms) Connecting to database specified by database.yml Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-08-29 10:03:45 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (7.2ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.1ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (126.4ms) Completed 200 OK in 382ms (Views: 193.4ms | ActiveRecord: 5.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-29 10:03:45 +0600 Served asset /application.css - 304 Not Modified (14ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-29 10:03:45 +0600 Served asset /scaffold.css - 304 Not Modified (2ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-29 10:03:45 +0600 Served asset /invoices.css - 304 Not Modified (2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-29 10:03:45 +0600 Served asset /users.css - 304 Not Modified (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-29 10:03:45 +0600 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-29 10:03:45 +0600 Served asset /jquery.js - 304 Not Modified (5ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-29 10:03:45 +0600 Served asset /invoices.js - 304 Not Modified (2ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-29 10:03:45 +0600 Served asset /users.js - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-29 10:03:45 +0600 Served asset /application.js - 304 Not Modified (8ms) Started GET "/?format=pdf" for 127.0.0.1 at 2013-08-29 10:03:49 +0600 Processing by InvoicesController#index as PDF  (1.3ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Invoice Load (1.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered text template (0.0ms) Sent data (4.2ms) Completed 200 OK in 7760ms (Views: 4.0ms | ActiveRecord: 2.8ms) Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-08-29 10:26:42 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (3.8ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (1.1ms) Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (69.8ms) Completed 200 OK in 216ms (Views: 107.8ms | ActiveRecord: 2.7ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-29 10:26:42 +0600 Served asset /invoices.css - 304 Not Modified (3ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-29 10:26:42 +0600 Served asset /users.js - 304 Not Modified (6ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-29 10:26:42 +0600 Served asset /scaffold.css - 304 Not Modified (2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-29 10:26:42 +0600 Served asset /users.css - 304 Not Modified (2ms) Started GET "/" for 127.0.0.1 at 2013-08-29 10:26:49 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.6ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (1.2ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (53.9ms) Completed 200 OK in 86ms (Views: 64.0ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-29 10:26:49 +0600 Served asset /application.css - 200 OK (24ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-29 10:26:49 +0600 Served asset /users.css - 200 OK (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-29 10:26:49 +0600 Served asset /scaffold.css - 200 OK (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-29 10:26:49 +0600 Served asset /invoices.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-29 10:26:49 +0600 Served asset /jquery.js - 200 OK (4ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-29 10:26:49 +0600 Served asset /jquery_ujs.js - 200 OK (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-29 10:26:49 +0600 Served asset /invoices.js - 200 OK (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-29 10:26:49 +0600 Served asset /users.js - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-29 10:26:49 +0600 Served asset /application.js - 200 OK (5ms) Started GET "/" for 127.0.0.1 at 2013-08-29 10:27:57 +0600 Processing by InvoicesController#index as HTML  (0.3ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.6ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (1.2ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (99.6ms) Completed 200 OK in 134ms (Views: 108.6ms | ActiveRecord: 2.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-29 10:27:57 +0600 Served asset /application.css - 200 OK (7ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-29 10:27:57 +0600 Served asset /jquery_ujs.js - 200 OK (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-29 10:27:57 +0600 Served asset /invoices.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-29 10:27:57 +0600 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-29 10:27:57 +0600 Served asset /scaffold.css - 200 OK (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-29 10:27:57 +0600 Served asset /users.css - 200 OK (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-29 10:27:57 +0600 Served asset /invoices.js - 200 OK (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-29 10:27:57 +0600 Served asset /users.js - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-29 10:27:57 +0600 Served asset /application.js - 200 OK (1ms) Started GET "/" for 127.0.0.1 at 2013-08-29 10:34:25 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (40.8ms) Completed 200 OK in 53ms (Views: 44.4ms | ActiveRecord: 0.5ms) Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-08-29 11:01:58 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (3.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.8ms) Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (54.8ms) Completed 200 OK in 159ms (Views: 68.8ms | ActiveRecord: 2.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-29 11:01:59 +0600 Served asset /application.css - 200 OK (6ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-29 11:01:59 +0600 Served asset /invoices.css - 200 OK (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-29 11:01:59 +0600 Served asset /jquery.js - 200 OK (5ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-29 11:01:59 +0600 Served asset /scaffold.css - 200 OK (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-29 11:01:59 +0600 Served asset /jquery_ujs.js - 200 OK (3ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-29 11:01:59 +0600 Served asset /users.css - 200 OK (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-29 11:01:59 +0600 Served asset /users.js - 200 OK (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-29 11:01:59 +0600 Served asset /invoices.js - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-29 11:01:59 +0600 Served asset /application.js - 200 OK (5ms) Started GET "/?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-29&q%5Bcreated_at_lteq%5D=2013-09-29&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-29 11:02:10 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-29", "created_at_lteq"=>"2013-09-29", "paid_eq"=>""}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (21.3ms) Completed 200 OK in 55ms (Views: 25.1ms | ActiveRecord: 0.6ms) Started GET "/?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-29&q%5Bcreated_at_lteq%5D=2013-09-29&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-29 11:02:38 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-29", "created_at_lteq"=>"2013-09-29", "paid_eq"=>""}, "commit"=>"Search"}  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.2ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (48.3ms) Completed 200 OK in 63ms (Views: 51.9ms | ActiveRecord: 1.0ms) Started GET "/" for 127.0.0.1 at 2013-08-29 11:04:15 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (20.5ms) Completed 200 OK in 33ms (Views: 24.0ms | ActiveRecord: 0.7ms) Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-08-29 11:04:38 +0600 Processing by InvoicesController#index as HTML  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (3.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.9ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (54.2ms) Completed 200 OK in 158ms (Views: 68.2ms | ActiveRecord: 2.1ms) Started GET "/" for 127.0.0.1 at 2013-08-29 11:06:51 +0600 Processing by InvoicesController#index as HTML  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (45.4ms) Completed 200 OK in 58ms (Views: 49.0ms | ActiveRecord: 0.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-29 11:06:51 +0600 Served asset /application.css - 200 OK (8ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-29 11:06:51 +0600 Served asset /users.css - 200 OK (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-29 11:06:51 +0600 Served asset /jquery.js - 200 OK (4ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-29 11:06:51 +0600 Served asset /scaffold.css - 200 OK (1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-29 11:06:51 +0600 Served asset /invoices.css - 200 OK (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-29 11:06:51 +0600 Served asset /jquery_ujs.js - 200 OK (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-29 11:06:51 +0600 Served asset /invoices.js - 200 OK (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-29 11:06:51 +0600 Served asset /users.js - 200 OK (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-29 11:06:51 +0600 Served asset /application.js - 200 OK (6ms) Started GET "/?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-29&q%5Bcreated_at_lteq%5D=2013-09-29&q%5Bpaid_eq%5D=true&commit=Search" for 127.0.0.1 at 2013-08-29 11:06:56 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-29", "created_at_lteq"=>"2013-09-29", "paid_eq"=>"true"}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000' AND "invoices"."paid" = 't'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000' AND "invoices"."paid" = 't')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000' AND "invoices"."paid" = 't')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000' AND "invoices"."paid" = 't')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000' AND "invoices"."paid" = 't')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000' AND "invoices"."paid" = 't')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000' AND "invoices"."paid" = 't')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000' AND "invoices"."paid" = 't')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (10.8ms) Completed 200 OK in 46ms (Views: 14.7ms | ActiveRecord: 0.6ms) Connecting to database specified by database.yml Started GET "/?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-29&q%5Bcreated_at_lteq%5D=2013-09-29&q%5Bpaid_eq%5D=true&commit=Search" for 127.0.0.1 at 2013-08-29 11:07:08 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-29", "created_at_lteq"=>"2013-09-29", "paid_eq"=>"true"}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000' AND "invoices"."paid" = 't'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000' AND "invoices"."paid" = 't')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000' AND "invoices"."paid" = 't')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000' AND "invoices"."paid" = 't')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000' AND "invoices"."paid" = 't')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000' AND "invoices"."paid" = 't')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (3.1ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.9ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000' AND "invoices"."paid" = 't')) LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000' AND "invoices"."paid" = 't')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (45.0ms) Completed 200 OK in 155ms (Views: 59.6ms | ActiveRecord: 2.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-29 11:07:08 +0600 Served asset /application.css - 200 OK (31ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-29 11:07:08 +0600 Served asset /invoices.css - 200 OK (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-29 11:07:08 +0600 Served asset /jquery_ujs.js - 200 OK (2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-29 11:07:08 +0600 Served asset /users.css - 200 OK (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-29 11:07:08 +0600 Served asset /scaffold.css - 200 OK (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-29 11:07:08 +0600 Served asset /jquery.js - 200 OK (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-29 11:07:08 +0600 Served asset /invoices.js - 200 OK (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-29 11:07:08 +0600 Served asset /users.js - 200 OK (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-29 11:07:08 +0600 Served asset /application.js - 200 OK (5ms) Started GET "/" for 127.0.0.1 at 2013-08-29 11:07:59 +0600 Processing by InvoicesController#index as HTML  (0.1ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (28.0ms) Completed 200 OK in 41ms (Views: 31.8ms | ActiveRecord: 0.8ms) Started GET "/?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-03-29&q%5Bcreated_at_lteq%5D=2013-09-29&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-08-29 11:08:04 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-29", "created_at_lteq"=>"2013-09-29", "paid_eq"=>""}, "commit"=>"Search"}  (0.2ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000'))  (0.1ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) LIMIT 25 OFFSET 0  (0.1ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-03-29 00:00:00.000000' AND "invoices"."created_at" <= '2013-09-29 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (46.6ms) Completed 200 OK in 61ms (Views: 50.4ms | ActiveRecord: 0.6ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-09-03 09:37:20 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (7.4ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (2.3ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (2.2ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (3.9ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (74.7ms)  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (126.9ms) Completed 200 OK in 496ms (Views: 306.3ms | ActiveRecord: 37.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-03 09:37:21 +0600 Served asset /application.css - 200 OK (7ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-03 09:37:21 +0600 Served asset /invoices.css - 200 OK (17ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-03 09:37:21 +0600 Served asset /scaffold.css - 200 OK (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-03 09:37:21 +0600 Served asset /jquery.js - 200 OK (10ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-03 09:37:21 +0600 Served asset /invoices.js - 200 OK (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-03 09:37:21 +0600 Served asset /jquery_ujs.js - 200 OK (2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-03 09:37:21 +0600 Served asset /users.css - 200 OK (2ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-03 09:37:21 +0600 Served asset /users.js - 200 OK (3ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-03 09:37:21 +0600 Served asset /application.js - 200 OK (8ms) Connecting to database specified by database.yml  (3.3ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction SQL (44.8ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 03 Sep 2013 03:38:43 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 03 Sep 2013 03:38:43 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:38:43 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:38:43 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:38:43 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:38:43 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:38:43 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:38:43 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:38:43 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:38:43 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:38:43 UTC +00:00]]  (0.1ms) commit transaction  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:38:47 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:38:47 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:38:47 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:38:47 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:38:47 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:38:47 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:38:47 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:38:47 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:38:47 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:38:47 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:38:47 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:38:47 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:38:47 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:38:47 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:38:47 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]  (0.0ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-03 00:00:00.000000' AND "users"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:38:47 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:38:47 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:38:47 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:38:47 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-04-03 00:00:00.000000' AND "users"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-09-03 09:39:42 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (7.4ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (2.3ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (2.1ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (3.9ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (75.0ms)  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (132.8ms) Completed 200 OK in 394ms (Views: 204.6ms | ActiveRecord: 37.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-03 09:39:43 +0600 Served asset /application.css - 200 OK (32ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-03 09:39:43 +0600 Served asset /users.css - 200 OK (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-03 09:39:43 +0600 Served asset /jquery.js - 200 OK (9ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-03 09:39:43 +0600 Served asset /scaffold.css - 200 OK (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-03 09:39:43 +0600 Served asset /jquery_ujs.js - 200 OK (3ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-03 09:39:43 +0600 Served asset /invoices.css - 200 OK (2ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-03 09:39:43 +0600 Served asset /invoices.js - 200 OK (3ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-03 09:39:43 +0600 Served asset /users.js - 200 OK (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-03 09:39:43 +0600 Served asset /application.js - 200 OK (10ms) Started GET "/?utf8=%E2%9C%93&q%5Btitle_cont%5D=another&q%5Bcreated_at_gteq%5D=2013-04-03&q%5Bcreated_at_lteq%5D=2013-10-03&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-09-03 09:39:47 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"another", "created_at_gteq"=>"2013-04-03", "created_at_lteq"=>"2013-10-03", "paid_eq"=>""}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%another%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%another%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%another%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%another%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%another%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%another%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.6ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (2.6ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (1.4ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.4ms) Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."title" LIKE '%another%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (15.4ms)  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."title" LIKE '%another%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (34.4ms) Completed 200 OK in 72ms (Views: 44.4ms | ActiveRecord: 1.4ms) Started GET "/?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-04-03&q%5Bcreated_at_lteq%5D=2013-10-03&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-09-03 09:39:51 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-04-03", "created_at_lteq"=>"2013-10-03", "paid_eq"=>""}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.6ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (3.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (1.3ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.4ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (29.8ms)  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (67.1ms) Completed 200 OK in 141ms (Views: 116.1ms | ActiveRecord: 1.5ms) Started GET "/?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-04-03&q%5Bcreated_at_lteq%5D=2013-10-03&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-09-03 09:39:55 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-04-03", "created_at_lteq"=>"2013-10-03", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.5ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (2.5ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (1.3ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.3ms) Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (13.6ms)  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (31.5ms) Completed 200 OK in 63ms (Views: 40.5ms | ActiveRecord: 1.3ms) Connecting to database specified by database.yml  (3.1ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction SQL (10.0ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 03 Sep 2013 03:44:51 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 03 Sep 2013 03:44:51 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:44:51 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:44:51 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:44:51 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:44:51 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:44:51 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:44:51 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:44:51 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:44:51 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:44:51 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:44:52 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:44:52 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:44:52 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:44:52 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:44:52 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:44:52 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:44:52 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:44:52 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:44:52 UTC +00:00]]  (0.0ms) commit transaction  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:44:55 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:44:55 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:44:55 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:44:55 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:44:55 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:44:55 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-04-03 00:00:00.000000' AND "users"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:44:55 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:44:55 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:44:55 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-03 00:00:00.000000' AND "users"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:44:55 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:44:55 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:44:55 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:44:55 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:44:55 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:44:55 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:44:55 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-09-03 09:45:12 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (7.3ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (2.3ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (2.2ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (4.0ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (48.9ms)  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (90.0ms) Completed 200 OK in 336ms (Views: 145.1ms | ActiveRecord: 6.2ms) Started GET "/?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-04-03&q%5Bcreated_at_lteq%5D=2013-10-03&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-09-03 09:45:16 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-04-03", "created_at_lteq"=>"2013-10-03", "paid_eq"=>"false"}, "commit"=>"Search"}  (0.3ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.5ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (2.5ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (1.3ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.3ms) Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (15.1ms)  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (33.6ms) Completed 200 OK in 105ms (Views: 80.9ms | ActiveRecord: 1.3ms) Started GET "/?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-04-03&q%5Bcreated_at_lteq%5D=2013-10-03&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-09-03 09:45:19 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-04-03", "created_at_lteq"=>"2013-10-03", "paid_eq"=>""}, "commit"=>"Search"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.5ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (2.5ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (1.3ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.3ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (25.6ms)  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (59.4ms) Completed 200 OK in 90ms (Views: 68.4ms | ActiveRecord: 1.4ms) Started GET "/?utf8=%E2%9C%93&q%5Btitle_cont%5D=another&q%5Bcreated_at_gteq%5D=2013-04-03&q%5Bcreated_at_lteq%5D=2013-10-03&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-09-03 09:45:22 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"another", "created_at_gteq"=>"2013-04-03", "created_at_lteq"=>"2013-10-03", "paid_eq"=>""}, "commit"=>"Search"}  (0.3ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%another%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%another%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%another%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%another%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%another%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."title" LIKE '%another%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.5ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (2.6ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (1.3ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.3ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."title" LIKE '%another%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (15.0ms)  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."title" LIKE '%another%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (33.8ms) Completed 200 OK in 67ms (Views: 43.8ms | ActiveRecord: 1.3ms) Started GET "/?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-04-03&q%5Bcreated_at_lteq%5D=2013-10-03&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-09-03 09:45:26 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-04-03", "created_at_lteq"=>"2013-10-03", "paid_eq"=>""}, "commit"=>"Search"}  (2.9ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.5ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (2.5ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (1.3ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.3ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (26.1ms)  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (60.1ms) Completed 200 OK in 134ms (Views: 69.2ms | ActiveRecord: 4.0ms) Started GET "/?commit=Search&q%5Bcreated_at_gteq%5D=2013-04-03&q%5Bcreated_at_lteq%5D=2013-10-03&q%5Bpaid_eq%5D=&q%5Bs%5D=title+asc&q%5Btitle_cont%5D=&utf8=%E2%9C%93" for 127.0.0.1 at 2013-09-03 09:45:30 +0600 Processing by InvoicesController#index as HTML Parameters: {"commit"=>"Search", "q"=>{"created_at_gteq"=>"2013-04-03", "created_at_lteq"=>"2013-10-03", "paid_eq"=>"", "s"=>"title asc", "title_cont"=>""}, "utf8"=>"✓"}  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.5ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (2.6ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (1.3ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.3ms) Invoice Load (1.0ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) ORDER BY "invoices"."title" ASC LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (26.2ms)  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (60.2ms) Completed 200 OK in 91ms (Views: 68.6ms | ActiveRecord: 1.9ms) Started GET "/" for 127.0.0.1 at 2013-09-03 09:47:37 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.4ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.5ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (1.3ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.3ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (37.8ms)  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (67.6ms) Completed 200 OK in 101ms (Views: 76.6ms | ActiveRecord: 2.2ms) Started GET "/" for 127.0.0.1 at 2013-09-03 09:49:48 +0600 Processing by InvoicesController#index as HTML  (2.3ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (3.6ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.6ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (1.3ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.4ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (25.6ms)  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (57.1ms) Completed 200 OK in 128ms (Views: 66.2ms | ActiveRecord: 3.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-03 09:49:48 +0600 Served asset /application.css - 200 OK (20ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-03 09:49:48 +0600 Served asset /invoices.css - 200 OK (3ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-03 09:49:48 +0600 Served asset /scaffold.css - 200 OK (2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-03 09:49:48 +0600 Served asset /users.css - 200 OK (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-03 09:49:48 +0600 Served asset /jquery.js - 200 OK (8ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-03 09:49:48 +0600 Served asset /jquery_ujs.js - 200 OK (4ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-03 09:49:48 +0600 Served asset /invoices.js - 200 OK (2ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-03 09:49:48 +0600 Served asset /users.js - 200 OK (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-03 09:49:48 +0600 Served asset /application.js - 200 OK (9ms) Connecting to database specified by database.yml  (3.1ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction SQL (8.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:59:50 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:59:50 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:59:50 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:59:50 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:59:50 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:59:50 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:59:50 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:59:50 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:59:50 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:59:50 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-03 00:00:00.000000' AND "users"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:59:51 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:59:51 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:59:51 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-04-03 00:00:00.000000' AND "users"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:59:51 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:59:51 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:59:51 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:59:51 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:59:51 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:59:51 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:59:51 UTC +00:00]]  (0.1ms) commit transaction  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 03:59:54 UTC +00:00], ["dob", Wed, 03 Sep 2003 03:59:54 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 03:59:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 03:59:54 UTC +00:00], ["dob", Fri, 03 Sep 1993 03:59:54 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 03:59:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 03:59:54 UTC +00:00], ["dob", Mon, 03 Sep 1979 03:59:54 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 03:59:54 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" Connecting to database specified by database.yml  (3.1ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction SQL (9.8ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:00:42 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:00:42 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:00:42 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:00:42 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:00:42 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:00:42 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:00:42 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:00:42 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:00:42 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-03 00:00:00.000000' AND "users"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:00:42 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:00:42 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:00:42 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:00:43 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-04-03 00:00:00.000000' AND "users"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:00:43 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:00:43 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:00:43 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:00:43 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:00:43 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:00:43 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:00:43 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:00:43 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:00:43 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:00:43 UTC +00:00]]  (0.1ms) commit transaction  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.2ms) SELECT "users".* FROM "users" Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml  (3.1ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction SQL (42.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 03 Sep 2013 04:04:40 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 03 Sep 2013 04:04:40 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:04:41 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:04:41 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:04:41 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:04:41 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:04:41 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:04:41 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:04:41 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:04:41 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:04:41 UTC +00:00]]  (0.1ms) commit transaction  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:04:44 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:04:44 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:04:44 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:04:44 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:04:44 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:04:44 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:04:44 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:04:44 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:04:44 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:04:44 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:04:44 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:04:44 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:04:44 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:04:44 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:04:44 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-03 00:00:00.000000' AND "users"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:04:44 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:04:44 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:04:44 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:04:44 UTC +00:00]]  (0.0ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-04-03 00:00:00.000000' AND "users"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-09-03 10:04:57 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (7.3ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (2.3ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (2.1ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (3.9ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (42.1ms)  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (127.9ms) Completed 200 OK in 377ms (Views: 195.5ms | ActiveRecord: 6.2ms) Started GET "/" for 127.0.0.1 at 2013-09-03 10:05:01 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.6ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.5ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (1.3ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.3ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (25.3ms)  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (55.4ms) Completed 200 OK in 121ms (Views: 103.1ms | ActiveRecord: 1.5ms) Connecting to database specified by database.yml  (3.2ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (38.8ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:06:19 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:06:19 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:06:19 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-04-03 00:00:00.000000' AND "users"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:06:19 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:06:19 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:06:19 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-03 00:00:00.000000' AND "users"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:06:19 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:06:19 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:06:19 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:06:19 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:06:19 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:06:19 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 13]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:06:19 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:06:19 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:06:19 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:06:19 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:06:19 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:06:19 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:06:19 UTC +00:00]]  (0.1ms) commit transaction  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:06:23 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:06:23 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:06:23 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:06:23 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:06:23 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:06:23 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:06:23 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:06:23 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:06:23 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-09-03 10:07:28 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (7.6ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (2.4ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (2.2ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (4.0ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (41.7ms)  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (126.6ms) Completed 200 OK in 387ms (Views: 199.8ms | ActiveRecord: 5.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-03 10:07:28 +0600 Served asset /application.css - 200 OK (25ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-03 10:07:28 +0600 Served asset /jquery.js - 200 OK (8ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-03 10:07:28 +0600 Served asset /invoices.css - 200 OK (2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-03 10:07:28 +0600 Served asset /scaffold.css - 200 OK (3ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-03 10:07:28 +0600 Served asset /users.css - 200 OK (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-03 10:07:28 +0600 Served asset /jquery_ujs.js - 200 OK (2ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-03 10:07:28 +0600 Served asset /invoices.js - 200 OK (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-03 10:07:28 +0600 Served asset /application.js - 200 OK (9ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-03 10:07:28 +0600 Served asset /users.js - 200 OK (3ms) Started GET "/" for 127.0.0.1 at 2013-09-03 10:08:12 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.8ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.6ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (1.3ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.4ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (27.1ms)  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (59.9ms) Completed 200 OK in 87ms (Views: 69.5ms | ActiveRecord: 1.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-03 10:08:13 +0600 Served asset /application.css - 304 Not Modified (8ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-03 10:08:13 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-03 10:08:13 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-03 10:08:13 +0600 Served asset /jquery.js - 304 Not Modified (5ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-03 10:08:13 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-03 10:08:13 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-03 10:08:13 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-03 10:08:13 +0600 Served asset /application.js - 304 Not Modified (2ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-03 10:08:13 +0600 Served asset /users.js - 304 Not Modified (0ms) Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-09-03 10:08:48 +0600 Processing by InvoicesController#index as HTML  (0.4ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000'))  (0.3ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_charged") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) CACHE (0.0ms) SELECT SUM("invoices"."total_paid") AS sum_id FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (9.4ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (2.5ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_chart.html.erb (1.7ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (3.8ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (40.8ms)  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (131.8ms) Completed 200 OK in 385ms (Views: 198.2ms | ActiveRecord: 6.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-03 10:08:48 +0600 Served asset /application.css - 304 Not Modified (11ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-03 10:08:48 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-03 10:08:48 +0600 Served asset /users.css - 304 Not Modified (3ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-03 10:08:49 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-03 10:08:49 +0600 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-03 10:08:49 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-03 10:08:49 +0600 Served asset /invoices.js - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-03 10:08:49 +0600 Served asset /users.js - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-03 10:08:49 +0600 Served asset /application.js - 304 Not Modified (5ms) Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-09-03 10:23:19 +0600 Processing by InvoicesController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (26.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (0.9ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.3ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."title" LIKE '%invoice%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (5.6ms)  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."title" LIKE '%invoice%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (41.9ms) Completed 200 OK in 153ms (Views: 92.4ms | ActiveRecord: 2.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-03 10:23:20 +0600 Served asset /application.css - 304 Not Modified (11ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-03 10:23:20 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-03 10:23:20 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-03 10:23:20 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-03 10:23:20 +0600 Served asset /jquery.js - 304 Not Modified (5ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-03 10:23:20 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-03 10:23:20 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-03 10:23:20 +0600 Served asset /application.js - 304 Not Modified (4ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-03 10:23:20 +0600 Served asset /users.js - 304 Not Modified (1ms) Started GET "/?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-04-03&q%5Bcreated_at_lteq%5D=2013-10-03&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-09-03 10:23:31 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-04-03", "created_at_lteq"=>"2013-10-03", "paid_eq"=>"false"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (27.4ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.1ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (11.6ms)  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (44.7ms) Completed 200 OK in 49ms (Views: 48.2ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-03 10:23:31 +0600 Served asset /application.css - 304 Not Modified (2ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-03 10:23:31 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-03 10:23:31 +0600 Served asset /scaffold.css - 304 Not Modified (2ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-03 10:23:31 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-03 10:23:31 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-03 10:23:31 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-03 10:23:31 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-03 10:23:31 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-03 10:23:31 +0600 Served asset /application.js - 304 Not Modified (0ms) Started GET "/" for 127.0.0.1 at 2013-09-03 10:24:21 +0600 Processing by InvoicesController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (26.3ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (0.6ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.0ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."title" LIKE '%invoice%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (15.6ms)  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."title" LIKE '%invoice%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (54.3ms) Completed 200 OK in 61ms (Views: 58.2ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-03 10:24:22 +0600 Served asset /application.css - 304 Not Modified (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-03 10:24:22 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-03 10:24:22 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-03 10:24:22 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-03 10:24:22 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-03 10:24:22 +0600 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-03 10:24:22 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-03 10:24:22 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-03 10:24:22 +0600 Served asset /application.js - 304 Not Modified (0ms) Connecting to database specified by database.yml  (1.5ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (1.0ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (22.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:24:58 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:24:58 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:24:58 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:24:58 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:24:58 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:24:58 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:24:58 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:24:58 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:24:58 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:24:58 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:24:58 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:24:58 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:24:58 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:24:58 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:24:58 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:24:58 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:24:58 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:24:58 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.0ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:24:59 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:24:59 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:24:59 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 10]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:24:59 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:24:59 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:24:59 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 34 AND "users"."created_at" >= '2013-04-03 00:00:00.000000' AND "users"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:24:59 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:24:59 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:24:59 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00]]  (0.0ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-03 00:00:00.000000' AND "users"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:24:59 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:24:59 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:24:59 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00], ["dob", Wed, 03 Sep 2003 04:24:59 UTC +00:00], ["name", "User#1"], ["updated_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00], ["dob", Fri, 03 Sep 1993 04:24:59 UTC +00:00], ["name", "User#2"], ["updated_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00], ["dob", Mon, 03 Sep 1979 04:24:59 UTC +00:00], ["name", "User#3"], ["updated_at", Tue, 03 Sep 2013 04:24:59 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 Started GET "/" for 127.0.0.1 at 2013-09-03 10:33:50 +0600 Processing by InvoicesController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.5ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (0.6ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.0ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."title" LIKE '%invoice%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (14.6ms)  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."title" LIKE '%invoice%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (29.2ms) Completed 200 OK in 35ms (Views: 32.9ms | ActiveRecord: 0.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-03 10:33:50 +0600 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-03 10:33:50 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-03 10:33:50 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-03 10:33:50 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-03 10:33:50 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-03 10:33:50 +0600 Served asset /jquery.js - 304 Not Modified (3ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-03 10:33:50 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-03 10:33:50 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-03 10:33:50 +0600 Served asset /application.js - 304 Not Modified (0ms) Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-09-03 10:34:20 +0600 Processing by InvoicesController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (25.4ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.1ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.3ms) Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."title" LIKE '%invoice%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (19.2ms)  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."title" LIKE '%invoice%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (79.3ms) Completed 200 OK in 167ms (Views: 109.9ms | ActiveRecord: 2.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-03 10:34:20 +0600 Served asset /application.css - 304 Not Modified (4ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-03 10:34:20 +0600 Served asset /scaffold.css - 304 Not Modified (1ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-03 10:34:20 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-03 10:34:20 +0600 Served asset /jquery.js - 304 Not Modified (3ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-03 10:34:20 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-03 10:34:20 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-03 10:34:20 +0600 Served asset /invoices.js - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-03 10:34:20 +0600 Served asset /users.js - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-03 10:34:20 +0600 Served asset /application.js - 304 Not Modified (4ms) Started GET "/" for 127.0.0.1 at 2013-09-03 10:35:16 +0600 Processing by InvoicesController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.8ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (0.6ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.1ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."title" LIKE '%invoice%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (15.9ms)  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."title" LIKE '%invoice%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (30.9ms) Completed 500 Internal Server Error in 37ms NoMethodError (undefined method `default' for #): app/controllers/invoices_controller.rb:40:in `index' Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /usr/local/rvm/gems/ruby-1.9.3-p429/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.0ms) Started GET "/" for 127.0.0.1 at 2013-09-03 10:35:28 +0600 Processing by InvoicesController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (4.1ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (0.6ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.1ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."title" LIKE '%invoice%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (14.9ms)  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."title" LIKE '%invoice%' AND "invoices"."created_at" >= '2013-04-03 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-03 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (28.8ms) Completed 200 OK in 35ms (Views: 32.1ms | ActiveRecord: 0.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-03 10:35:28 +0600 Served asset /application.css - 304 Not Modified (5ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-03 10:35:28 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-03 10:35:28 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-03 10:35:28 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-03 10:35:28 +0600 Served asset /jquery.js - 304 Not Modified (24ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-03 10:35:28 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-03 10:35:28 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-03 10:35:28 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-03 10:35:28 +0600 Served asset /application.js - 304 Not Modified (0ms) Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml  (3.2ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (11.6ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (32.9ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:32:05 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:32:05 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:32:05 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:32:05 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:32:05 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:32:05 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:32:05 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:32:05 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:32:05 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-04 00:00:00.000000' AND "users"."created_at" <= '2013-10-04 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:32:05 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:32:05 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:32:05 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 13]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:32:05 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:32:05 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:32:05 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:32:05 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:32:06 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:32:06 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:32:06 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:32:06 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:32:06 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:32:06 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:32:06 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:32:06 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:32:06 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:32:08 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:32:08 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:32:08 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:32:08 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:32:08 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:32:08 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:32:08 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:32:08 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:32:08 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-09-04 09:40:01 +0600 Processing by InvoicesController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (40.8ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (3.3ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.9ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."title" LIKE '%invoice%' AND "invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (14.0ms)  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."title" LIKE '%invoice%' AND "invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (165.5ms) Completed 200 OK in 505ms (Views: 344.5ms | ActiveRecord: 36.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-04 09:40:02 +0600 Served asset /application.css - 304 Not Modified (14ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-04 09:40:02 +0600 Served asset /invoices.js - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-04 09:40:02 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-04 09:40:02 +0600 Served asset /users.js - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-04 09:40:02 +0600 Served asset /scaffold.css - 304 Not Modified (2ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-04 09:40:02 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-04 09:40:02 +0600 Served asset /application.js - 304 Not Modified (6ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-04 09:40:02 +0600 Served asset /jquery.js - 200 OK (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-04 09:40:02 +0600 Served asset /jquery_ujs.js - 200 OK (1ms) Started GET "/invoices" for 127.0.0.1 at 2013-09-04 09:40:27 +0600 Processing by InvoicesController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (7.7ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (0.8ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.1ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (15.7ms)  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (30.4ms) Completed 200 OK in 39ms (Views: 35.6ms | ActiveRecord: 0.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-04 09:40:27 +0600 Served asset /application.css - 304 Not Modified (17ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-04 09:40:27 +0600 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-04 09:40:27 +0600 Served asset /users.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-04 09:40:27 +0600 Served asset /jquery.js - 304 Not Modified (9ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-04 09:40:27 +0600 Served asset /scaffold.css - 304 Not Modified (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-04 09:40:27 +0600 Served asset /invoices.css - 304 Not Modified (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-04 09:40:27 +0600 Served asset /invoices.js - 304 Not Modified (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-04 09:40:27 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-04 09:40:27 +0600 Served asset /application.js - 304 Not Modified (2ms) Started GET "/invoices" for 127.0.0.1 at 2013-09-04 09:41:23 +0600 Processing by InvoicesController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (14.9ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.6ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.1ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (28.6ms)  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (56.9ms) Completed 200 OK in 72ms (Views: 66.5ms | ActiveRecord: 1.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-04 09:41:23 +0600 Served asset /application.css - 200 OK (11ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-04 09:41:23 +0600 Served asset /scaffold.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-04 09:41:23 +0600 Served asset /jquery.js - 200 OK (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-04 09:41:23 +0600 Served asset /users.css - 200 OK (0ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-04 09:41:23 +0600 Served asset /invoices.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-04 09:41:23 +0600 Served asset /jquery_ujs.js - 200 OK (2ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-04 09:41:23 +0600 Served asset /invoices.js - 200 OK (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-04 09:41:23 +0600 Served asset /users.js - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-04 09:41:23 +0600 Served asset /application.js - 200 OK (1ms) Started GET "/?utf8=%E2%9C%93&q%5Btitle_cont%5D=test&q%5Bcreated_at_gteq%5D=2013-04-04&q%5Bcreated_at_lteq%5D=2013-10-04&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-09-04 09:41:28 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"test", "created_at_gteq"=>"2013-04-04", "created_at_lteq"=>"2013-10-04", "paid_eq"=>""}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (9.5ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.4ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.1ms) Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (8.2ms)  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."title" LIKE '%test%' AND "invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (25.2ms) Completed 200 OK in 32ms (Views: 30.2ms | ActiveRecord: 0.4ms) Started GET "/?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-04-04&q%5Bcreated_at_lteq%5D=2013-10-04&q%5Bpaid_eq%5D=&commit=Search" for 127.0.0.1 at 2013-09-04 09:41:32 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-04-04", "created_at_lteq"=>"2013-10-04", "paid_eq"=>""}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (8.6ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.4ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.1ms) Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (15.3ms)  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (61.9ms) Completed 200 OK in 68ms (Views: 67.0ms | ActiveRecord: 0.5ms) Started GET "/" for 127.0.0.1 at 2013-09-04 09:41:48 +0600 Processing by InvoicesController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (6.7ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (0.8ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.1ms) Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (19.5ms)  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (39.3ms) Completed 200 OK in 47ms (Views: 44.0ms | ActiveRecord: 0.9ms) Connecting to database specified by database.yml Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-09-04 09:45:14 +0600 Processing by InvoicesController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (16.1ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (2.6ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.8ms) Invoice Load (0.6ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (85.3ms)  (0.5ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (202.8ms) Completed 200 OK in 330ms (Views: 234.6ms | ActiveRecord: 23.0ms) Started GET "/" for 127.0.0.1 at 2013-09-04 09:45:28 +0600 Processing by InvoicesController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (12.1ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (0.9ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.1ms) Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (20.0ms)  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (45.2ms) Completed 200 OK in 56ms (Views: 50.8ms | ActiveRecord: 1.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-04 09:45:28 +0600 Served asset /application.css - 200 OK (12ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-04 09:45:28 +0600 Served asset /scaffold.css - 200 OK (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-04 09:45:28 +0600 Served asset /users.css - 200 OK (3ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-04 09:45:28 +0600 Served asset /invoices.css - 200 OK (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-04 09:45:28 +0600 Served asset /jquery.js - 200 OK (9ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-04 09:45:28 +0600 Served asset /jquery_ujs.js - 200 OK (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-04 09:45:28 +0600 Served asset /invoices.js - 200 OK (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-04 09:45:28 +0600 Served asset /application.js - 200 OK (5ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-04 09:45:28 +0600 Served asset /users.js - 200 OK (1ms) Connecting to database specified by database.yml  (34.1ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (6.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:46:55 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:46:55 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:46:55 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:46:55 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:46:55 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:46:55 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:46:55 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:46:55 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:46:55 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:46:55 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:46:55 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:46:55 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:46:55 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:46:55 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:46:55 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:46:55 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:46:55 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:46:55 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:46:55 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"   (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"  User Load (0.3ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:46:57 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:46:57 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:46:57 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:46:57 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:46:57 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:46:57 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:46:57 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:46:57 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:46:57 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 04 Sep 2013 03:46:58 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 04 Sep 2013 03:46:58 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1 Connecting to database specified by database.yml  (34.3ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction SQL (44.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:47:25 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:47:25 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:47:25 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:47:25 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:47:25 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:47:25 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:47:25 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:47:25 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:47:25 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:47:25 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:47:25 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:47:25 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:47:25 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:47:25 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:47:25 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:47:25 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:47:25 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:47:25 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:47:25 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"   (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:47:27 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:47:27 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:47:27 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:47:27 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:47:27 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:47:27 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:47:27 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:47:27 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:47:27 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users"  Connecting to database specified by database.yml  (1.6ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (38.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:47:37 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:47:37 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:47:37 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:47:37 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:47:37 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:47:37 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:47:37 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:47:37 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:47:37 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:47:37 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:47:37 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:47:37 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:47:37 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:47:37 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:47:37 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:47:37 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:47:37 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:47:37 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:47:37 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"   (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"  User Load (0.3ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:47:39 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:47:39 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:47:39 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:47:39 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:47:39 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:47:39 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:47:39 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:47:39 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:47:39 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 04 Sep 2013 03:47:40 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 04 Sep 2013 03:47:40 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1 Connecting to database specified by database.yml  (1.6ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (1.2ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (25.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:48:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:48:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:48:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:48:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:48:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:48:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:48:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:48:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:48:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]  (0.0ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-04 00:00:00.000000' AND "users"."created_at" <= '2013-10-04 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:48:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:48:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:48:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:48:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:48:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:48:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:48:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:48:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:48:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:48:54 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:48:56 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:48:56 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:48:56 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:48:56 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:48:56 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:48:56 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:48:56 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:48:56 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:48:56 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 04 Sep 2013 03:48:57 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 04 Sep 2013 03:48:57 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1 Connecting to database specified by database.yml  (3.1ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (38.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:52:48 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:52:48 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:52:48 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:52:48 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:52:48 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:52:48 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:52:48 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:52:48 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:52:48 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:52:49 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:52:49 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:52:49 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:52:49 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:52:49 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:52:49 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:52:49 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:52:49 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:52:49 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:52:49 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:52:49 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:52:49 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:52:49 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:52:49 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:52:49 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:52:49 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:52:49 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:52:49 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:52:51 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:52:51 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:52:51 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:52:51 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:52:51 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:52:51 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:52:51 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:52:51 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:52:51 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-04 00:00:00.000000' AND "users"."created_at" <= '2013-10-04 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:52:51 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:52:51 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:52:51 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 04 Sep 2013 03:52:51 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1 Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-09-04 09:54:28 +0600 Connecting to database specified by database.yml Processing by InvoicesController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (32.2ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.3ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms) Invoice Load (0.6ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (50.6ms)  (0.6ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (151.5ms) Completed 200 OK in 280ms (Views: 203.4ms | ActiveRecord: 3.7ms)  (1.8ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (1.5ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (24.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:54:29 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:54:29 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:54:29 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:54:29 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:54:29 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:54:29 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:54:29 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:54:29 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:54:29 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:54:29 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:54:29 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:54:29 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:54:29 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:54:29 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:54:29 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:54:29 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:54:29 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:54:29 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:54:31 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:54:31 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:54:31 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:54:31 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:54:31 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:54:31 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:54:31 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:54:31 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:54:31 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:54:32 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:54:32 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:54:32 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:54:32 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:54:32 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:54:32 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:54:32 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:54:32 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:54:32 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-04 00:00:00.000000' AND "users"."created_at" <= '2013-10-04 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00], ["dob", Thu, 04 Sep 2003 03:54:32 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00], ["dob", Sat, 04 Sep 1993 03:54:32 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00], ["dob", Tue, 04 Sep 1979 03:54:32 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 04 Sep 2013 03:54:32 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1 Started GET "/?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-04-04&q%5Bcreated_at_lteq%5D=2013-10-05&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-09-04 09:54:35 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-04-04", "created_at_lteq"=>"2013-10-05", "paid_eq"=>"false"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (15.6ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (2.5ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.1ms) Invoice Load (0.6ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-05 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (26.9ms)  (0.5ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-05 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (70.9ms) Completed 200 OK in 102ms (Views: 99.8ms | ActiveRecord: 1.0ms) Started GET "/?utf8=%E2%9C%93&q%5Btitle_cont%5D=&q%5Bcreated_at_gteq%5D=2013-09-01&q%5Bcreated_at_lteq%5D=2013-10-05&q%5Bpaid_eq%5D=false&commit=Search" for 127.0.0.1 at 2013-09-04 09:54:47 +0600 Processing by InvoicesController#index as HTML Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-09-01", "created_at_lteq"=>"2013-10-05", "paid_eq"=>"false"}, "commit"=>"Search"} Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (7.5ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.3ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.1ms) Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-09-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-05 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (13.9ms)  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-09-01 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-05 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (35.8ms) Completed 200 OK in 42ms (Views: 40.3ms | ActiveRecord: 0.6ms) Connecting to database specified by database.yml  (0.2ms) select sqlite_version(*)  (232.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (125.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreateUsers (20130622120853)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130622120853')  (168.7ms) commit transaction Migrating to CreateInvoices (20130630132513)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "total_paid" float, "total_charged" float, "paid" boolean, "received_by" integer, "invoiced_on" date, "paid_on" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130630132513')  (162.6ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (191.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (156.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (1.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreateUsers (20130622120853)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130622120853')  (164.2ms) commit transaction Migrating to CreateInvoices (20130630132513)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "total_paid" float, "total_charged" float, "paid" boolean, "received_by_id" integer, "invoiced_on" date, "paid_on" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130630132513')  (179.5ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml IRB::Abort: abort then interrupt!: commit transaction SQLite3::SQLException: cannot rollback - no transaction is active: rollback transaction Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-09-04 10:01:15 +0600 Processing by InvoicesController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (11.7ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.2ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.4ms) Invoice Load (0.4ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (48.2ms)  (0.6ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (113.9ms) Completed 200 OK in 237ms (Views: 144.8ms | ActiveRecord: 21.9ms) Started GET "/" for 127.0.0.1 at 2013-09-04 10:01:41 +0600 Processing by InvoicesController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (12.7ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.6ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.1ms) Invoice Load (0.6ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (159.8ms)  (1.0ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-04 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-04 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (199.7ms) Completed 200 OK in 214ms (Views: 206.5ms | ActiveRecord: 3.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-04 10:01:42 +0600 Served asset /application.css - 200 OK (18ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-04 10:01:42 +0600 Served asset /users.css - 200 OK (44ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-04 10:01:42 +0600 Served asset /invoices.css - 200 OK (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-04 10:01:42 +0600 Served asset /jquery.js - 200 OK (8ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-04 10:01:42 +0600 Served asset /scaffold.css - 200 OK (6ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-04 10:01:42 +0600 Served asset /jquery_ujs.js - 200 OK (3ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-04 10:01:42 +0600 Served asset /invoices.js - 200 OK (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-04 10:01:42 +0600 Served asset /users.js - 200 OK (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-04 10:01:42 +0600 Served asset /application.js - 200 OK (10ms) Connecting to database specified by database.yml  (3.2ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.3ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.3ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (21.8ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (3.8ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:02:12 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:02:12 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:02:12 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:02:12 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:02:12 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:02:12 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:02:12 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:02:12 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:02:12 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:02:12 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:02:12 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:02:12 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:02:13 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:02:13 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:02:13 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:02:13 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:02:13 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:02:13 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:02:15 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:02:15 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:02:15 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 10]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:02:15 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:02:15 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:02:15 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:02:15 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:02:15 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:02:15 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-04 00:00:00.000000' AND "users"."created_at" <= '2013-10-04 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:02:15 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:02:15 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:02:15 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:02:15 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:02:15 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:02:15 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:02:15 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (3.3ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.3ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.3ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction SQL (43.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 04 Sep 2013 04:12:56 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 04 Sep 2013 04:12:56 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:12:56 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:12:56 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:12:56 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:12:56 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:12:56 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:12:56 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:12:56 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:12:56 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:12:56 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:12:58 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:12:58 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:12:58 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:12:58 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:12:58 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:12:58 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:12:58 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:12:58 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:12:58 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:12:58 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:12:58 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:12:58 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:12:58 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:12:58 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:12:58 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-04 00:00:00.000000' AND "users"."created_at" <= '2013-10-04 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:12:58 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:12:58 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:12:58 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:12:58 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (3.3ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (39.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:13:53 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:13:53 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:13:53 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:13:53 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:13:53 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:13:53 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:13:53 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:13:53 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:13:53 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:13:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:13:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:13:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:13:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:13:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:13:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]  (0.0ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-04 00:00:00.000000' AND "users"."created_at" <= '2013-10-04 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:13:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:13:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:13:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 13]]  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:13:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:13:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:13:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:13:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:13:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:13:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Thu, 04 Sep 2003 04:13:54 UTC +00:00], ["name", "User#1"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Sat, 04 Sep 1993 04:13:54 UTC +00:00], ["name", "User#2"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00], ["dob", Tue, 04 Sep 1979 04:13:54 UTC +00:00], ["name", "User#3"], ["updated_at", Wed, 04 Sep 2013 04:13:54 UTC +00:00]]  (0.1ms) commit transaction  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.3ms) SELECT "users".* FROM "users" Connecting to database specified by database.yml Connecting to database specified by database.yml  (1.5ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (13.6ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (31.0ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Sat, 06 Sep 2003 05:42:23 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Mon, 06 Sep 1993 05:42:23 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Thu, 06 Sep 1979 05:42:23 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Sat, 06 Sep 2003 05:42:23 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Mon, 06 Sep 1993 05:42:23 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Thu, 06 Sep 1979 05:42:23 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Sat, 06 Sep 2003 05:42:23 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Mon, 06 Sep 1993 05:42:23 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Thu, 06 Sep 1979 05:42:23 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Sat, 06 Sep 2003 05:42:23 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Mon, 06 Sep 1993 05:42:23 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Thu, 06 Sep 1979 05:42:23 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 13]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Sat, 06 Sep 2003 05:42:23 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Mon, 06 Sep 1993 05:42:23 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Thu, 06 Sep 1979 05:42:23 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Sat, 06 Sep 2003 05:42:23 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Mon, 06 Sep 1993 05:42:23 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00], ["dob", Thu, 06 Sep 1979 05:42:23 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 05:42:23 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 05:42:24 UTC +00:00], ["dob", Sat, 06 Sep 2003 05:42:24 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 05:42:24 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 05:42:24 UTC +00:00], ["dob", Mon, 06 Sep 1993 05:42:24 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 05:42:24 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 05:42:24 UTC +00:00], ["dob", Thu, 06 Sep 1979 05:42:24 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 05:42:24 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.0ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-09-06 11:42:59 +0600 Processing by InvoicesController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (19.3ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.3ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.3ms) Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-06 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0 User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (110.3ms)  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-06 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (205.5ms) Completed 200 OK in 496ms (Views: 411.0ms | ActiveRecord: 20.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-06 11:43:00 +0600 Served asset /application.css - 200 OK (7ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-06 11:43:00 +0600 Served asset /invoices.css - 200 OK (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-06 11:43:00 +0600 Served asset /scaffold.css - 200 OK (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-06 11:43:00 +0600 Served asset /users.css - 200 OK (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-06 11:43:00 +0600 Served asset /invoices.js - 200 OK (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-06 11:43:00 +0600 Served asset /users.js - 200 OK (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-06 11:43:00 +0600 Served asset /application.js - 200 OK (4ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-06 11:43:00 +0600 Served asset /jquery_ujs.js - 200 OK (27ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-06 11:43:00 +0600 Served asset /jquery.js - 200 OK (2ms) Connecting to database specified by database.yml  (1.5ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction SQL (23.8ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:25:08 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:25:08 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:25:08 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:25:08 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:25:08 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:25:08 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:25:08 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:25:08 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:25:08 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:25:08 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:25:08 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:25:08 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:25:08 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:25:08 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:25:08 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:25:08 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"   (0.0ms) SELECT AVG("users"."age") AS avg_id FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:25:09 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:25:09 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:25:09 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users"  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:25:09 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:25:09 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:25:09 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:25:09 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users"  Connecting to database specified by database.yml  (1.4ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.0ms) begin transaction SQL (4.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:30:10 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:30:10 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:30:10 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:30:10 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:30:10 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:30:10 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:30:10 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.0ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:30:11 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:30:11 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:30:11 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:30:11 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:30:11 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:30:11 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:30:11 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:30:11 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:30:11 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:30:11 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:30:11 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:30:11 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:30:11 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:30:11 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:30:11 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:30:11 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0 Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-09-06 14:30:59 +0600 Processing by InvoicesController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (13.6ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.2ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.4ms) Invoice Load (0.5ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" = '2013-04-06 08:30:59.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (7.2ms)  (0.3ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" = '2013-04-06 08:30:59.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (54.3ms) Completed 200 OK in 171ms (Views: 94.6ms | ActiveRecord: 19.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-06 14:30:59 +0600 Served asset /application.css - 304 Not Modified (10ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-06 14:30:59 +0600 Served asset /invoices.css - 304 Not Modified (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-06 14:30:59 +0600 Served asset /users.css - 304 Not Modified (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-06 14:30:59 +0600 Served asset /scaffold.css - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-06 14:30:59 +0600 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-06 14:30:59 +0600 Served asset /invoices.js - 304 Not Modified (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-06 14:30:59 +0600 Served asset /users.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-06 14:30:59 +0600 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-06 14:30:59 +0600 Served asset /application.js - 304 Not Modified (7ms) Started GET "/invoices" for 127.0.0.1 at 2013-09-06 14:31:27 +0600 Processing by InvoicesController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (5.7ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (0.7ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.1ms) Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" = '2013-04-06 08:31:27.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (1.7ms)  (0.2ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" = '2013-04-06 08:31:27.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (31.0ms) Completed 200 OK in 36ms (Views: 34.4ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-06 14:31:27 +0600 Served asset /application.css - 200 OK (5ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-06 14:31:27 +0600 Served asset /invoices.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-06 14:31:27 +0600 Served asset /jquery_ujs.js - 200 OK (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-06 14:31:27 +0600 Served asset /jquery.js - 200 OK (2ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-06 14:31:27 +0600 Served asset /scaffold.css - 200 OK (0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-06 14:31:27 +0600 Served asset /users.css - 200 OK (0ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-06 14:31:27 +0600 Served asset /invoices.js - 200 OK (0ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-06 14:31:27 +0600 Served asset /users.js - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-06 14:31:27 +0600 Served asset /application.js - 200 OK (0ms) Connecting to database specified by database.yml  (1.6ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction SQL (27.0ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:31:38 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:31:38 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:31:38 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:31:38 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:31:38 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:31:38 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:31:38 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.0ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" Connecting to database specified by database.yml User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:31:39 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:31:39 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:31:39 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:31:39 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:31:39 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:31:39 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:31:39 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:31:39 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:31:39 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:31:39 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:31:39 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:31:39 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:31:39 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]  (0.2ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:31:39 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:31:39 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:31:39 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0 Started GET "/invoices" for 127.0.0.1 at 2013-09-06 14:31:43 +0600 Processing by InvoicesController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (10.9ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.3ms) Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 08:31:43.000000' AND "invoices"."created_at" <= '2013-10-06 08:31:43.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (91.6ms)  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 08:31:43.000000' AND "invoices"."created_at" <= '2013-10-06 08:31:43.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (138.2ms) Completed 200 OK in 231ms (Views: 154.6ms | ActiveRecord: 20.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-06 14:31:43 +0600 Served asset /application.css - 200 OK (10ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-06 14:31:43 +0600 Served asset /invoices.css - 200 OK (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-06 14:31:43 +0600 Served asset /users.css - 200 OK (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-06 14:31:43 +0600 Served asset /jquery_ujs.js - 200 OK (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-06 14:31:43 +0600 Served asset /jquery.js - 200 OK (4ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-06 14:31:43 +0600 Served asset /scaffold.css - 200 OK (1ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-06 14:31:43 +0600 Served asset /invoices.js - 200 OK (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-06 14:31:43 +0600 Served asset /users.js - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-06 14:31:43 +0600 Served asset /application.js - 200 OK (4ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-09-06 14:32:14 +0600 Processing by InvoicesController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (10.7ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.3ms) Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 08:32:00.000000' AND "invoices"."created_at" <= '2013-10-06 08:32:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (87.8ms)  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 08:32:00.000000' AND "invoices"."created_at" <= '2013-10-06 08:32:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (134.0ms) Completed 200 OK in 222ms (Views: 146.9ms | ActiveRecord: 2.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-06 14:32:14 +0600 Served asset /application.css - 200 OK (35ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-06 14:32:14 +0600 Served asset /invoices.css - 200 OK (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-06 14:32:14 +0600 Served asset /users.css - 200 OK (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-06 14:32:14 +0600 Served asset /scaffold.css - 200 OK (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-06 14:32:14 +0600 Served asset /jquery_ujs.js - 200 OK (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-06 14:32:14 +0600 Served asset /jquery.js - 200 OK (4ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-06 14:32:14 +0600 Served asset /invoices.js - 200 OK (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-06 14:32:14 +0600 Served asset /users.js - 200 OK (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-06 14:32:14 +0600 Served asset /application.js - 200 OK (23ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-09-06 14:33:58 +0600 Processing by InvoicesController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (11.3ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (1.0ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.3ms) Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 08:33:00.000000' AND "invoices"."created_at" <= '2013-10-06 08:33:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (91.4ms)  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 08:33:00.000000' AND "invoices"."created_at" <= '2013-10-06 08:33:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (137.8ms) Completed 200 OK in 231ms (Views: 151.6ms | ActiveRecord: 21.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-06 14:33:59 +0600 Served asset /application.css - 200 OK (8ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-06 14:33:59 +0600 Served asset /invoices.css - 200 OK (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-06 14:33:59 +0600 Served asset /jquery.js - 200 OK (5ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-06 14:33:59 +0600 Served asset /scaffold.css - 200 OK (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-06 14:33:59 +0600 Served asset /users.css - 200 OK (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-06 14:33:59 +0600 Served asset /jquery_ujs.js - 200 OK (3ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-06 14:33:59 +0600 Served asset /users.js - 200 OK (2ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-06 14:33:59 +0600 Served asset /invoices.js - 200 OK (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-06 14:33:59 +0600 Served asset /application.js - 200 OK (4ms) Connecting to database specified by database.yml Started GET "/invoices" for 127.0.0.1 at 2013-09-06 14:34:47 +0600 Processing by InvoicesController#index as HTML Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (9.4ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_links.html.erb (0.9ms) Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.3ms) Invoice Load (0.3ms) SELECT "invoices".* FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-06 00:00:00.000000' AND "invoices"."paid" = 'f')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /home/jitu/projects/query_report/app/views/query_report/_records.html.erb (88.0ms)  (0.4ms) SELECT COUNT(*) FROM "invoices" WHERE (("invoices"."created_at" >= '2013-04-06 00:00:00.000000' AND "invoices"."created_at" <= '2013-10-06 00:00:00.000000' AND "invoices"."paid" = 'f')) Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (132.8ms) Completed 200 OK in 221ms (Views: 146.2ms | ActiveRecord: 19.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-09-06 14:34:47 +0600 Served asset /application.css - 200 OK (9ms) Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-09-06 14:34:47 +0600 Served asset /invoices.css - 200 OK (1ms) Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-09-06 14:34:47 +0600 Served asset /scaffold.css - 200 OK (1ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-09-06 14:34:47 +0600 Served asset /users.css - 200 OK (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-09-06 14:34:47 +0600 Served asset /jquery.js - 200 OK (4ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-09-06 14:34:47 +0600 Served asset /jquery_ujs.js - 200 OK (1ms) Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-09-06 14:34:47 +0600 Served asset /users.js - 200 OK (23ms) Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-09-06 14:34:47 +0600 Served asset /invoices.js - 200 OK (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-06 14:34:47 +0600 Served asset /application.js - 200 OK (4ms) Connecting to database specified by database.yml  (1.3ms) select sqlite_version(*)  (0.2ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.0ms) begin transaction SQL (23.8ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:35:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:35:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:35:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:35:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:35:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:35:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:35:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:35:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:35:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:35:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:35:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:35:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:35:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:35:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:35:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:35:17 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.0ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:35:18 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:35:18 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:35:18 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00], ["dob", Sat, 06 Sep 2003 08:35:18 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00], ["dob", Mon, 06 Sep 1993 08:35:18 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00], ["dob", Thu, 06 Sep 1979 08:35:18 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 08:35:18 UTC +00:00]]  (0.0ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" Connecting to database specified by database.yml  (3.1ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction SQL (43.8ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:11:40 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:11:40 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:11:40 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:11:40 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:11:40 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:11:40 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:11:40 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:11:40 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:11:40 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:11:40 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:11:40 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:11:40 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:11:40 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:11:40 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:11:40 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:11:40 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:11:40 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:11:40 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:11:40 UTC +00:00]]  (0.1ms) commit transaction  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:11:43 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:11:43 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:11:43 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:11:43 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:11:43 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:11:43 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:11:43 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:11:43 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:11:43 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" Connecting to database specified by database.yml  (3.3ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.3ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction SQL (44.7ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:12:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:12:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:12:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:12:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:12:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:12:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:12:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:12:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:12:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:12:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:12:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:12:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:12:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:12:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:12:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:12:17 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:12:17 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:12:17 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:12:17 UTC +00:00]]  (0.1ms) commit transaction  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:12:20 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:12:20 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:12:20 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:12:20 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:12:20 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:12:20 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:12:20 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:12:20 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:12:20 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" Connecting to database specified by database.yml  (3.3ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction SQL (43.5ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:32:37 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:32:37 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:32:37 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:32:37 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:32:37 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:32:37 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:32:37 UTC +00:00]]  (0.1ms) commit transaction  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:32:41 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:32:41 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:32:41 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:32:41 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:32:41 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:32:41 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:32:41 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:32:41 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:32:41 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:32:41 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:32:41 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:32:41 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:32:41 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:32:41 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:32:41 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:32:41 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (3.3ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction SQL (43.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 13:36:15 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 13:36:15 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:36:16 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:36:16 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:36:16 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:36:16 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:36:16 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:36:16 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:36:16 UTC +00:00]]  (0.1ms) commit transaction  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:36:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:36:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:36:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:36:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:36:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:36:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:36:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:36:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:36:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:36:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:36:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:36:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 13:36:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 13:36:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 13:36:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 13:36:19 UTC +00:00]]  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (3.3ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.3ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.7ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (42.6ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:14:44 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:14:44 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:14:44 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:14:44 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:14:44 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:14:44 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:14:44 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:14:44 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:14:44 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:14:44 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:14:44 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:14:44 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:14:44 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:14:44 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:14:44 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:14:44 UTC +00:00]]  (0.1ms) commit transaction  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:14:48 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:14:48 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:14:48 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:14:48 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:14:48 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:14:48 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 14:14:48 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1 Connecting to database specified by database.yml  (3.7ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.2ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.4ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (40.7ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:20:48 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:20:48 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:20:48 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:20:48 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:20:48 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:20:48 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:20:48 UTC +00:00]]  (0.1ms) commit transaction  (0.3ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.3ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:20:52 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:20:52 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:20:52 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:20:52 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:20:52 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:20:52 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:20:52 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:20:52 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:20:52 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:20:52 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:20:52 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:20:52 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:20:52 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:20:52 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:20:52 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 14:20:52 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1 Connecting to database specified by database.yml  (3.1ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)   (0.1ms) begin transaction SQL (43.1ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 14:28:09 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 14:28:09 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 1]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:28:10 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:28:10 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:28:10 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:28:10 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:28:10 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:28:10 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:28:10 UTC +00:00]]  (0.1ms) commit transaction  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:28:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:28:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:28:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:28:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:28:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:28:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:28:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:28:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:28:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.0ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:28:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:28:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:28:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:28:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:28:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:28:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:28:13 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (3.5ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "dummy_dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.3ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy_user_id" integer, "book_id" integer)   (0.3ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy_user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "dummy_user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "dummy_user_id" integer)  Connecting to database specified by database.yml  (3.3ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "dummy_dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy_user_id" integer, "book_id" integer)   (0.3ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy_user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "dummy_user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "dummy_user_id" integer)  Connecting to database specified by database.yml  (3.5ms) select sqlite_version(*)  (0.6ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy_user_id" integer, "book_id" integer)   (0.3ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "dummy_user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "dummy_user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "dummy_user_id" integer)  DummyUser Load (2.8ms) SELECT "dummy_users".* FROM "dummy_users"  (0.1ms) begin transaction SQL (41.5ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:54:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:54:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:54:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]  (0.1ms) commit transaction DummyUser Load (0.3ms) SELECT "dummy_users".* FROM "dummy_users" LIMIT 25 OFFSET 0 DummyUser Load (0.2ms) SELECT "dummy_users".* FROM "dummy_users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:54:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:54:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:54:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]  (0.1ms) commit transaction DummyUser Load (0.2ms) SELECT "dummy_users".* FROM "dummy_users" DummyUser Load (0.2ms) SELECT "dummy_users".* FROM "dummy_users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:54:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:54:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:54:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]  (0.0ms) commit transaction DummyUser Load (0.3ms) SELECT "dummy_users".* FROM "dummy_users" WHERE (("dummy_users"."age" = 10 AND "dummy_users"."created_at" >= '2013-04-06 00:00:00.000000' AND "dummy_users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0 DummyUser Load (0.2ms) SELECT "dummy_users".* FROM "dummy_users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 8]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "dummy_users" WHERE "dummy_users"."id" = ? [["id", 9]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Sat, 06 Sep 2003 14:54:13 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Mon, 06 Sep 1993 14:54:13 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "dummy_users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00], ["dob", Thu, 06 Sep 1979 14:54:13 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 14:54:13 UTC +00:00]]  (0.1ms) commit transaction DummyUser Load (0.3ms) SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."age" = 34 LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (1.8ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.1ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.1ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.1ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (39.7ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:12:15 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:12:15 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:12:15 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:12:15 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:12:15 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:12:15 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:12:15 UTC +00:00]]  (0.1ms) commit transaction  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:12:18 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:12:18 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:12:18 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:12:18 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:12:18 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:12:18 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:12:18 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:12:18 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:12:18 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 10]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 10 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:12:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:12:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:12:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:12:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:12:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:12:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:12:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:12:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:12:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:12:19 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:12:19 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:12:19 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:12:19 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0 Connecting to database specified by database.yml  (3.4ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (6.5ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:13:47 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:13:47 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:13:47 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:13:47 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:13:47 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:13:47 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:13:47 UTC +00:00]]  (0.1ms) commit transaction  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:13:50 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:13:50 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:13:50 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:13:50 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:13:50 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:13:50 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:13:50 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:13:50 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:13:50 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:13:51 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:13:51 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:13:51 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:13:51 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:13:51 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:13:51 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:13:51 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:13:51 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:13:51 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:13:51 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:13:51 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:13:51 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 16:13:51 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 22]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22 LIMIT 1 Connecting to database specified by database.yml  (3.5ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "gem_defined_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer)  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "dob" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))  (0.2ms) CREATE TABLE "readerships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)   (0.2ms) CREATE TABLE "authorships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "book_id" integer)  (0.3ms) CREATE TABLE "user_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "user_id" integer)  User Load (2.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (6.9ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:16:36 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:16:36 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:16:36 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]  (0.1ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:16:36 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:16:36 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:16:36 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]  (0.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:16:36 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:16:36 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:16:36 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]  (0.0ms) commit transaction User Load (0.3ms) SELECT "users".* FROM "users" WHERE (("users"."age" = 10 AND "users"."created_at" >= '2013-04-06 00:00:00.000000' AND "users"."created_at" <= '2013-10-06 00:00:00.000000')) LIMIT 25 OFFSET 0 User Load (0.2ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 7]]  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 8]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 9]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:16:36 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:16:36 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:16:36 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."age" = 34 LIMIT 25 OFFSET 0  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 30], ["created_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00], ["dob", nil], ["name", "Jitu"], ["updated_at", Fri, 06 Sep 2013 16:16:36 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "readerships" ("book_id", "user_id") VALUES (?, ?) [["book_id", nil], ["user_id", 13]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 13 LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users"  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 10]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 11]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 12]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 13]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:16:37 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:16:37 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:16:37 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00]]  (0.1ms) commit transaction User Load (0.1ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users"   (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 14]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 15]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 16]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:16:37 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:16:37 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:16:37 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:16:37 UTC +00:00]]  (0.1ms) commit transaction  (0.2ms) SELECT AVG("users"."age") AS avg_id FROM "users"  (0.1ms) SELECT AVG("users"."age") AS avg_id FROM "users"  User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users"   (0.0ms) begin transaction SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 17]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 18]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 19]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 10], ["created_at", Fri, 06 Sep 2013 16:16:40 UTC +00:00], ["dob", Sat, 06 Sep 2003 16:16:40 UTC +00:00], ["name", "User#1"], ["updated_at", Fri, 06 Sep 2013 16:16:40 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 20], ["created_at", Fri, 06 Sep 2013 16:16:40 UTC +00:00], ["dob", Mon, 06 Sep 1993 16:16:40 UTC +00:00], ["name", "User#2"], ["updated_at", Fri, 06 Sep 2013 16:16:40 UTC +00:00]]  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "users" ("age", "created_at", "dob", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["age", 34], ["created_at", Fri, 06 Sep 2013 16:16:40 UTC +00:00], ["dob", Thu, 06 Sep 1979 16:16:40 UTC +00:00], ["name", "User#3"], ["updated_at", Fri, 06 Sep 2013 16:16:40 UTC +00:00]]  (0.1ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users"