query_report 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/app/helpers/query_report_helper.rb +3 -12
- data/lib/query_report/engine.rb +7 -1
- data/lib/query_report/helper.rb +1 -1
- data/lib/query_report/version.rb +1 -1
- data/test/dummy/app/controllers/invoices_controller.rb +2 -4
- data/test/dummy/config/routes.rb +1 -2
- data/test/dummy/log/development.log +895 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_435onnqlkhcky6yip9mj +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_5a5gcp8rj2g7cjlrh11r +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_5n9tm06nu8wtqem8jd9s +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_83yh2jf8w7ouqnuqevws +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_9scoumsixeymou0wyqwf +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_9xq47956uczidwr4xqs2 +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_a4mj9799k6k4r6jruzj7 +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_azffwngwstpj3o7g7zaj +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_bsifeckwtz6lhx8rqwgz +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_c27pz5f69skbkwfrnlr5 +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_dbth1ye234719bbg3xjq +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_ech68w7azvs6whb6s88w +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_gdb6sz9j5g8pyrobpse2 +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_gnj8jwxqjl0ocjfopzmt +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_hzjksutah5t2nkoe5gye +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_ijm30kq0c4jrpb5coyiz +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_ixj6jdcp3o0pc4vzdjoo +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_l2w9vljbeofwmhmxn9lv +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_meafgmjq07s2xlkm4ney +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_mxejnh24sg011tpzlq7l +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_nlvpu6hg03b8cue75kkc +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_ns57exo8aheow6jngknj +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_pq8a5s9f7o747x14bip8 +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_pvxfsf8tdy3tk7twydyc +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_t5zt24mkmoq4kpcvvlrp +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_tesee62zyykaxw8dbmq1 +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_wbiyljqrnox89js4m0at +0 -0
- data/test/dummy/tmp/miniprofiler/mp_timers_ywg973w6dqfz9nuj5qio +0 -0
- data/test/dummy/tmp/miniprofiler/mp_views_127.0.0.1 +0 -0
- metadata +58 -83
data/README.md
CHANGED
@@ -3,9 +3,8 @@ require 'query_report/errors'
|
|
3
3
|
module QueryReportHelper
|
4
4
|
def query_report_render_filter(filter, comparator)
|
5
5
|
hint = comparator.name
|
6
|
-
|
7
|
-
|
8
|
-
value = comparator.param_value #params[filter.params_key] ? params[filter.params_key][comparator.search_key] : comparator.default
|
6
|
+
search_tag_name = comparator.search_tag_name
|
7
|
+
value = comparator.param_value
|
9
8
|
|
10
9
|
method_name = :"query_report_#{filter.type.to_s}_filter"
|
11
10
|
if main_app.respond_to? method_name
|
@@ -18,14 +17,6 @@ module QueryReportHelper
|
|
18
17
|
end
|
19
18
|
|
20
19
|
def export_report_url_with_format(format)
|
21
|
-
|
22
|
-
if url.match(/(\.\w*\?)/)
|
23
|
-
url = url.gsub(/(\?)/, ".#{format}?")
|
24
|
-
elsif url.match(/(\?)/)
|
25
|
-
url = url.gsub(/(\?)/, ".#{format}?")
|
26
|
-
else
|
27
|
-
url = "#{url}.#{format}"
|
28
|
-
end
|
29
|
-
url.gsub(/format=(\w*)/, 'format=#{format}')
|
20
|
+
url_for(params.merge(format: format))
|
30
21
|
end
|
31
22
|
end
|
data/lib/query_report/engine.rb
CHANGED
data/lib/query_report/helper.rb
CHANGED
data/lib/query_report/version.rb
CHANGED
@@ -7,12 +7,10 @@ class InvoicesController < ApplicationController
|
|
7
7
|
def index
|
8
8
|
@invoices = Invoice.scoped
|
9
9
|
|
10
|
-
reporter(@invoices
|
10
|
+
reporter(@invoices) do
|
11
11
|
filter :title, type: :text
|
12
12
|
filter :created_at, type: :date, default: [5.months.ago.to_date.to_s(:db), 1.months.from_now.to_date.to_s(:db)]
|
13
|
-
filter :paid, type: :boolean
|
14
|
-
query.where(paid: paid)
|
15
|
-
end
|
13
|
+
filter :paid, type: :boolean
|
16
14
|
|
17
15
|
column :title do |invoice|
|
18
16
|
link_to invoice.title, invoice
|
data/test/dummy/config/routes.rb
CHANGED
@@ -30611,3 +30611,898 @@ Processing by InvoicesController#index as PDF
|
|
30611
30611
|
Rendered text template (0.0ms)
|
30612
30612
|
Sent data (1.9ms)
|
30613
30613
|
Completed 200 OK in 3035ms (Views: 1.8ms | ActiveRecord: 0.8ms)
|
30614
|
+
Connecting to database specified by database.yml
|
30615
|
+
|
30616
|
+
|
30617
|
+
Started GET "/" for 127.0.0.1 at 2013-08-29 09:55:21 +0600
|
30618
|
+
Processing by InvoicesController#index as HTML
|
30619
|
+
[1m[36m (0.4ms)[0m [1mSELECT 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'))[0m
|
30620
|
+
[1m[35m (0.3ms)[0m 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'))
|
30621
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
30622
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
30623
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
30624
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
30625
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (7.4ms)
|
30626
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.1ms)
|
30627
|
+
[1m[36mInvoice Load (0.5ms)[0m [1mSELECT "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[0m
|
30628
|
+
[1m[35m (0.3ms)[0m 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'))
|
30629
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (125.2ms)
|
30630
|
+
Completed 200 OK in 450ms (Views: 211.1ms | ActiveRecord: 5.2ms)
|
30631
|
+
|
30632
|
+
|
30633
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-29 09:55:22 +0600
|
30634
|
+
Served asset /application.css - 200 OK (8ms)
|
30635
|
+
|
30636
|
+
|
30637
|
+
Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-29 09:55:22 +0600
|
30638
|
+
Served asset /invoices.css - 200 OK (2ms)
|
30639
|
+
|
30640
|
+
|
30641
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-29 09:55:22 +0600
|
30642
|
+
Served asset /scaffold.css - 200 OK (1ms)
|
30643
|
+
|
30644
|
+
|
30645
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-29 09:55:22 +0600
|
30646
|
+
Served asset /jquery.js - 200 OK (8ms)
|
30647
|
+
|
30648
|
+
|
30649
|
+
Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-29 09:55:22 +0600
|
30650
|
+
Served asset /users.css - 200 OK (5ms)
|
30651
|
+
|
30652
|
+
|
30653
|
+
Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-29 09:55:22 +0600
|
30654
|
+
Served asset /users.js - 200 OK (2ms)
|
30655
|
+
|
30656
|
+
|
30657
|
+
Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-29 09:55:22 +0600
|
30658
|
+
Served asset /invoices.js - 200 OK (2ms)
|
30659
|
+
|
30660
|
+
|
30661
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-29 09:55:22 +0600
|
30662
|
+
Served asset /jquery_ujs.js - 200 OK (3ms)
|
30663
|
+
|
30664
|
+
|
30665
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-29 09:55:22 +0600
|
30666
|
+
Served asset /application.js - 200 OK (10ms)
|
30667
|
+
|
30668
|
+
|
30669
|
+
Started GET "/" for 127.0.0.1 at 2013-08-29 09:57:45 +0600
|
30670
|
+
Processing by InvoicesController#index as HTML
|
30671
|
+
[1m[36m (0.4ms)[0m [1mSELECT 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'))[0m
|
30672
|
+
[1m[35m (0.3ms)[0m 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'))
|
30673
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
30674
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
30675
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
30676
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
30677
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.6ms)
|
30678
|
+
[1m[36mInvoice Load (1.1ms)[0m [1mSELECT "invoices".* FROM "invoices" [0m
|
30679
|
+
[1m[35mInvoice Load (1.1ms)[0m 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'))
|
30680
|
+
[1m[36mInvoice Load (0.5ms)[0m [1mSELECT "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[0m
|
30681
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (1289.3ms)
|
30682
|
+
Completed 500 Internal Server Error in 1315ms
|
30683
|
+
|
30684
|
+
ActionView::Template::Error (undefined local variable or method `path' for #<#<Class:0x007ff134736978>:0x007ff1348e1fe8>):
|
30685
|
+
1: <%= render :partial => "query_report/search", locals: {report: @report} %>
|
30686
|
+
2: <br/>
|
30687
|
+
3:
|
30688
|
+
4: <%= link_to_download_report_pdf %>
|
30689
|
+
5: <%= link_to_download_report_csv %>
|
30690
|
+
6:
|
30691
|
+
7: <% if @report.has_chart? and @report.enable_chart? and @report.chart_on_web? %>
|
30692
|
+
app/controllers/invoices_controller.rb:10:in `index'
|
30693
|
+
|
30694
|
+
|
30695
|
+
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)
|
30696
|
+
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)
|
30697
|
+
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)
|
30698
|
+
|
30699
|
+
|
30700
|
+
Started GET "/" for 127.0.0.1 at 2013-08-29 09:58:01 +0600
|
30701
|
+
Processing by InvoicesController#index as HTML
|
30702
|
+
[1m[35m (0.3ms)[0m 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'))
|
30703
|
+
[1m[36m (0.3ms)[0m [1mSELECT 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'))[0m
|
30704
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
30705
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
30706
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
30707
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
30708
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.3ms)
|
30709
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (1.3ms)
|
30710
|
+
[1m[35mInvoice Load (0.5ms)[0m 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
|
30711
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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'))[0m
|
30712
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (39.3ms)
|
30713
|
+
Completed 200 OK in 68ms (Views: 45.4ms | ActiveRecord: 2.0ms)
|
30714
|
+
|
30715
|
+
|
30716
|
+
Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-29 09:58:02 +0600
|
30717
|
+
Served asset /invoices.css - 200 OK (0ms)
|
30718
|
+
|
30719
|
+
|
30720
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-29 09:58:02 +0600
|
30721
|
+
Served asset /application.css - 200 OK (0ms)
|
30722
|
+
|
30723
|
+
|
30724
|
+
Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-29 09:58:02 +0600
|
30725
|
+
Served asset /users.css - 200 OK (0ms)
|
30726
|
+
|
30727
|
+
|
30728
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-29 09:58:02 +0600
|
30729
|
+
Served asset /jquery_ujs.js - 200 OK (0ms)
|
30730
|
+
|
30731
|
+
|
30732
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-29 09:58:02 +0600
|
30733
|
+
Served asset /scaffold.css - 200 OK (2ms)
|
30734
|
+
|
30735
|
+
|
30736
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-29 09:58:02 +0600
|
30737
|
+
Served asset /jquery.js - 200 OK (0ms)
|
30738
|
+
|
30739
|
+
|
30740
|
+
Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-29 09:58:02 +0600
|
30741
|
+
Served asset /invoices.js - 200 OK (0ms)
|
30742
|
+
|
30743
|
+
|
30744
|
+
Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-29 09:58:02 +0600
|
30745
|
+
Served asset /users.js - 200 OK (0ms)
|
30746
|
+
|
30747
|
+
|
30748
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-29 09:58:02 +0600
|
30749
|
+
Served asset /application.js - 200 OK (1ms)
|
30750
|
+
|
30751
|
+
|
30752
|
+
Started GET "/?format=" for 127.0.0.1 at 2013-08-29 09:58:05 +0600
|
30753
|
+
Processing by InvoicesController#index as
|
30754
|
+
[1m[35m (0.4ms)[0m 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'))
|
30755
|
+
[1m[36m (0.3ms)[0m [1mSELECT 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'))[0m
|
30756
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
30757
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
30758
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
30759
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
30760
|
+
Completed 406 Not Acceptable in 18ms (ActiveRecord: 0.6ms)
|
30761
|
+
|
30762
|
+
|
30763
|
+
Started GET "/" for 127.0.0.1 at 2013-08-29 09:58:30 +0600
|
30764
|
+
Processing by InvoicesController#index as HTML
|
30765
|
+
[1m[35m (0.4ms)[0m 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'))
|
30766
|
+
[1m[36m (0.3ms)[0m [1mSELECT 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'))[0m
|
30767
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
30768
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
30769
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
30770
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
30771
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.6ms)
|
30772
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (1.3ms)
|
30773
|
+
[1m[35mInvoice Load (0.4ms)[0m 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
|
30774
|
+
[1m[36m (0.3ms)[0m [1mSELECT 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'))[0m
|
30775
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (67.8ms)
|
30776
|
+
Completed 200 OK in 100ms (Views: 77.3ms | ActiveRecord: 2.2ms)
|
30777
|
+
|
30778
|
+
|
30779
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-29 09:58:30 +0600
|
30780
|
+
Served asset /application.css - 304 Not Modified (9ms)
|
30781
|
+
|
30782
|
+
|
30783
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-29 09:58:30 +0600
|
30784
|
+
Served asset /jquery.js - 304 Not Modified (3ms)
|
30785
|
+
|
30786
|
+
|
30787
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-29 09:58:30 +0600
|
30788
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
30789
|
+
|
30790
|
+
|
30791
|
+
Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-29 09:58:30 +0600
|
30792
|
+
Served asset /users.css - 304 Not Modified (0ms)
|
30793
|
+
|
30794
|
+
|
30795
|
+
Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-29 09:58:30 +0600
|
30796
|
+
Served asset /invoices.css - 304 Not Modified (0ms)
|
30797
|
+
|
30798
|
+
|
30799
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-29 09:58:30 +0600
|
30800
|
+
Served asset /scaffold.css - 304 Not Modified (0ms)
|
30801
|
+
|
30802
|
+
|
30803
|
+
Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-29 09:58:30 +0600
|
30804
|
+
Served asset /invoices.js - 304 Not Modified (0ms)
|
30805
|
+
|
30806
|
+
|
30807
|
+
Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-29 09:58:30 +0600
|
30808
|
+
Served asset /users.js - 304 Not Modified (0ms)
|
30809
|
+
|
30810
|
+
|
30811
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-29 09:58:30 +0600
|
30812
|
+
Served asset /application.js - 304 Not Modified (1ms)
|
30813
|
+
|
30814
|
+
|
30815
|
+
Started GET "/" for 127.0.0.1 at 2013-08-29 09:58:52 +0600
|
30816
|
+
Processing by InvoicesController#index as HTML
|
30817
|
+
[1m[35m (0.4ms)[0m 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'))
|
30818
|
+
[1m[36m (0.3ms)[0m [1mSELECT 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'))[0m
|
30819
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
30820
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
30821
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
30822
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
30823
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.6ms)
|
30824
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (1.3ms)
|
30825
|
+
[1m[35mInvoice Load (0.4ms)[0m 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
|
30826
|
+
[1m[36m (0.4ms)[0m [1mSELECT 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'))[0m
|
30827
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (69.0ms)
|
30828
|
+
Completed 200 OK in 143ms (Views: 118.8ms | ActiveRecord: 2.2ms)
|
30829
|
+
|
30830
|
+
|
30831
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-29 09:58:53 +0600
|
30832
|
+
Served asset /application.css - 304 Not Modified (20ms)
|
30833
|
+
|
30834
|
+
|
30835
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-29 09:58:53 +0600
|
30836
|
+
Served asset /scaffold.css - 304 Not Modified (0ms)
|
30837
|
+
|
30838
|
+
|
30839
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-29 09:58:53 +0600
|
30840
|
+
Served asset /jquery.js - 304 Not Modified (9ms)
|
30841
|
+
|
30842
|
+
|
30843
|
+
Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-29 09:58:53 +0600
|
30844
|
+
Served asset /users.css - 304 Not Modified (0ms)
|
30845
|
+
|
30846
|
+
|
30847
|
+
Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-29 09:58:53 +0600
|
30848
|
+
Served asset /invoices.css - 304 Not Modified (0ms)
|
30849
|
+
|
30850
|
+
|
30851
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-29 09:58:53 +0600
|
30852
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
30853
|
+
|
30854
|
+
|
30855
|
+
Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-29 09:58:53 +0600
|
30856
|
+
Served asset /invoices.js - 304 Not Modified (0ms)
|
30857
|
+
|
30858
|
+
|
30859
|
+
Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-29 09:58:53 +0600
|
30860
|
+
Served asset /users.js - 304 Not Modified (0ms)
|
30861
|
+
|
30862
|
+
|
30863
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-29 09:58:53 +0600
|
30864
|
+
Served asset /application.js - 304 Not Modified (2ms)
|
30865
|
+
|
30866
|
+
|
30867
|
+
Started GET "/?format=pdf" for 127.0.0.1 at 2013-08-29 09:58:56 +0600
|
30868
|
+
Processing by InvoicesController#index as PDF
|
30869
|
+
[1m[35m (0.4ms)[0m 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'))
|
30870
|
+
[1m[36m (0.3ms)[0m [1mSELECT 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'))[0m
|
30871
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
30872
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
30873
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
30874
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
30875
|
+
[1m[35mInvoice Load (1.2ms)[0m 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'))
|
30876
|
+
Rendered text template (0.0ms)
|
30877
|
+
Sent data (11.9ms)
|
30878
|
+
Completed 200 OK in 7578ms (Views: 11.7ms | ActiveRecord: 1.8ms)
|
30879
|
+
|
30880
|
+
|
30881
|
+
Started GET "/" for 127.0.0.1 at 2013-08-29 09:59:22 +0600
|
30882
|
+
Processing by InvoicesController#index as HTML
|
30883
|
+
[1m[36m (0.3ms)[0m [1mSELECT 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'))[0m
|
30884
|
+
[1m[35m (0.3ms)[0m 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'))
|
30885
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
30886
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
30887
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
30888
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
30889
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.4ms)
|
30890
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (1.2ms)
|
30891
|
+
[1m[36mInvoice Load (0.4ms)[0m [1mSELECT "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[0m
|
30892
|
+
[1m[35m (0.3ms)[0m 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'))
|
30893
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (105.9ms)
|
30894
|
+
Completed 200 OK in 134ms (Views: 115.2ms | ActiveRecord: 1.4ms)
|
30895
|
+
|
30896
|
+
|
30897
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-29 09:59:22 +0600
|
30898
|
+
Served asset /application.css - 304 Not Modified (17ms)
|
30899
|
+
|
30900
|
+
|
30901
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-29 09:59:22 +0600
|
30902
|
+
Served asset /jquery.js - 304 Not Modified (2ms)
|
30903
|
+
|
30904
|
+
|
30905
|
+
Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-29 09:59:22 +0600
|
30906
|
+
Served asset /users.css - 304 Not Modified (0ms)
|
30907
|
+
|
30908
|
+
|
30909
|
+
Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-29 09:59:22 +0600
|
30910
|
+
Served asset /invoices.css - 304 Not Modified (0ms)
|
30911
|
+
|
30912
|
+
|
30913
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-29 09:59:22 +0600
|
30914
|
+
Served asset /scaffold.css - 304 Not Modified (0ms)
|
30915
|
+
|
30916
|
+
|
30917
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-29 09:59:22 +0600
|
30918
|
+
Served asset /jquery_ujs.js - 304 Not Modified (3ms)
|
30919
|
+
|
30920
|
+
|
30921
|
+
Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-29 09:59:22 +0600
|
30922
|
+
Served asset /invoices.js - 304 Not Modified (0ms)
|
30923
|
+
|
30924
|
+
|
30925
|
+
Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-29 09:59:22 +0600
|
30926
|
+
Served asset /users.js - 304 Not Modified (0ms)
|
30927
|
+
|
30928
|
+
|
30929
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-29 09:59:22 +0600
|
30930
|
+
Served asset /application.js - 304 Not Modified (1ms)
|
30931
|
+
|
30932
|
+
|
30933
|
+
Started GET "/?format=pdf" for 127.0.0.1 at 2013-08-29 09:59:25 +0600
|
30934
|
+
Processing by InvoicesController#index as PDF
|
30935
|
+
[1m[36m (0.4ms)[0m [1mSELECT 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'))[0m
|
30936
|
+
[1m[35m (0.3ms)[0m 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'))
|
30937
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
30938
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
30939
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
30940
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
30941
|
+
[1m[36mInvoice Load (1.2ms)[0m [1mSELECT "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'))[0m
|
30942
|
+
Rendered text template (0.0ms)
|
30943
|
+
Sent data (1.1ms)
|
30944
|
+
Completed 200 OK in 7146ms (Views: 0.9ms | ActiveRecord: 1.8ms)
|
30945
|
+
Connecting to database specified by database.yml
|
30946
|
+
|
30947
|
+
|
30948
|
+
Started GET "/" for 127.0.0.1 at 2013-08-29 10:02:18 +0600
|
30949
|
+
Processing by InvoicesController#index as HTML
|
30950
|
+
[1m[36m (0.4ms)[0m [1mSELECT 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'))[0m
|
30951
|
+
[1m[35m (0.3ms)[0m 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'))
|
30952
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
30953
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
30954
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
30955
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
30956
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (7.3ms)
|
30957
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.1ms)
|
30958
|
+
[1m[36mInvoice Load (0.5ms)[0m [1mSELECT "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[0m
|
30959
|
+
[1m[35m (0.3ms)[0m 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'))
|
30960
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (124.3ms)
|
30961
|
+
Completed 200 OK in 415ms (Views: 195.7ms | ActiveRecord: 36.6ms)
|
30962
|
+
|
30963
|
+
|
30964
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-29 10:02:18 +0600
|
30965
|
+
Served asset /application.css - 200 OK (21ms)
|
30966
|
+
|
30967
|
+
|
30968
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-29 10:02:19 +0600
|
30969
|
+
Served asset /jquery_ujs.js - 200 OK (3ms)
|
30970
|
+
|
30971
|
+
|
30972
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-29 10:02:19 +0600
|
30973
|
+
Served asset /scaffold.css - 200 OK (2ms)
|
30974
|
+
|
30975
|
+
|
30976
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-29 10:02:19 +0600
|
30977
|
+
Served asset /jquery.js - 200 OK (7ms)
|
30978
|
+
|
30979
|
+
|
30980
|
+
Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-29 10:02:19 +0600
|
30981
|
+
Served asset /users.css - 200 OK (3ms)
|
30982
|
+
|
30983
|
+
|
30984
|
+
Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-29 10:02:19 +0600
|
30985
|
+
Served asset /invoices.css - 200 OK (7ms)
|
30986
|
+
|
30987
|
+
|
30988
|
+
Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-29 10:02:19 +0600
|
30989
|
+
Served asset /invoices.js - 200 OK (3ms)
|
30990
|
+
|
30991
|
+
|
30992
|
+
Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-29 10:02:19 +0600
|
30993
|
+
Served asset /users.js - 200 OK (2ms)
|
30994
|
+
|
30995
|
+
|
30996
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-29 10:02:19 +0600
|
30997
|
+
Served asset /application.js - 200 OK (10ms)
|
30998
|
+
|
30999
|
+
|
31000
|
+
Started GET "/?format=pdf" for 127.0.0.1 at 2013-08-29 10:02:22 +0600
|
31001
|
+
Processing by InvoicesController#index as PDF
|
31002
|
+
[1m[36m (0.4ms)[0m [1mSELECT 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'))[0m
|
31003
|
+
[1m[35m (0.3ms)[0m 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'))
|
31004
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31005
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31006
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31007
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31008
|
+
[1m[36mInvoice Load (1.2ms)[0m [1mSELECT "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'))[0m
|
31009
|
+
Rendered text template (0.0ms)
|
31010
|
+
Sent data (4.5ms)
|
31011
|
+
Completed 200 OK in 7910ms (Views: 4.3ms | ActiveRecord: 1.9ms)
|
31012
|
+
Connecting to database specified by database.yml
|
31013
|
+
Connecting to database specified by database.yml
|
31014
|
+
|
31015
|
+
|
31016
|
+
Started GET "/" for 127.0.0.1 at 2013-08-29 10:03:45 +0600
|
31017
|
+
Processing by InvoicesController#index as HTML
|
31018
|
+
[1m[36m (0.4ms)[0m [1mSELECT 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'))[0m
|
31019
|
+
[1m[35m (0.3ms)[0m 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'))
|
31020
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31021
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31022
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31023
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31024
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (7.2ms)
|
31025
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (2.1ms)
|
31026
|
+
[1m[36mInvoice Load (0.5ms)[0m [1mSELECT "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[0m
|
31027
|
+
[1m[35m (0.4ms)[0m 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'))
|
31028
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (126.4ms)
|
31029
|
+
Completed 200 OK in 382ms (Views: 193.4ms | ActiveRecord: 5.3ms)
|
31030
|
+
|
31031
|
+
|
31032
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-29 10:03:45 +0600
|
31033
|
+
Served asset /application.css - 304 Not Modified (14ms)
|
31034
|
+
|
31035
|
+
|
31036
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-29 10:03:45 +0600
|
31037
|
+
Served asset /scaffold.css - 304 Not Modified (2ms)
|
31038
|
+
|
31039
|
+
|
31040
|
+
Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-29 10:03:45 +0600
|
31041
|
+
Served asset /invoices.css - 304 Not Modified (2ms)
|
31042
|
+
|
31043
|
+
|
31044
|
+
Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-29 10:03:45 +0600
|
31045
|
+
Served asset /users.css - 304 Not Modified (3ms)
|
31046
|
+
|
31047
|
+
|
31048
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-29 10:03:45 +0600
|
31049
|
+
Served asset /jquery_ujs.js - 304 Not Modified (2ms)
|
31050
|
+
|
31051
|
+
|
31052
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-29 10:03:45 +0600
|
31053
|
+
Served asset /jquery.js - 304 Not Modified (5ms)
|
31054
|
+
|
31055
|
+
|
31056
|
+
Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-29 10:03:45 +0600
|
31057
|
+
Served asset /invoices.js - 304 Not Modified (2ms)
|
31058
|
+
|
31059
|
+
|
31060
|
+
Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-29 10:03:45 +0600
|
31061
|
+
Served asset /users.js - 304 Not Modified (2ms)
|
31062
|
+
|
31063
|
+
|
31064
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-29 10:03:45 +0600
|
31065
|
+
Served asset /application.js - 304 Not Modified (8ms)
|
31066
|
+
|
31067
|
+
|
31068
|
+
Started GET "/?format=pdf" for 127.0.0.1 at 2013-08-29 10:03:49 +0600
|
31069
|
+
Processing by InvoicesController#index as PDF
|
31070
|
+
[1m[36m (1.3ms)[0m [1mSELECT 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'))[0m
|
31071
|
+
[1m[35m (0.3ms)[0m 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'))
|
31072
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31073
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31074
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31075
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31076
|
+
[1m[36mInvoice Load (1.2ms)[0m [1mSELECT "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'))[0m
|
31077
|
+
Rendered text template (0.0ms)
|
31078
|
+
Sent data (4.2ms)
|
31079
|
+
Completed 200 OK in 7760ms (Views: 4.0ms | ActiveRecord: 2.8ms)
|
31080
|
+
Connecting to database specified by database.yml
|
31081
|
+
|
31082
|
+
|
31083
|
+
Started GET "/" for 127.0.0.1 at 2013-08-29 10:26:42 +0600
|
31084
|
+
Processing by InvoicesController#index as HTML
|
31085
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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'))[0m
|
31086
|
+
[1m[35m (0.1ms)[0m 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'))
|
31087
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31088
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31089
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31090
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31091
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (3.8ms)
|
31092
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (1.1ms)
|
31093
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "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[0m
|
31094
|
+
[1m[35m (0.2ms)[0m 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'))
|
31095
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (69.8ms)
|
31096
|
+
Completed 200 OK in 216ms (Views: 107.8ms | ActiveRecord: 2.7ms)
|
31097
|
+
|
31098
|
+
|
31099
|
+
Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-29 10:26:42 +0600
|
31100
|
+
Served asset /invoices.css - 304 Not Modified (3ms)
|
31101
|
+
|
31102
|
+
|
31103
|
+
Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-29 10:26:42 +0600
|
31104
|
+
Served asset /users.js - 304 Not Modified (6ms)
|
31105
|
+
|
31106
|
+
|
31107
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-29 10:26:42 +0600
|
31108
|
+
Served asset /scaffold.css - 304 Not Modified (2ms)
|
31109
|
+
|
31110
|
+
|
31111
|
+
Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-29 10:26:42 +0600
|
31112
|
+
Served asset /users.css - 304 Not Modified (2ms)
|
31113
|
+
|
31114
|
+
|
31115
|
+
Started GET "/" for 127.0.0.1 at 2013-08-29 10:26:49 +0600
|
31116
|
+
Processing by InvoicesController#index as HTML
|
31117
|
+
[1m[36m (0.4ms)[0m [1mSELECT 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'))[0m
|
31118
|
+
[1m[35m (0.3ms)[0m 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'))
|
31119
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31120
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31121
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31122
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31123
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.6ms)
|
31124
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (1.2ms)
|
31125
|
+
[1m[36mInvoice Load (0.5ms)[0m [1mSELECT "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[0m
|
31126
|
+
[1m[35m (0.3ms)[0m 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'))
|
31127
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (53.9ms)
|
31128
|
+
Completed 200 OK in 86ms (Views: 64.0ms | ActiveRecord: 1.4ms)
|
31129
|
+
|
31130
|
+
|
31131
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-29 10:26:49 +0600
|
31132
|
+
Served asset /application.css - 200 OK (24ms)
|
31133
|
+
|
31134
|
+
|
31135
|
+
Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-29 10:26:49 +0600
|
31136
|
+
Served asset /users.css - 200 OK (0ms)
|
31137
|
+
|
31138
|
+
|
31139
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-29 10:26:49 +0600
|
31140
|
+
Served asset /scaffold.css - 200 OK (0ms)
|
31141
|
+
|
31142
|
+
|
31143
|
+
Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-29 10:26:49 +0600
|
31144
|
+
Served asset /invoices.css - 200 OK (0ms)
|
31145
|
+
|
31146
|
+
|
31147
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-29 10:26:49 +0600
|
31148
|
+
Served asset /jquery.js - 200 OK (4ms)
|
31149
|
+
|
31150
|
+
|
31151
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-29 10:26:49 +0600
|
31152
|
+
Served asset /jquery_ujs.js - 200 OK (1ms)
|
31153
|
+
|
31154
|
+
|
31155
|
+
Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-29 10:26:49 +0600
|
31156
|
+
Served asset /invoices.js - 200 OK (1ms)
|
31157
|
+
|
31158
|
+
|
31159
|
+
Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-29 10:26:49 +0600
|
31160
|
+
Served asset /users.js - 200 OK (0ms)
|
31161
|
+
|
31162
|
+
|
31163
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-29 10:26:49 +0600
|
31164
|
+
Served asset /application.js - 200 OK (5ms)
|
31165
|
+
|
31166
|
+
|
31167
|
+
Started GET "/" for 127.0.0.1 at 2013-08-29 10:27:57 +0600
|
31168
|
+
Processing by InvoicesController#index as HTML
|
31169
|
+
[1m[36m (0.3ms)[0m [1mSELECT 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'))[0m
|
31170
|
+
[1m[35m (0.3ms)[0m 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'))
|
31171
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31172
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31173
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31174
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31175
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (2.6ms)
|
31176
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (1.2ms)
|
31177
|
+
[1m[36mInvoice Load (0.5ms)[0m [1mSELECT "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[0m
|
31178
|
+
[1m[35m (0.3ms)[0m 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'))
|
31179
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (99.6ms)
|
31180
|
+
Completed 200 OK in 134ms (Views: 108.6ms | ActiveRecord: 2.2ms)
|
31181
|
+
|
31182
|
+
|
31183
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-29 10:27:57 +0600
|
31184
|
+
Served asset /application.css - 200 OK (7ms)
|
31185
|
+
|
31186
|
+
|
31187
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-29 10:27:57 +0600
|
31188
|
+
Served asset /jquery_ujs.js - 200 OK (0ms)
|
31189
|
+
|
31190
|
+
|
31191
|
+
Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-29 10:27:57 +0600
|
31192
|
+
Served asset /invoices.css - 200 OK (0ms)
|
31193
|
+
|
31194
|
+
|
31195
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-29 10:27:57 +0600
|
31196
|
+
Served asset /jquery.js - 200 OK (0ms)
|
31197
|
+
|
31198
|
+
|
31199
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-29 10:27:57 +0600
|
31200
|
+
Served asset /scaffold.css - 200 OK (0ms)
|
31201
|
+
|
31202
|
+
|
31203
|
+
Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-29 10:27:57 +0600
|
31204
|
+
Served asset /users.css - 200 OK (0ms)
|
31205
|
+
|
31206
|
+
|
31207
|
+
Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-29 10:27:57 +0600
|
31208
|
+
Served asset /invoices.js - 200 OK (0ms)
|
31209
|
+
|
31210
|
+
|
31211
|
+
Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-29 10:27:57 +0600
|
31212
|
+
Served asset /users.js - 200 OK (0ms)
|
31213
|
+
|
31214
|
+
|
31215
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-29 10:27:57 +0600
|
31216
|
+
Served asset /application.js - 200 OK (1ms)
|
31217
|
+
|
31218
|
+
|
31219
|
+
Started GET "/" for 127.0.0.1 at 2013-08-29 10:34:25 +0600
|
31220
|
+
Processing by InvoicesController#index as HTML
|
31221
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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'))[0m
|
31222
|
+
[1m[35m (0.1ms)[0m 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'))
|
31223
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31224
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31225
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31226
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31227
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms)
|
31228
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms)
|
31229
|
+
[1m[36mInvoice Load (0.2ms)[0m [1mSELECT "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[0m
|
31230
|
+
[1m[35m (0.1ms)[0m 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'))
|
31231
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (40.8ms)
|
31232
|
+
Completed 200 OK in 53ms (Views: 44.4ms | ActiveRecord: 0.5ms)
|
31233
|
+
Connecting to database specified by database.yml
|
31234
|
+
|
31235
|
+
|
31236
|
+
Started GET "/" for 127.0.0.1 at 2013-08-29 11:01:58 +0600
|
31237
|
+
Processing by InvoicesController#index as HTML
|
31238
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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'))[0m
|
31239
|
+
[1m[35m (0.1ms)[0m 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'))
|
31240
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31241
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31242
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31243
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31244
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (3.0ms)
|
31245
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.8ms)
|
31246
|
+
[1m[36mInvoice Load (0.3ms)[0m [1mSELECT "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[0m
|
31247
|
+
[1m[35m (0.2ms)[0m 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'))
|
31248
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (54.8ms)
|
31249
|
+
Completed 200 OK in 159ms (Views: 68.8ms | ActiveRecord: 2.2ms)
|
31250
|
+
|
31251
|
+
|
31252
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-29 11:01:59 +0600
|
31253
|
+
Served asset /application.css - 200 OK (6ms)
|
31254
|
+
|
31255
|
+
|
31256
|
+
Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-29 11:01:59 +0600
|
31257
|
+
Served asset /invoices.css - 200 OK (1ms)
|
31258
|
+
|
31259
|
+
|
31260
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-29 11:01:59 +0600
|
31261
|
+
Served asset /jquery.js - 200 OK (5ms)
|
31262
|
+
|
31263
|
+
|
31264
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-29 11:01:59 +0600
|
31265
|
+
Served asset /scaffold.css - 200 OK (1ms)
|
31266
|
+
|
31267
|
+
|
31268
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-29 11:01:59 +0600
|
31269
|
+
Served asset /jquery_ujs.js - 200 OK (3ms)
|
31270
|
+
|
31271
|
+
|
31272
|
+
Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-29 11:01:59 +0600
|
31273
|
+
Served asset /users.css - 200 OK (1ms)
|
31274
|
+
|
31275
|
+
|
31276
|
+
Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-29 11:01:59 +0600
|
31277
|
+
Served asset /users.js - 200 OK (0ms)
|
31278
|
+
|
31279
|
+
|
31280
|
+
Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-29 11:01:59 +0600
|
31281
|
+
Served asset /invoices.js - 200 OK (0ms)
|
31282
|
+
|
31283
|
+
|
31284
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-29 11:01:59 +0600
|
31285
|
+
Served asset /application.js - 200 OK (5ms)
|
31286
|
+
|
31287
|
+
|
31288
|
+
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
|
31289
|
+
Processing by InvoicesController#index as HTML
|
31290
|
+
Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-29", "created_at_lteq"=>"2013-09-29", "paid_eq"=>""}, "commit"=>"Search"}
|
31291
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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'))[0m
|
31292
|
+
[1m[35m (0.1ms)[0m 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'))
|
31293
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31294
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31295
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31296
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31297
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms)
|
31298
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms)
|
31299
|
+
[1m[36mInvoice Load (0.2ms)[0m [1mSELECT "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[0m
|
31300
|
+
[1m[35m (0.1ms)[0m 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'))
|
31301
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (21.3ms)
|
31302
|
+
Completed 200 OK in 55ms (Views: 25.1ms | ActiveRecord: 0.6ms)
|
31303
|
+
|
31304
|
+
|
31305
|
+
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
|
31306
|
+
Processing by InvoicesController#index as HTML
|
31307
|
+
Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-29", "created_at_lteq"=>"2013-09-29", "paid_eq"=>""}, "commit"=>"Search"}
|
31308
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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'))[0m
|
31309
|
+
[1m[35m (0.1ms)[0m 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'))
|
31310
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31311
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31312
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31313
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31314
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.2ms)
|
31315
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms)
|
31316
|
+
[1m[36mInvoice Load (0.2ms)[0m [1mSELECT "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[0m
|
31317
|
+
[1m[35m (0.2ms)[0m 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'))
|
31318
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (48.3ms)
|
31319
|
+
Completed 200 OK in 63ms (Views: 51.9ms | ActiveRecord: 1.0ms)
|
31320
|
+
|
31321
|
+
|
31322
|
+
Started GET "/" for 127.0.0.1 at 2013-08-29 11:04:15 +0600
|
31323
|
+
Processing by InvoicesController#index as HTML
|
31324
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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'))[0m
|
31325
|
+
[1m[35m (0.1ms)[0m 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'))
|
31326
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31327
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31328
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31329
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31330
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms)
|
31331
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms)
|
31332
|
+
[1m[36mInvoice Load (0.2ms)[0m [1mSELECT "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[0m
|
31333
|
+
[1m[35m (0.2ms)[0m 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'))
|
31334
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (20.5ms)
|
31335
|
+
Completed 200 OK in 33ms (Views: 24.0ms | ActiveRecord: 0.7ms)
|
31336
|
+
Connecting to database specified by database.yml
|
31337
|
+
|
31338
|
+
|
31339
|
+
Started GET "/" for 127.0.0.1 at 2013-08-29 11:04:38 +0600
|
31340
|
+
Processing by InvoicesController#index as HTML
|
31341
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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'))[0m
|
31342
|
+
[1m[35m (0.1ms)[0m 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'))
|
31343
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31344
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31345
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31346
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31347
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (3.0ms)
|
31348
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.9ms)
|
31349
|
+
[1m[36mInvoice Load (0.2ms)[0m [1mSELECT "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[0m
|
31350
|
+
[1m[35m (0.2ms)[0m 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'))
|
31351
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (54.2ms)
|
31352
|
+
Completed 200 OK in 158ms (Views: 68.2ms | ActiveRecord: 2.1ms)
|
31353
|
+
|
31354
|
+
|
31355
|
+
Started GET "/" for 127.0.0.1 at 2013-08-29 11:06:51 +0600
|
31356
|
+
Processing by InvoicesController#index as HTML
|
31357
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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'))[0m
|
31358
|
+
[1m[35m (0.1ms)[0m 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'))
|
31359
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31360
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31361
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31362
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31363
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms)
|
31364
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms)
|
31365
|
+
[1m[36mInvoice Load (0.2ms)[0m [1mSELECT "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[0m
|
31366
|
+
[1m[35m (0.2ms)[0m 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'))
|
31367
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (45.4ms)
|
31368
|
+
Completed 200 OK in 58ms (Views: 49.0ms | ActiveRecord: 0.9ms)
|
31369
|
+
|
31370
|
+
|
31371
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-29 11:06:51 +0600
|
31372
|
+
Served asset /application.css - 200 OK (8ms)
|
31373
|
+
|
31374
|
+
|
31375
|
+
Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-29 11:06:51 +0600
|
31376
|
+
Served asset /users.css - 200 OK (1ms)
|
31377
|
+
|
31378
|
+
|
31379
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-29 11:06:51 +0600
|
31380
|
+
Served asset /jquery.js - 200 OK (4ms)
|
31381
|
+
|
31382
|
+
|
31383
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-29 11:06:51 +0600
|
31384
|
+
Served asset /scaffold.css - 200 OK (1ms)
|
31385
|
+
|
31386
|
+
|
31387
|
+
Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-29 11:06:51 +0600
|
31388
|
+
Served asset /invoices.css - 200 OK (1ms)
|
31389
|
+
|
31390
|
+
|
31391
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-29 11:06:51 +0600
|
31392
|
+
Served asset /jquery_ujs.js - 200 OK (1ms)
|
31393
|
+
|
31394
|
+
|
31395
|
+
Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-29 11:06:51 +0600
|
31396
|
+
Served asset /invoices.js - 200 OK (1ms)
|
31397
|
+
|
31398
|
+
|
31399
|
+
Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-29 11:06:51 +0600
|
31400
|
+
Served asset /users.js - 200 OK (1ms)
|
31401
|
+
|
31402
|
+
|
31403
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-29 11:06:51 +0600
|
31404
|
+
Served asset /application.js - 200 OK (6ms)
|
31405
|
+
|
31406
|
+
|
31407
|
+
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
|
31408
|
+
Processing by InvoicesController#index as HTML
|
31409
|
+
Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-29", "created_at_lteq"=>"2013-09-29", "paid_eq"=>"true"}, "commit"=>"Search"}
|
31410
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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'))[0m
|
31411
|
+
[1m[35m (0.1ms)[0m 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'))
|
31412
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31413
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31414
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31415
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31416
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms)
|
31417
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms)
|
31418
|
+
[1m[36mInvoice Load (0.2ms)[0m [1mSELECT "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[0m
|
31419
|
+
[1m[35m (0.1ms)[0m 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'))
|
31420
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (10.8ms)
|
31421
|
+
Completed 200 OK in 46ms (Views: 14.7ms | ActiveRecord: 0.6ms)
|
31422
|
+
Connecting to database specified by database.yml
|
31423
|
+
|
31424
|
+
|
31425
|
+
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
|
31426
|
+
Processing by InvoicesController#index as HTML
|
31427
|
+
Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-29", "created_at_lteq"=>"2013-09-29", "paid_eq"=>"true"}, "commit"=>"Search"}
|
31428
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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'))[0m
|
31429
|
+
[1m[35m (0.1ms)[0m 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'))
|
31430
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31431
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31432
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31433
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31434
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (3.1ms)
|
31435
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.9ms)
|
31436
|
+
[1m[36mInvoice Load (0.2ms)[0m [1mSELECT "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[0m
|
31437
|
+
[1m[35m (0.2ms)[0m 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'))
|
31438
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (45.0ms)
|
31439
|
+
Completed 200 OK in 155ms (Views: 59.6ms | ActiveRecord: 2.3ms)
|
31440
|
+
|
31441
|
+
|
31442
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-08-29 11:07:08 +0600
|
31443
|
+
Served asset /application.css - 200 OK (31ms)
|
31444
|
+
|
31445
|
+
|
31446
|
+
Started GET "/assets/invoices.css?body=1" for 127.0.0.1 at 2013-08-29 11:07:08 +0600
|
31447
|
+
Served asset /invoices.css - 200 OK (1ms)
|
31448
|
+
|
31449
|
+
|
31450
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-08-29 11:07:08 +0600
|
31451
|
+
Served asset /jquery_ujs.js - 200 OK (2ms)
|
31452
|
+
|
31453
|
+
|
31454
|
+
Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-08-29 11:07:08 +0600
|
31455
|
+
Served asset /users.css - 200 OK (1ms)
|
31456
|
+
|
31457
|
+
|
31458
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-08-29 11:07:08 +0600
|
31459
|
+
Served asset /scaffold.css - 200 OK (2ms)
|
31460
|
+
|
31461
|
+
|
31462
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-08-29 11:07:08 +0600
|
31463
|
+
Served asset /jquery.js - 200 OK (1ms)
|
31464
|
+
|
31465
|
+
|
31466
|
+
Started GET "/assets/invoices.js?body=1" for 127.0.0.1 at 2013-08-29 11:07:08 +0600
|
31467
|
+
Served asset /invoices.js - 200 OK (1ms)
|
31468
|
+
|
31469
|
+
|
31470
|
+
Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-08-29 11:07:08 +0600
|
31471
|
+
Served asset /users.js - 200 OK (1ms)
|
31472
|
+
|
31473
|
+
|
31474
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-08-29 11:07:08 +0600
|
31475
|
+
Served asset /application.js - 200 OK (5ms)
|
31476
|
+
|
31477
|
+
|
31478
|
+
Started GET "/" for 127.0.0.1 at 2013-08-29 11:07:59 +0600
|
31479
|
+
Processing by InvoicesController#index as HTML
|
31480
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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'))[0m
|
31481
|
+
[1m[35m (0.1ms)[0m 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'))
|
31482
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31483
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31484
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31485
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31486
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.0ms)
|
31487
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms)
|
31488
|
+
[1m[36mInvoice Load (0.2ms)[0m [1mSELECT "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[0m
|
31489
|
+
[1m[35m (0.2ms)[0m 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'))
|
31490
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (28.0ms)
|
31491
|
+
Completed 200 OK in 41ms (Views: 31.8ms | ActiveRecord: 0.8ms)
|
31492
|
+
|
31493
|
+
|
31494
|
+
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
|
31495
|
+
Processing by InvoicesController#index as HTML
|
31496
|
+
Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "created_at_gteq"=>"2013-03-29", "created_at_lteq"=>"2013-09-29", "paid_eq"=>""}, "commit"=>"Search"}
|
31497
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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'))[0m
|
31498
|
+
[1m[35m (0.1ms)[0m 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'))
|
31499
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31500
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31501
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT 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'))[0m
|
31502
|
+
[1m[35mCACHE (0.0ms)[0m 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'))
|
31503
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_search.html.erb (1.1ms)
|
31504
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/_charts.html.erb (0.5ms)
|
31505
|
+
[1m[36mInvoice Load (0.2ms)[0m [1mSELECT "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[0m
|
31506
|
+
[1m[35m (0.1ms)[0m 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'))
|
31507
|
+
Rendered /home/jitu/projects/query_report/app/views/query_report/list.html.erb within layouts/application (46.6ms)
|
31508
|
+
Completed 200 OK in 61ms (Views: 50.4ms | ActiveRecord: 0.6ms)
|