jqmobile_helpers 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +34 -0
- data/lib/jqmobile_helpers/list_views_helper.rb +124 -51
- data/lib/jqmobile_helpers/toolbars_helper.rb +31 -7
- data/rdoc/JqmobileHelpers/ToolbarsHelper.html +79 -51
- data/rdoc/created.rid +2 -0
- data/rdoc/lib/jqmobile_helpers/buttons_helper_rb.html +1 -0
- data/rdoc/lib/jqmobile_helpers/list_views_helper_rb.html +2 -0
- data/rdoc/lib/jqmobile_helpers/railtie_rb.html +2 -0
- data/rdoc/lib/jqmobile_helpers/toolbars_helper_rb.html +2 -0
- data/rdoc/lib/jqmobile_helpers_rb.html +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +4 -1
- data/test/dummy/app/views/posts/index.html.erb +11 -4
- data/test/dummy/app/views/toolbars/index.html.erb +2 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +432 -0
- data/test/dummy/log/test.log +10 -0
- data/test/dummy/public/javascripts/jquery.mobile-1.0a3.min.js +64 -63
- data/test/list_views_helper_test.rb +6 -1
- data/test/toolbars_helper_test.rb +6 -2
- metadata +2 -3
- data/test/dummy/tmp/pids/server.pid +0 -1
data/rdoc/created.rid
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
|
1
2
|
Thu, 03 Mar 2011 16:08:14 +0800
|
2
3
|
README.rdoc Tue, 01 Mar 2011 18:35:37 +0800
|
3
4
|
lib/jqmobile_helpers/action_view_extensions/form_helper.rb Thu, 03 Mar 2011 16:06:59 +0800
|
@@ -7,3 +8,4 @@ lib/jqmobile_helpers/list_views_helper.rb Wed, 02 Mar 2011 16:17:59 +0800
|
|
7
8
|
lib/jqmobile_helpers/railtie.rb Thu, 03 Mar 2011 14:21:59 +0800
|
8
9
|
lib/jqmobile_helpers/toolbars_helper.rb Mon, 28 Feb 2011 10:31:52 +0800
|
9
10
|
lib/jqmobile_helpers.rb Tue, 01 Mar 2011 18:18:03 +0800
|
11
|
+
|
@@ -18,7 +18,7 @@
|
|
18
18
|
<div data-role="page">
|
19
19
|
|
20
20
|
<!-- header part -->
|
21
|
-
<div data-role="header" data-position="
|
21
|
+
<div data-role="header" data-position="inline" data-backbtn="true">
|
22
22
|
|
23
23
|
<%= header_toolbar_title('EW CORE') %>
|
24
24
|
<%= header_toolbar_link('Toolbar',toolbars_path, {'data-icon'=>"gear", 'data-iconpos' => 'notext', 'data-theme' => 'c'}) %>
|
@@ -37,6 +37,9 @@
|
|
37
37
|
<!-- end header part -->
|
38
38
|
|
39
39
|
<div data-role="content">
|
40
|
+
<% page = request.fullpath %>
|
41
|
+
<% page_url = page.split(/[0-9]/)[0].gsub('/',"") %>
|
42
|
+
<p>testing</p><%= page_url %>
|
40
43
|
<%= yield %>
|
41
44
|
</div>
|
42
45
|
|
@@ -91,16 +91,23 @@
|
|
91
91
|
|
92
92
|
|
93
93
|
<h2>List Formatting</h2>
|
94
|
+
<br/>
|
95
|
+
<%= list_formatting(@posts.group_by{|s| s.created_at.strftime("%A, %B %d, %Y")}.sort, 'name', 'title', 'content') %>
|
96
|
+
<br />
|
97
|
+
<br />
|
98
|
+
|
99
|
+
<h2>List Divider</h2>
|
94
100
|
|
101
|
+
<%= list_divider(@posts.group_by{|x| x.title[0]}.sort, "title")%>
|
95
102
|
|
96
|
-
<%= list_formatting @posts.map{|x| x.title} %>
|
97
103
|
|
104
|
+
<h2>Search Filter List With Divider</h2>
|
98
105
|
|
99
|
-
|
106
|
+
<%= search_filter_list_with_divider(@posts.group_by{|x| x.title[0]}.sort, "title") %>
|
107
|
+
|
108
|
+
|
100
109
|
|
101
|
-
<h2>List Divider</h2>
|
102
110
|
|
103
|
-
<%= list_divider @posts.map{|x| x.title[0]}.sort, @posts.map{|c| c.title} %>
|
104
111
|
|
105
112
|
<br /><br />
|
106
113
|
|
Binary file
|
@@ -7444,3 +7444,435 @@ Started GET "/forms/new" for 127.0.0.1 at 2011-03-04 11:19:27 +0800
|
|
7444
7444
|
Rendered forms/_form.html.erb (14.6ms)
|
7445
7445
|
Rendered forms/new.html.erb within layouts/application (24.1ms)
|
7446
7446
|
Completed 200 OK in 52ms (Views: 32.8ms | ActiveRecord: 0.0ms)
|
7447
|
+
|
7448
|
+
|
7449
|
+
Started GET "/" for 127.0.0.1 at 2011-03-05 00:56:37 +0800
|
7450
|
+
Processing by PostsController#index as HTML
|
7451
|
+
[1m[36mPost Load (1.3ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
7452
|
+
Rendered posts/index.html.erb within layouts/application (70.9ms)
|
7453
|
+
Completed in 185ms
|
7454
|
+
|
7455
|
+
ActionView::Template::Error (comparison of String with nil failed):
|
7456
|
+
100:
|
7457
|
+
101: <h2>List Divider</h2>
|
7458
|
+
102:
|
7459
|
+
103: <%= list_divider @posts.map{|x| x.title[0]}.sort, @posts.map{|c| c.title} %>
|
7460
|
+
104:
|
7461
|
+
105: <br /><br />
|
7462
|
+
106:
|
7463
|
+
app/views/posts/index.html.erb:103:in `sort'
|
7464
|
+
app/views/posts/index.html.erb:103:in `_app_views_posts_index_html_erb__2454080728623131250_2155657980__1638141762583889141'
|
7465
|
+
app/controllers/posts_controller.rb:7:in `index'
|
7466
|
+
|
7467
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.4ms)
|
7468
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (7.3ms)
|
7469
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (22.5ms)
|
7470
|
+
|
7471
|
+
|
7472
|
+
Started GET "/forms" for 127.0.0.1 at 2011-03-05 00:58:08 +0800
|
7473
|
+
Processing by FormsController#index as HTML
|
7474
|
+
[1m[35mPost Load (0.4ms)[0m SELECT "posts".* FROM "posts"
|
7475
|
+
Rendered forms/index.html.erb within layouts/application (20.8ms)
|
7476
|
+
Completed 200 OK in 41ms (Views: 28.4ms | ActiveRecord: 0.4ms)
|
7477
|
+
|
7478
|
+
|
7479
|
+
Started GET "/" for 127.0.0.1 at 2011-03-05 00:58:12 +0800
|
7480
|
+
Processing by PostsController#index as */*
|
7481
|
+
[1m[36mPost Load (0.6ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
7482
|
+
Rendered posts/index.html.erb within layouts/application (85.0ms)
|
7483
|
+
Completed in 108ms
|
7484
|
+
|
7485
|
+
ActionView::Template::Error (comparison of String with nil failed):
|
7486
|
+
100:
|
7487
|
+
101: <h2>List Divider</h2>
|
7488
|
+
102:
|
7489
|
+
103: <%= list_divider @posts.map{|x| x.title[0]}.sort, @posts.map{|c| c.title} %>
|
7490
|
+
104:
|
7491
|
+
105: <br /><br />
|
7492
|
+
106:
|
7493
|
+
app/views/posts/index.html.erb:103:in `sort'
|
7494
|
+
app/views/posts/index.html.erb:103:in `_app_views_posts_index_html_erb__2454080728623131250_2155304040__1638141762583889141'
|
7495
|
+
app/controllers/posts_controller.rb:7:in `index'
|
7496
|
+
|
7497
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.3ms)
|
7498
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (7.3ms)
|
7499
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (16.1ms)
|
7500
|
+
|
7501
|
+
|
7502
|
+
Started GET "/forms" for 127.0.0.1 at 2011-03-05 01:00:00 +0800
|
7503
|
+
Processing by FormsController#index as HTML
|
7504
|
+
[1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts"
|
7505
|
+
Rendered forms/index.html.erb within layouts/application (19.8ms)
|
7506
|
+
Completed 200 OK in 38ms (Views: 26.1ms | ActiveRecord: 0.6ms)
|
7507
|
+
|
7508
|
+
|
7509
|
+
Started GET "/" for 127.0.0.1 at 2011-03-05 01:00:02 +0800
|
7510
|
+
Processing by PostsController#index as */*
|
7511
|
+
[1m[36mPost Load (0.6ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
7512
|
+
Rendered posts/index.html.erb within layouts/application (51.7ms)
|
7513
|
+
Completed 200 OK in 75ms (Views: 58.0ms | ActiveRecord: 0.6ms)
|
7514
|
+
|
7515
|
+
|
7516
|
+
Started GET "/forms" for 127.0.0.1 at 2011-03-05 01:00:28 +0800
|
7517
|
+
Processing by FormsController#index as HTML
|
7518
|
+
[1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts"
|
7519
|
+
Rendered forms/index.html.erb within layouts/application (19.7ms)
|
7520
|
+
Completed 200 OK in 38ms (Views: 25.9ms | ActiveRecord: 0.6ms)
|
7521
|
+
|
7522
|
+
|
7523
|
+
Started GET "/" for 127.0.0.1 at 2011-03-05 01:00:29 +0800
|
7524
|
+
Processing by PostsController#index as */*
|
7525
|
+
[1m[36mPost Load (0.6ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
7526
|
+
Rendered posts/index.html.erb within layouts/application (50.3ms)
|
7527
|
+
Completed 200 OK in 70ms (Views: 56.6ms | ActiveRecord: 0.6ms)
|
7528
|
+
|
7529
|
+
|
7530
|
+
Started GET "/forms" for 127.0.0.1 at 2011-03-05 01:06:50 +0800
|
7531
|
+
Processing by FormsController#index as HTML
|
7532
|
+
[1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts"
|
7533
|
+
Rendered forms/index.html.erb within layouts/application (66.6ms)
|
7534
|
+
Completed 200 OK in 85ms (Views: 72.9ms | ActiveRecord: 0.6ms)
|
7535
|
+
|
7536
|
+
|
7537
|
+
Started GET "/" for 127.0.0.1 at 2011-03-05 01:06:50 +0800
|
7538
|
+
Processing by PostsController#index as */*
|
7539
|
+
[1m[36mPost Load (0.6ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
7540
|
+
Rendered posts/index.html.erb within layouts/application (49.1ms)
|
7541
|
+
Completed 200 OK in 68ms (Views: 55.4ms | ActiveRecord: 0.6ms)
|
7542
|
+
|
7543
|
+
|
7544
|
+
Started GET "/lists" for 127.0.0.1 at 2011-03-05 01:06:55 +0800
|
7545
|
+
|
7546
|
+
ActionController::RoutingError (No route matches "/lists"):
|
7547
|
+
|
7548
|
+
|
7549
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.0ms)
|
7550
|
+
|
7551
|
+
|
7552
|
+
Started GET "/posts" for 127.0.0.1 at 2011-03-05 01:06:59 +0800
|
7553
|
+
Processing by PostsController#index as HTML
|
7554
|
+
[1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts"
|
7555
|
+
Rendered posts/index.html.erb within layouts/application (94.7ms)
|
7556
|
+
Completed 200 OK in 114ms (Views: 101.0ms | ActiveRecord: 0.6ms)
|
7557
|
+
|
7558
|
+
|
7559
|
+
Started GET "/" for 127.0.0.1 at 2011-03-11 11:26:09 +0800
|
7560
|
+
Processing by PostsController#index as HTML
|
7561
|
+
[1m[36mPost Load (28.9ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
7562
|
+
Rendered posts/index.html.erb within layouts/application (146.7ms)
|
7563
|
+
Completed in 434ms
|
7564
|
+
|
7565
|
+
ActionView::Template::Error (comparison of Array with Array failed):
|
7566
|
+
98:
|
7567
|
+
99: <h2>List Divider</h2>
|
7568
|
+
100:
|
7569
|
+
101: <%= list_divider(@posts.group_by{|x| x.title[0]}.sort, "title")%>
|
7570
|
+
102:
|
7571
|
+
103:
|
7572
|
+
104:
|
7573
|
+
app/views/posts/index.html.erb:101:in `sort'
|
7574
|
+
app/views/posts/index.html.erb:101:in `_app_views_posts_index_html_erb___1186828294494908867_2181187520__2354046446174287550'
|
7575
|
+
app/controllers/posts_controller.rb:7:in `index'
|
7576
|
+
|
7577
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.6ms)
|
7578
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (8.0ms)
|
7579
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (41.6ms)
|
7580
|
+
|
7581
|
+
|
7582
|
+
Started GET "/" for 127.0.0.1 at 2011-03-11 11:26:31 +0800
|
7583
|
+
Processing by PostsController#index as HTML
|
7584
|
+
[1m[35mPost Load (0.4ms)[0m SELECT "posts".* FROM "posts"
|
7585
|
+
Rendered posts/index.html.erb within layouts/application (83.5ms)
|
7586
|
+
Completed in 102ms
|
7587
|
+
|
7588
|
+
ActionView::Template::Error (comparison of Array with Array failed):
|
7589
|
+
98:
|
7590
|
+
99: <h2>List Divider</h2>
|
7591
|
+
100:
|
7592
|
+
101: <%= list_divider(@posts.group_by{|x| x.title[0]}.sort, "title")%>
|
7593
|
+
102:
|
7594
|
+
103:
|
7595
|
+
104:
|
7596
|
+
app/views/posts/index.html.erb:101:in `sort'
|
7597
|
+
app/views/posts/index.html.erb:101:in `_app_views_posts_index_html_erb___1186828294494908867_2155242980__2354046446174287550'
|
7598
|
+
app/controllers/posts_controller.rb:7:in `index'
|
7599
|
+
|
7600
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.3ms)
|
7601
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (6.9ms)
|
7602
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (15.8ms)
|
7603
|
+
|
7604
|
+
|
7605
|
+
Started GET "/" for 127.0.0.1 at 2011-03-11 11:27:31 +0800
|
7606
|
+
Processing by PostsController#index as HTML
|
7607
|
+
[1m[36mPost Load (0.7ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
7608
|
+
Rendered posts/index.html.erb within layouts/application (74.1ms)
|
7609
|
+
Completed in 216ms
|
7610
|
+
|
7611
|
+
ActionView::Template::Error (comparison of Array with Array failed):
|
7612
|
+
98:
|
7613
|
+
99: <h2>List Divider</h2>
|
7614
|
+
100:
|
7615
|
+
101: <%= list_divider(@posts.group_by{|x| x.title[0]}.sort, "title")%>
|
7616
|
+
102:
|
7617
|
+
103:
|
7618
|
+
104:
|
7619
|
+
app/views/posts/index.html.erb:101:in `sort'
|
7620
|
+
app/views/posts/index.html.erb:101:in `_app_views_posts_index_html_erb___3291004104927378697_2178033380__4285127849630113466'
|
7621
|
+
app/controllers/posts_controller.rb:7:in `index'
|
7622
|
+
|
7623
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms)
|
7624
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (7.5ms)
|
7625
|
+
Rendered /Users/fadhlirahim/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (17.0ms)
|
7626
|
+
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
7627
|
+
FROM sqlite_master
|
7628
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
7629
|
+
[0m
|
7630
|
+
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
7631
|
+
[1m[36mSQL (45.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
7632
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("schema_migrations")
|
7633
|
+
[1m[36mSQL (2.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
7634
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
7635
|
+
FROM sqlite_master
|
7636
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
7637
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
7638
|
+
FROM sqlite_master
|
7639
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
7640
|
+
[0m
|
7641
|
+
[1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
7642
|
+
Migrating to CreatePosts (20110218095442)
|
7643
|
+
[1m[36mSQL (0.6ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "title" varchar(255), "content" text, "created_at" datetime, "updated_at" datetime) [0m
|
7644
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110218095442')
|
7645
|
+
Migrating to CreateToolbars (20110223031713)
|
7646
|
+
[1m[36mSQL (0.5ms)[0m [1mCREATE TABLE "toolbars" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
7647
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110223031713')
|
7648
|
+
[1m[36mSQL (0.3ms)[0m [1m SELECT name
|
7649
|
+
FROM sqlite_master
|
7650
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
7651
|
+
[0m
|
7652
|
+
[1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
7653
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
7654
|
+
FROM sqlite_master
|
7655
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
7656
|
+
[0m
|
7657
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("posts")
|
7658
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("toolbars")[0m
|
7659
|
+
|
7660
|
+
|
7661
|
+
Started GET "/" for 127.0.0.1 at 2011-03-11 11:30:13 +0800
|
7662
|
+
Processing by PostsController#index as HTML
|
7663
|
+
[1m[36mPost Load (0.5ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
7664
|
+
Rendered posts/index.html.erb within layouts/application (10.5ms)
|
7665
|
+
Completed 200 OK in 151ms (Views: 16.9ms | ActiveRecord: 0.5ms)
|
7666
|
+
|
7667
|
+
|
7668
|
+
Started GET "/posts/new" for 127.0.0.1 at 2011-03-11 11:30:21 +0800
|
7669
|
+
Processing by PostsController#new as HTML
|
7670
|
+
Rendered posts/_form.html.erb (136.5ms)
|
7671
|
+
Rendered posts/new.html.erb within layouts/application (163.9ms)
|
7672
|
+
Completed 200 OK in 187ms (Views: 170.7ms | ActiveRecord: 0.0ms)
|
7673
|
+
|
7674
|
+
|
7675
|
+
Started POST "/posts" for 127.0.0.1 at 2011-03-11 11:30:33 +0800
|
7676
|
+
Processing by PostsController#create as HTML
|
7677
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"FEF5GyQwaUNd8hIjn2KBl5M6il2qcUPk9uprWjnDjqQ=", "post"=>{"name"=>"Post", "title"=>"MMMMM", "content"=>"MMMMM"}, "commit"=>"Create Post"}
|
7678
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
7679
|
+
FROM sqlite_master
|
7680
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
7681
|
+
[1m[36mAREL (0.5ms)[0m [1mINSERT INTO "posts" ("name", "title", "content", "created_at", "updated_at") VALUES ('Post', 'MMMMM', 'MMMMM', '2011-03-11 03:30:34.014802', '2011-03-11 03:30:34.014802')[0m
|
7682
|
+
Redirected to http://localhost:3000/posts/1
|
7683
|
+
Completed 302 Found in 103ms
|
7684
|
+
|
7685
|
+
|
7686
|
+
Started GET "/posts/1" for 127.0.0.1 at 2011-03-11 11:30:34 +0800
|
7687
|
+
Processing by PostsController#show as HTML
|
7688
|
+
Parameters: {"id"=>"1"}
|
7689
|
+
[1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 1) LIMIT 1
|
7690
|
+
Rendered posts/show.html.erb within layouts/application (20.0ms)
|
7691
|
+
Completed 200 OK in 60ms (Views: 42.3ms | ActiveRecord: 1.0ms)
|
7692
|
+
|
7693
|
+
|
7694
|
+
Started GET "/posts/1" for 127.0.0.1 at 2011-03-11 11:30:36 +0800
|
7695
|
+
Processing by PostsController#show as HTML
|
7696
|
+
Parameters: {"id"=>"1"}
|
7697
|
+
[1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE ("posts"."id" = 1) LIMIT 1[0m
|
7698
|
+
Rendered posts/show.html.erb within layouts/application (20.3ms)
|
7699
|
+
Completed 200 OK in 43ms (Views: 26.6ms | ActiveRecord: 0.2ms)
|
7700
|
+
|
7701
|
+
|
7702
|
+
Started GET "/" for 127.0.0.1 at 2011-03-11 11:30:38 +0800
|
7703
|
+
Processing by PostsController#index as HTML
|
7704
|
+
[1m[35mPost Load (0.7ms)[0m SELECT "posts".* FROM "posts"
|
7705
|
+
Rendered posts/index.html.erb within layouts/application (78.9ms)
|
7706
|
+
Completed 200 OK in 100ms (Views: 85.3ms | ActiveRecord: 0.7ms)
|
7707
|
+
|
7708
|
+
|
7709
|
+
Started GET "/buttons" for 127.0.0.1 at 2011-03-11 11:30:47 +0800
|
7710
|
+
Processing by ButtonsController#index as HTML
|
7711
|
+
Rendered buttons/index.html.erb within layouts/application (31.2ms)
|
7712
|
+
Completed 200 OK in 123ms (Views: 122.6ms | ActiveRecord: 0.0ms)
|
7713
|
+
|
7714
|
+
|
7715
|
+
Started GET "/toolbars" for 127.0.0.1 at 2011-03-11 11:30:51 +0800
|
7716
|
+
Processing by ToolbarsController#index as HTML
|
7717
|
+
[1m[36mToolbar Load (0.4ms)[0m [1mSELECT "toolbars".* FROM "toolbars"[0m
|
7718
|
+
Rendered toolbars/index.html.erb within layouts/application (5.8ms)
|
7719
|
+
Completed 200 OK in 32ms (Views: 17.7ms | ActiveRecord: 0.4ms)
|
7720
|
+
|
7721
|
+
|
7722
|
+
Started GET "/forms" for 127.0.0.1 at 2011-03-11 11:30:53 +0800
|
7723
|
+
Processing by FormsController#index as HTML
|
7724
|
+
[1m[35mPost Load (0.5ms)[0m SELECT "posts".* FROM "posts"
|
7725
|
+
Rendered forms/index.html.erb within layouts/application (66.7ms)
|
7726
|
+
Completed 200 OK in 87ms (Views: 74.3ms | ActiveRecord: 0.5ms)
|
7727
|
+
|
7728
|
+
|
7729
|
+
Started GET "/forms/new" for 127.0.0.1 at 2011-03-11 11:30:55 +0800
|
7730
|
+
Processing by FormsController#new as HTML
|
7731
|
+
Rendered forms/_form.html.erb (10.9ms)
|
7732
|
+
Rendered forms/new.html.erb within layouts/application (20.5ms)
|
7733
|
+
Completed 200 OK in 44ms (Views: 28.7ms | ActiveRecord: 0.0ms)
|
7734
|
+
|
7735
|
+
|
7736
|
+
Started GET "/posts/1" for 127.0.0.1 at 2011-03-11 11:36:43 +0800
|
7737
|
+
Processing by PostsController#show as HTML
|
7738
|
+
Parameters: {"id"=>"1"}
|
7739
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE ("posts"."id" = 1) LIMIT 1[0m
|
7740
|
+
Rendered posts/show.html.erb within layouts/application (24.3ms)
|
7741
|
+
Completed 200 OK in 87ms (Views: 49.2ms | ActiveRecord: 0.3ms)
|
7742
|
+
|
7743
|
+
|
7744
|
+
Started GET "/posts/new" for 127.0.0.1 at 2011-03-11 11:36:56 +0800
|
7745
|
+
Processing by PostsController#new as HTML
|
7746
|
+
Rendered posts/_form.html.erb (14.0ms)
|
7747
|
+
Rendered posts/new.html.erb within layouts/application (107.5ms)
|
7748
|
+
Completed 200 OK in 131ms (Views: 114.8ms | ActiveRecord: 0.0ms)
|
7749
|
+
|
7750
|
+
|
7751
|
+
Started POST "/posts" for 127.0.0.1 at 2011-03-11 11:37:07 +0800
|
7752
|
+
Processing by PostsController#create as HTML
|
7753
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"FEF5GyQwaUNd8hIjn2KBl5M6il2qcUPk9uprWjnDjqQ=", "post"=>{"name"=>"Test", "title"=>"this is a test", "content"=>"test"}, "commit"=>"Create Post"}
|
7754
|
+
[1m[35mAREL (54.1ms)[0m INSERT INTO "posts" ("name", "title", "content", "created_at", "updated_at") VALUES ('Test', 'this is a test', 'test', '2011-03-11 03:37:08.036978', '2011-03-11 03:37:08.036978')
|
7755
|
+
Redirected to http://localhost:3000/posts/2
|
7756
|
+
Completed 302 Found in 162ms
|
7757
|
+
|
7758
|
+
|
7759
|
+
Started GET "/posts/2" for 127.0.0.1 at 2011-03-11 11:37:08 +0800
|
7760
|
+
Processing by PostsController#show as HTML
|
7761
|
+
Parameters: {"id"=>"2"}
|
7762
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE ("posts"."id" = 2) LIMIT 1[0m
|
7763
|
+
Rendered posts/show.html.erb within layouts/application (20.6ms)
|
7764
|
+
Completed 200 OK in 94ms (Views: 27.1ms | ActiveRecord: 54.4ms)
|
7765
|
+
|
7766
|
+
|
7767
|
+
Started GET "/posts/2" for 127.0.0.1 at 2011-03-11 11:37:10 +0800
|
7768
|
+
Processing by PostsController#show as HTML
|
7769
|
+
Parameters: {"id"=>"2"}
|
7770
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 2) LIMIT 1
|
7771
|
+
Rendered posts/show.html.erb within layouts/application (20.0ms)
|
7772
|
+
Completed 200 OK in 45ms (Views: 26.7ms | ActiveRecord: 0.3ms)
|
7773
|
+
|
7774
|
+
|
7775
|
+
Started GET "/posts/2" for 127.0.0.1 at 2011-03-11 11:37:12 +0800
|
7776
|
+
Processing by PostsController#show as HTML
|
7777
|
+
Parameters: {"id"=>"2"}
|
7778
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE ("posts"."id" = 2) LIMIT 1[0m
|
7779
|
+
Rendered posts/show.html.erb within layouts/application (19.7ms)
|
7780
|
+
Completed 200 OK in 43ms (Views: 26.4ms | ActiveRecord: 0.3ms)
|
7781
|
+
|
7782
|
+
|
7783
|
+
Started GET "/posts/2" for 127.0.0.1 at 2011-03-11 11:37:13 +0800
|
7784
|
+
Processing by PostsController#show as HTML
|
7785
|
+
Parameters: {"id"=>"2"}
|
7786
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 2) LIMIT 1
|
7787
|
+
Rendered posts/show.html.erb within layouts/application (19.9ms)
|
7788
|
+
Completed 200 OK in 44ms (Views: 26.4ms | ActiveRecord: 0.3ms)
|
7789
|
+
|
7790
|
+
|
7791
|
+
Started GET "/" for 127.0.0.1 at 2011-03-11 11:37:15 +0800
|
7792
|
+
Processing by PostsController#index as HTML
|
7793
|
+
[1m[36mPost Load (0.5ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
7794
|
+
Rendered posts/index.html.erb within layouts/application (35.3ms)
|
7795
|
+
Completed 200 OK in 104ms (Views: 42.2ms | ActiveRecord: 0.5ms)
|
7796
|
+
|
7797
|
+
|
7798
|
+
Started GET "/posts/2" for 127.0.0.1 at 2011-03-11 11:37:26 +0800
|
7799
|
+
Processing by PostsController#show as HTML
|
7800
|
+
Parameters: {"id"=>"2"}
|
7801
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE ("posts"."id" = 2) LIMIT 1
|
7802
|
+
Rendered posts/show.html.erb within layouts/application (22.7ms)
|
7803
|
+
Completed 200 OK in 49ms (Views: 29.6ms | ActiveRecord: 0.3ms)
|
7804
|
+
|
7805
|
+
|
7806
|
+
Started GET "/posts/2" for 127.0.0.1 at 2011-03-11 11:39:37 +0800
|
7807
|
+
Processing by PostsController#show as HTML
|
7808
|
+
Parameters: {"id"=>"2"}
|
7809
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE ("posts"."id" = 2) LIMIT 1[0m
|
7810
|
+
Rendered posts/show.html.erb within layouts/application (19.3ms)
|
7811
|
+
Completed 200 OK in 89ms (Views: 25.8ms | ActiveRecord: 0.3ms)
|
7812
|
+
|
7813
|
+
|
7814
|
+
Started GET "/" for 127.0.0.1 at 2011-03-11 11:39:37 +0800
|
7815
|
+
Processing by PostsController#index as HTML
|
7816
|
+
[1m[35mPost Load (0.5ms)[0m SELECT "posts".* FROM "posts"
|
7817
|
+
Rendered posts/index.html.erb within layouts/application (35.1ms)
|
7818
|
+
Completed 200 OK in 55ms (Views: 41.5ms | ActiveRecord: 0.5ms)
|
7819
|
+
|
7820
|
+
|
7821
|
+
Started GET "/" for 127.0.0.1 at 2011-04-08 18:03:25 +0800
|
7822
|
+
Processing by PostsController#index as HTML
|
7823
|
+
[1m[36mPost Load (1.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
7824
|
+
Rendered posts/index.html.erb within layouts/application (124.4ms)
|
7825
|
+
Completed 200 OK in 260ms (Views: 131.6ms | ActiveRecord: 1.2ms)
|
7826
|
+
|
7827
|
+
|
7828
|
+
Started GET "/" for 127.0.0.1 at 2011-04-21 11:23:56 +0800
|
7829
|
+
Processing by PostsController#index as HTML
|
7830
|
+
[1m[36mPost Load (28.6ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
7831
|
+
Rendered posts/index.html.erb within layouts/application (116.9ms)
|
7832
|
+
Completed 200 OK in 405ms (Views: 155.8ms | ActiveRecord: 28.6ms)
|
7833
|
+
|
7834
|
+
|
7835
|
+
Started GET "/posts/2" for 127.0.0.1 at 2011-04-21 11:24:11 +0800
|
7836
|
+
Processing by PostsController#show as HTML
|
7837
|
+
Parameters: {"id"=>"2"}
|
7838
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
7839
|
+
FROM sqlite_master
|
7840
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
7841
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE ("posts"."id" = 2) LIMIT 1[0m
|
7842
|
+
Rendered posts/show.html.erb within layouts/application (26.5ms)
|
7843
|
+
Completed 200 OK in 150ms (Views: 86.0ms | ActiveRecord: 0.5ms)
|
7844
|
+
|
7845
|
+
|
7846
|
+
Started GET "/buttons" for 127.0.0.1 at 2011-04-21 11:29:10 +0800
|
7847
|
+
Processing by ButtonsController#index as HTML
|
7848
|
+
Rendered buttons/index.html.erb within layouts/application (27.9ms)
|
7849
|
+
Completed 200 OK in 67ms (Views: 66.1ms | ActiveRecord: 0.0ms)
|
7850
|
+
|
7851
|
+
|
7852
|
+
Started GET "/" for 127.0.0.1 at 2011-04-21 11:29:36 +0800
|
7853
|
+
Processing by PostsController#index as HTML
|
7854
|
+
[1m[35mPost Load (14.2ms)[0m SELECT "posts".* FROM "posts"
|
7855
|
+
Rendered posts/index.html.erb within layouts/application (36.9ms)
|
7856
|
+
Completed 200 OK in 101ms (Views: 74.8ms | ActiveRecord: 14.2ms)
|
7857
|
+
|
7858
|
+
|
7859
|
+
Started GET "/forms" for 127.0.0.1 at 2011-04-21 11:29:38 +0800
|
7860
|
+
Processing by FormsController#index as HTML
|
7861
|
+
[1m[36mPost Load (0.5ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
7862
|
+
Rendered forms/index.html.erb within layouts/application (20.0ms)
|
7863
|
+
Completed 200 OK in 80ms (Views: 67.7ms | ActiveRecord: 0.5ms)
|
7864
|
+
|
7865
|
+
|
7866
|
+
Started GET "/toolbars" for 127.0.0.1 at 2011-04-21 11:29:40 +0800
|
7867
|
+
Processing by ToolbarsController#index as HTML
|
7868
|
+
[1m[35mToolbar Load (33.6ms)[0m SELECT "toolbars".* FROM "toolbars"
|
7869
|
+
Rendered toolbars/index.html.erb within layouts/application (7.1ms)
|
7870
|
+
Completed 200 OK in 74ms (Views: 21.6ms | ActiveRecord: 33.6ms)
|
7871
|
+
|
7872
|
+
|
7873
|
+
Started GET "/forms/1" for 127.0.0.1 at 2011-04-21 11:29:54 +0800
|
7874
|
+
Processing by FormsController#show as HTML
|
7875
|
+
Parameters: {"id"=>"1"}
|
7876
|
+
[1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE ("posts"."id" = 1) LIMIT 1[0m
|
7877
|
+
Rendered forms/show.html.erb within layouts/application (66.7ms)
|
7878
|
+
Completed 200 OK in 157ms (Views: 141.0ms | ActiveRecord: 0.2ms)
|