kblog 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +38 -2
- data/app/controllers/kblog/articles_controller.rb +10 -3
- data/app/models/kblog/article.rb +3 -3
- data/app/views/kblog/articles/_article.html.erb +1 -2
- data/lib/generators/kblog/templates/initializer.rb +21 -16
- data/lib/kblog.rb +2 -2
- data/lib/kblog/engine.rb +6 -3
- data/lib/kblog/version.rb +1 -1
- data/test/dummy/app/models/user.rb +4 -0
- data/test/dummy/config/initializers/kblog_init.rb +14 -12
- data/test/dummy/log/development.log +699 -0
- metadata +2 -2
data/README.rdoc
CHANGED
@@ -1,11 +1,47 @@
|
|
1
1
|
= Kblog
|
2
2
|
|
3
3
|
Simple blog-engine for rails.
|
4
|
+
Authentication can be done either role-based or via http-basic-auth.
|
5
|
+
No specific authentication-framework needed.
|
6
|
+
No relation to author present.
|
4
7
|
|
5
8
|
== installation
|
6
9
|
|
7
|
-
|
8
10
|
* gem install kblog
|
9
11
|
* rake kblog:migrations:install
|
10
|
-
*
|
12
|
+
* rake db:migrate
|
13
|
+
* rails g kblog # creates kblog_init.rb in config/initializers
|
14
|
+
* add the engine to route.rb:
|
15
|
+
|
16
|
+
<tt>mount Kblog::Engine => "/kblog"</tt>
|
17
|
+
|
18
|
+
* perhaps add provided css to your layoutfile:
|
19
|
+
|
20
|
+
<tt><%= stylesheet_link_tag 'kblog/articles', :media => "all" %></tt>
|
21
|
+
|
22
|
+
adopt config/initializer/kblog_init.rb:
|
23
|
+
|
24
|
+
[role-based authentication] role-based rights to create/alter blog-articles
|
25
|
+
user_class must respond_to :roles - and each role
|
26
|
+
tring representation role.to_s == Kblog.auth_role
|
27
|
+
|
28
|
+
<tt>Kblog.auth_type = 'role'</tt>
|
29
|
+
|
30
|
+
<tt>Kblog.auth_role = 'blogger' # role needed to alter blogs</tt>
|
31
|
+
|
32
|
+
[basic-auth] makes use of simple http-basic auth.
|
33
|
+
configure with desired name/passwword
|
34
|
+
|
35
|
+
<tt>Kblog.auth_type == 'basic'</tt>
|
36
|
+
|
37
|
+
<tt>Kblog.authname = 'blogger'</tt>
|
38
|
+
|
39
|
+
<tt>Kblog.authpassword = 'changeme'</tt>
|
40
|
+
|
41
|
+
== usage
|
42
|
+
|
43
|
+
* add helper
|
44
|
+
<tt><%= display_latest_articles(num=1) %></tt> to your views
|
45
|
+
* if mounted to /kblog visit index: /kblog/articles -
|
46
|
+
|
11
47
|
|
@@ -4,11 +4,14 @@ module Kblog
|
|
4
4
|
class ArticlesController < ApplicationController
|
5
5
|
before_filter :set_blog_user
|
6
6
|
before_filter :set_article, only: [:show, :edit, :update, :destroy]
|
7
|
-
|
7
|
+
before_filter :authenticate, only: [:edit, :update, :create, :destroy]
|
8
8
|
|
9
|
-
if Kblog.
|
9
|
+
if Kblog.auth_type == 'basic'
|
10
10
|
http_basic_authenticate_with :name => Kblog.authname, :password => Kblog.authpassword, :except => [:index,:show]
|
11
11
|
end
|
12
|
+
if Kblog.auth_type == 'role'
|
13
|
+
|
14
|
+
end
|
12
15
|
|
13
16
|
# GET /articles
|
14
17
|
def index
|
@@ -71,5 +74,9 @@ module Kblog
|
|
71
74
|
params[:article]
|
72
75
|
#params.require(:article).permit(:title, :content)
|
73
76
|
end
|
74
|
-
|
77
|
+
|
78
|
+
def authenticate
|
79
|
+
render :status => :forbidden and return unless Article.user_rights(@blog_user)
|
80
|
+
end
|
81
|
+
end
|
75
82
|
end
|
data/app/models/kblog/article.rb
CHANGED
@@ -3,12 +3,12 @@ module Kblog
|
|
3
3
|
attr_accessible :content, :title
|
4
4
|
validates :title, :presence => true
|
5
5
|
|
6
|
-
def self.
|
6
|
+
def self.user_rights(user)
|
7
7
|
case Kblog.auth_type
|
8
8
|
when 'basic'
|
9
|
-
|
9
|
+
true
|
10
10
|
when 'role'
|
11
|
-
user.respond_to?(:roles) && user.roles.map { |r| r.
|
11
|
+
user.respond_to?(:roles) && user.roles.map { |r| r.to_s }.include?( Kblog.auth_role )
|
12
12
|
end
|
13
13
|
end
|
14
14
|
|
@@ -7,8 +7,7 @@
|
|
7
7
|
<div class="kblog-content">
|
8
8
|
<%= textilize(article.content).html_safe %>
|
9
9
|
</div>
|
10
|
-
|
11
|
-
<% if @blog_user && Kblog::Article.has_create_rights(@blog_user) %>
|
10
|
+
<% if @blog_user && Kblog::Article.user_rights(@blog_user) %>
|
12
11
|
<div class="kblog-links">
|
13
12
|
<%= link_to 'Edit', kblog.edit_article_path(article) %> |
|
14
13
|
<%= link_to 'Destroy', kblog.article_path(article), :confirm => 'Are you sure?', :method => :delete %>
|
@@ -1,23 +1,28 @@
|
|
1
|
-
ActiveSupport.on_load :action_controller do
|
2
|
-
helper Kblog::ArticlesHelper
|
3
|
-
end
|
4
1
|
|
5
|
-
Kblog.
|
6
|
-
#Kblog.auth_type = 'basic'#
|
7
|
-
#Kblog.auth_type = 'role'
|
2
|
+
Kblog.user_class = 'User' # class of blog-author
|
8
3
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
4
|
+
# select EITHER section basic or role-based authentication
|
5
|
+
#
|
6
|
+
#######################################################
|
7
|
+
# role-based rights to create/alter blog-articles #
|
8
|
+
# user_class must respond_to :roles - and each role #
|
9
|
+
# string representation role.to_s == Kblog.auth_role #
|
10
|
+
#######################################################
|
11
|
+
|
12
|
+
#Kblog.auth_type = 'role'
|
13
|
+
#Kblog.auth_role = 'blogger' # role needed to alter blogs
|
13
14
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
15
|
+
#########################################################
|
16
|
+
# http-basic-auth #
|
17
|
+
#########################################################
|
18
|
+
Kblog.auth_type == 'basic'
|
19
|
+
Kblog.authname = 'blogger'
|
20
|
+
Kblog.authpassword = 'changeme'
|
21
|
+
|
22
|
+
ActiveSupport.on_load :action_controller do
|
23
|
+
helper Kblog::ArticlesHelper
|
19
24
|
end
|
20
25
|
|
26
|
+
|
21
27
|
require 'RedCloth'
|
22
28
|
require 'will_paginate'
|
23
|
-
|
data/lib/kblog.rb
CHANGED
data/lib/kblog/engine.rb
CHANGED
data/lib/kblog/version.rb
CHANGED
@@ -2,20 +2,22 @@ ActiveSupport.on_load :action_controller do
|
|
2
2
|
helper Kblog::ArticlesHelper
|
3
3
|
end
|
4
4
|
|
5
|
-
|
6
|
-
#
|
7
|
-
|
5
|
+
# select either section basic or role-based authentication
|
6
|
+
#
|
7
|
+
#########################################################
|
8
|
+
# role-based rights to create/alter blog-articles #
|
9
|
+
#########################################################
|
10
|
+
Kblog.auth_type = 'role'
|
11
|
+
Kblog.auth_role = 'blogger' # role needed to alter blogs
|
12
|
+
Kblog.user_class = 'User' # class of blog-author
|
8
13
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
14
|
+
#########################################################
|
15
|
+
# http-basic-auth #
|
16
|
+
#########################################################
|
17
|
+
#Kblog.auth_type == 'basic'
|
18
|
+
#Kblog.authname = 'blogger'
|
19
|
+
#Kblog.authpassword = 'changeme'
|
13
20
|
|
14
|
-
if Kblog.auth_type == 'role'
|
15
|
-
# expects a User-class which responds to 'role'
|
16
|
-
# change to necessary role of current_user
|
17
|
-
Kblog.auth_role == 'blogger'
|
18
|
-
end
|
19
21
|
|
20
22
|
require 'RedCloth'
|
21
23
|
require 'will_paginate'
|
@@ -4862,3 +4862,702 @@ Served asset /kblog/articles.js - 304 Not Modified (2ms)
|
|
4862
4862
|
|
4863
4863
|
Started GET "/assets/kblog/application.js?body=1" for 127.0.0.1 at 2013-03-05 16:49:21 +0100
|
4864
4864
|
Served asset /kblog/application.js - 304 Not Modified (6ms)
|
4865
|
+
|
4866
|
+
|
4867
|
+
Started GET "/kblog/articles" for 127.0.0.1 at 2013-03-06 10:04:32 +0100
|
4868
|
+
Connecting to database specified by database.yml
|
4869
|
+
Processing by Kblog::ArticlesController#index as HTML
|
4870
|
+
[1m[36mKblog::Article Load (0.2ms)[0m [1mSELECT "kblog_articles".* FROM "kblog_articles" ORDER BY created_at DESC LIMIT 3 OFFSET 0[0m
|
4871
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "kblog_articles"
|
4872
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/_article.html.erb (7.5ms)
|
4873
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/index.html.erb within layouts/kblog/application (55.9ms)
|
4874
|
+
Completed 200 OK in 80ms (Views: 76.5ms | ActiveRecord: 2.2ms)
|
4875
|
+
|
4876
|
+
|
4877
|
+
Started GET "/assets/kblog/application.css?body=1" for 127.0.0.1 at 2013-03-06 10:04:33 +0100
|
4878
|
+
Served asset /kblog/application.css - 200 OK (8ms)
|
4879
|
+
|
4880
|
+
|
4881
|
+
Started GET "/assets/kblog/articles.css?body=1" for 127.0.0.1 at 2013-03-06 10:04:33 +0100
|
4882
|
+
Served asset /kblog/articles.css - 200 OK (2ms)
|
4883
|
+
|
4884
|
+
|
4885
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-06 10:04:33 +0100
|
4886
|
+
Served asset /jquery.js - 200 OK (4ms)
|
4887
|
+
|
4888
|
+
|
4889
|
+
Started GET "/assets/kblog/articles.js?body=1" for 127.0.0.1 at 2013-03-06 10:04:33 +0100
|
4890
|
+
Served asset /kblog/articles.js - 200 OK (7ms)
|
4891
|
+
|
4892
|
+
|
4893
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-06 10:04:33 +0100
|
4894
|
+
Served asset /jquery_ujs.js - 200 OK (1ms)
|
4895
|
+
|
4896
|
+
|
4897
|
+
Started GET "/assets/kblog/application.js?body=1" for 127.0.0.1 at 2013-03-06 10:04:33 +0100
|
4898
|
+
Served asset /kblog/application.js - 200 OK (5ms)
|
4899
|
+
Connecting to database specified by database.yml
|
4900
|
+
|
4901
|
+
|
4902
|
+
Started GET "/kblog/articles" for 127.0.0.1 at 2013-03-06 10:08:31 +0100
|
4903
|
+
Processing by Kblog::ArticlesController#index as HTML
|
4904
|
+
[1m[36mKblog::Article Load (0.2ms)[0m [1mSELECT "kblog_articles".* FROM "kblog_articles" ORDER BY created_at DESC LIMIT 3 OFFSET 0[0m
|
4905
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "kblog_articles"
|
4906
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/_article.html.erb (2.3ms)
|
4907
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/index.html.erb within layouts/kblog/application (11.6ms)
|
4908
|
+
Completed 200 OK in 18ms (Views: 16.6ms | ActiveRecord: 0.8ms)
|
4909
|
+
|
4910
|
+
|
4911
|
+
Started GET "/assets/kblog/application.css?body=1" for 127.0.0.1 at 2013-03-06 10:08:31 +0100
|
4912
|
+
Served asset /kblog/application.css - 304 Not Modified (4ms)
|
4913
|
+
|
4914
|
+
|
4915
|
+
Started GET "/assets/kblog/articles.css?body=1" for 127.0.0.1 at 2013-03-06 10:08:31 +0100
|
4916
|
+
Served asset /kblog/articles.css - 304 Not Modified (0ms)
|
4917
|
+
|
4918
|
+
|
4919
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-06 10:08:31 +0100
|
4920
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
4921
|
+
|
4922
|
+
|
4923
|
+
Started GET "/assets/kblog/application.js?body=1" for 127.0.0.1 at 2013-03-06 10:08:31 +0100
|
4924
|
+
Served asset /kblog/application.js - 304 Not Modified (1ms)
|
4925
|
+
|
4926
|
+
|
4927
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-06 10:08:31 +0100
|
4928
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
4929
|
+
|
4930
|
+
|
4931
|
+
Started GET "/assets/kblog/articles.js?body=1" for 127.0.0.1 at 2013-03-06 10:08:31 +0100
|
4932
|
+
Served asset /kblog/articles.js - 304 Not Modified (0ms)
|
4933
|
+
|
4934
|
+
|
4935
|
+
Started GET "/kblog/articles" for 127.0.0.1 at 2013-03-06 10:08:33 +0100
|
4936
|
+
Processing by Kblog::ArticlesController#index as HTML
|
4937
|
+
[1m[36mKblog::Article Load (0.2ms)[0m [1mSELECT "kblog_articles".* FROM "kblog_articles" ORDER BY created_at DESC LIMIT 3 OFFSET 0[0m
|
4938
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "kblog_articles"
|
4939
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/_article.html.erb (2.3ms)
|
4940
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/index.html.erb within layouts/kblog/application (5.3ms)
|
4941
|
+
Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.3ms)
|
4942
|
+
|
4943
|
+
|
4944
|
+
Started GET "/assets/kblog/application.css?body=1" for 127.0.0.1 at 2013-03-06 10:08:33 +0100
|
4945
|
+
Served asset /kblog/application.css - 304 Not Modified (0ms)
|
4946
|
+
|
4947
|
+
|
4948
|
+
Started GET "/assets/kblog/articles.js?body=1" for 127.0.0.1 at 2013-03-06 10:08:33 +0100
|
4949
|
+
Served asset /kblog/articles.js - 304 Not Modified (1ms)
|
4950
|
+
|
4951
|
+
|
4952
|
+
Started GET "/assets/kblog/application.js?body=1" for 127.0.0.1 at 2013-03-06 10:08:33 +0100
|
4953
|
+
Served asset /kblog/application.js - 304 Not Modified (1ms)
|
4954
|
+
|
4955
|
+
|
4956
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-06 10:08:33 +0100
|
4957
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
4958
|
+
|
4959
|
+
|
4960
|
+
Started GET "/assets/kblog/articles.css?body=1" for 127.0.0.1 at 2013-03-06 10:08:33 +0100
|
4961
|
+
Served asset /kblog/articles.css - 304 Not Modified (0ms)
|
4962
|
+
|
4963
|
+
|
4964
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-06 10:08:33 +0100
|
4965
|
+
Served asset /jquery.js - 304 Not Modified (1ms)
|
4966
|
+
|
4967
|
+
|
4968
|
+
Started GET "/kblog/articles" for 127.0.0.1 at 2013-03-06 10:20:14 +0100
|
4969
|
+
Connecting to database specified by database.yml
|
4970
|
+
Processing by Kblog::ArticlesController#index as HTML
|
4971
|
+
[1m[36mKblog::Article Load (0.2ms)[0m [1mSELECT "kblog_articles".* FROM "kblog_articles" ORDER BY created_at DESC LIMIT 3 OFFSET 0[0m
|
4972
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "kblog_articles"
|
4973
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/_article.html.erb (7.9ms)
|
4974
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/index.html.erb within layouts/kblog/application (55.3ms)
|
4975
|
+
Completed 200 OK in 79ms (Views: 75.7ms | ActiveRecord: 2.2ms)
|
4976
|
+
|
4977
|
+
|
4978
|
+
Started GET "/assets/kblog/application.css?body=1" for 127.0.0.1 at 2013-03-06 10:20:15 +0100
|
4979
|
+
Served asset /kblog/application.css - 304 Not Modified (2ms)
|
4980
|
+
|
4981
|
+
|
4982
|
+
Started GET "/assets/kblog/articles.css?body=1" for 127.0.0.1 at 2013-03-06 10:20:15 +0100
|
4983
|
+
Served asset /kblog/articles.css - 304 Not Modified (2ms)
|
4984
|
+
|
4985
|
+
|
4986
|
+
Started GET "/assets/kblog/application.js?body=1" for 127.0.0.1 at 2013-03-06 10:20:15 +0100
|
4987
|
+
Served asset /kblog/application.js - 304 Not Modified (7ms)
|
4988
|
+
|
4989
|
+
|
4990
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-06 10:20:15 +0100
|
4991
|
+
Served asset /jquery_ujs.js - 304 Not Modified (2ms)
|
4992
|
+
|
4993
|
+
|
4994
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-06 10:20:15 +0100
|
4995
|
+
Served asset /jquery.js - 304 Not Modified (3ms)
|
4996
|
+
|
4997
|
+
|
4998
|
+
Started GET "/assets/kblog/articles.js?body=1" for 127.0.0.1 at 2013-03-06 10:20:15 +0100
|
4999
|
+
Served asset /kblog/articles.js - 304 Not Modified (2ms)
|
5000
|
+
|
5001
|
+
|
5002
|
+
Started GET "/kblog/articles" for 127.0.0.1 at 2013-03-06 10:20:21 +0100
|
5003
|
+
Processing by Kblog::ArticlesController#index as HTML
|
5004
|
+
[1m[36mKblog::Article Load (0.3ms)[0m [1mSELECT "kblog_articles".* FROM "kblog_articles" ORDER BY created_at DESC LIMIT 3 OFFSET 0[0m
|
5005
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "kblog_articles"
|
5006
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/_article.html.erb (2.9ms)
|
5007
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/index.html.erb within layouts/kblog/application (6.8ms)
|
5008
|
+
Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 0.4ms)
|
5009
|
+
|
5010
|
+
|
5011
|
+
Started GET "/assets/kblog/application.css?body=1" for 127.0.0.1 at 2013-03-06 10:20:22 +0100
|
5012
|
+
Served asset /kblog/application.css - 304 Not Modified (8ms)
|
5013
|
+
|
5014
|
+
|
5015
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-06 10:20:22 +0100
|
5016
|
+
Served asset /jquery_ujs.js - 304 Not Modified (34ms)
|
5017
|
+
|
5018
|
+
|
5019
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-06 10:20:22 +0100
|
5020
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
5021
|
+
|
5022
|
+
|
5023
|
+
Started GET "/assets/kblog/articles.js?body=1" for 127.0.0.1 at 2013-03-06 10:20:22 +0100
|
5024
|
+
Served asset /kblog/articles.js - 304 Not Modified (0ms)
|
5025
|
+
|
5026
|
+
|
5027
|
+
Started GET "/assets/kblog/articles.css?body=1" for 127.0.0.1 at 2013-03-06 10:20:22 +0100
|
5028
|
+
Served asset /kblog/articles.css - 304 Not Modified (0ms)
|
5029
|
+
|
5030
|
+
|
5031
|
+
Started GET "/assets/kblog/application.js?body=1" for 127.0.0.1 at 2013-03-06 10:20:22 +0100
|
5032
|
+
Served asset /kblog/application.js - 304 Not Modified (1ms)
|
5033
|
+
|
5034
|
+
|
5035
|
+
Started GET "/kblog/articles" for 127.0.0.1 at 2013-03-06 10:20:59 +0100
|
5036
|
+
Processing by Kblog::ArticlesController#index as HTML
|
5037
|
+
[1m[36mKblog::Article Load (0.2ms)[0m [1mSELECT "kblog_articles".* FROM "kblog_articles" ORDER BY created_at DESC LIMIT 3 OFFSET 0[0m
|
5038
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "kblog_articles"
|
5039
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/_article.html.erb (2.9ms)
|
5040
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/index.html.erb within layouts/kblog/application (5.9ms)
|
5041
|
+
Completed 200 OK in 12ms (Views: 11.5ms | ActiveRecord: 0.3ms)
|
5042
|
+
|
5043
|
+
|
5044
|
+
Started GET "/assets/kblog/application.css?body=1" for 127.0.0.1 at 2013-03-06 10:20:59 +0100
|
5045
|
+
Served asset /kblog/application.css - 304 Not Modified (0ms)
|
5046
|
+
|
5047
|
+
|
5048
|
+
Started GET "/assets/kblog/articles.css?body=1" for 127.0.0.1 at 2013-03-06 10:20:59 +0100
|
5049
|
+
Served asset /kblog/articles.css - 304 Not Modified (0ms)
|
5050
|
+
|
5051
|
+
|
5052
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-06 10:20:59 +0100
|
5053
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
5054
|
+
|
5055
|
+
|
5056
|
+
Started GET "/assets/kblog/articles.js?body=1" for 127.0.0.1 at 2013-03-06 10:20:59 +0100
|
5057
|
+
Served asset /kblog/articles.js - 304 Not Modified (0ms)
|
5058
|
+
|
5059
|
+
|
5060
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-06 10:20:59 +0100
|
5061
|
+
Served asset /jquery.js - 304 Not Modified (1ms)
|
5062
|
+
|
5063
|
+
|
5064
|
+
Started GET "/assets/kblog/application.js?body=1" for 127.0.0.1 at 2013-03-06 10:20:59 +0100
|
5065
|
+
Served asset /kblog/application.js - 304 Not Modified (10ms)
|
5066
|
+
|
5067
|
+
|
5068
|
+
Started GET "/kblog/articles" for 127.0.0.1 at 2013-03-06 10:22:23 +0100
|
5069
|
+
Processing by Kblog::ArticlesController#index as HTML
|
5070
|
+
[1m[36mKblog::Article Load (0.2ms)[0m [1mSELECT "kblog_articles".* FROM "kblog_articles" ORDER BY created_at DESC LIMIT 3 OFFSET 0[0m
|
5071
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "kblog_articles"
|
5072
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/_article.html.erb (2.5ms)
|
5073
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/index.html.erb within layouts/kblog/application (11.8ms)
|
5074
|
+
Completed 200 OK in 18ms (Views: 16.8ms | ActiveRecord: 0.8ms)
|
5075
|
+
|
5076
|
+
|
5077
|
+
Started GET "/assets/kblog/application.css?body=1" for 127.0.0.1 at 2013-03-06 10:22:23 +0100
|
5078
|
+
Served asset /kblog/application.css - 304 Not Modified (0ms)
|
5079
|
+
|
5080
|
+
|
5081
|
+
Started GET "/assets/kblog/articles.css?body=1" for 127.0.0.1 at 2013-03-06 10:22:23 +0100
|
5082
|
+
Served asset /kblog/articles.css - 304 Not Modified (0ms)
|
5083
|
+
|
5084
|
+
|
5085
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-06 10:22:23 +0100
|
5086
|
+
Served asset /jquery.js - 304 Not Modified (2ms)
|
5087
|
+
|
5088
|
+
|
5089
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-06 10:22:23 +0100
|
5090
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
5091
|
+
|
5092
|
+
|
5093
|
+
Started GET "/assets/kblog/application.js?body=1" for 127.0.0.1 at 2013-03-06 10:22:23 +0100
|
5094
|
+
Served asset /kblog/application.js - 304 Not Modified (4ms)
|
5095
|
+
|
5096
|
+
|
5097
|
+
Started GET "/assets/kblog/articles.js?body=1" for 127.0.0.1 at 2013-03-06 10:22:23 +0100
|
5098
|
+
Served asset /kblog/articles.js - 304 Not Modified (0ms)
|
5099
|
+
|
5100
|
+
|
5101
|
+
Started GET "/kblog/articles" for 127.0.0.1 at 2013-03-06 10:22:25 +0100
|
5102
|
+
Processing by Kblog::ArticlesController#index as HTML
|
5103
|
+
[1m[36mKblog::Article Load (0.3ms)[0m [1mSELECT "kblog_articles".* FROM "kblog_articles" ORDER BY created_at DESC LIMIT 3 OFFSET 0[0m
|
5104
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "kblog_articles"
|
5105
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/_article.html.erb (2.5ms)
|
5106
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/index.html.erb within layouts/kblog/application (5.5ms)
|
5107
|
+
Completed 200 OK in 11ms (Views: 10.6ms | ActiveRecord: 0.3ms)
|
5108
|
+
|
5109
|
+
|
5110
|
+
Started GET "/assets/kblog/application.css?body=1" for 127.0.0.1 at 2013-03-06 10:22:25 +0100
|
5111
|
+
Served asset /kblog/application.css - 304 Not Modified (0ms)
|
5112
|
+
|
5113
|
+
|
5114
|
+
Started GET "/assets/kblog/articles.css?body=1" for 127.0.0.1 at 2013-03-06 10:22:25 +0100
|
5115
|
+
Served asset /kblog/articles.css - 304 Not Modified (0ms)
|
5116
|
+
|
5117
|
+
|
5118
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-06 10:22:25 +0100
|
5119
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
5120
|
+
|
5121
|
+
|
5122
|
+
Started GET "/assets/kblog/articles.js?body=1" for 127.0.0.1 at 2013-03-06 10:22:25 +0100
|
5123
|
+
Served asset /kblog/articles.js - 304 Not Modified (0ms)
|
5124
|
+
|
5125
|
+
|
5126
|
+
Started GET "/assets/kblog/application.js?body=1" for 127.0.0.1 at 2013-03-06 10:22:25 +0100
|
5127
|
+
Served asset /kblog/application.js - 304 Not Modified (1ms)
|
5128
|
+
|
5129
|
+
|
5130
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-06 10:22:25 +0100
|
5131
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
5132
|
+
|
5133
|
+
|
5134
|
+
Started GET "/kblog/articles" for 127.0.0.1 at 2013-03-06 10:22:26 +0100
|
5135
|
+
Processing by Kblog::ArticlesController#index as HTML
|
5136
|
+
[1m[36mKblog::Article Load (0.3ms)[0m [1mSELECT "kblog_articles".* FROM "kblog_articles" ORDER BY created_at DESC LIMIT 3 OFFSET 0[0m
|
5137
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "kblog_articles"
|
5138
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/_article.html.erb (2.6ms)
|
5139
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/index.html.erb within layouts/kblog/application (5.9ms)
|
5140
|
+
Completed 200 OK in 50ms (Views: 49.6ms | ActiveRecord: 0.3ms)
|
5141
|
+
|
5142
|
+
|
5143
|
+
Started GET "/assets/kblog/application.css?body=1" for 127.0.0.1 at 2013-03-06 10:22:26 +0100
|
5144
|
+
Served asset /kblog/application.css - 304 Not Modified (1ms)
|
5145
|
+
|
5146
|
+
|
5147
|
+
Started GET "/assets/kblog/articles.css?body=1" for 127.0.0.1 at 2013-03-06 10:22:26 +0100
|
5148
|
+
Served asset /kblog/articles.css - 304 Not Modified (0ms)
|
5149
|
+
|
5150
|
+
|
5151
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-06 10:22:26 +0100
|
5152
|
+
Served asset /jquery_ujs.js - 304 Not Modified (2ms)
|
5153
|
+
|
5154
|
+
|
5155
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-06 10:22:26 +0100
|
5156
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
5157
|
+
|
5158
|
+
|
5159
|
+
Started GET "/assets/kblog/articles.js?body=1" for 127.0.0.1 at 2013-03-06 10:22:26 +0100
|
5160
|
+
Served asset /kblog/articles.js - 304 Not Modified (0ms)
|
5161
|
+
|
5162
|
+
|
5163
|
+
Started GET "/assets/kblog/application.js?body=1" for 127.0.0.1 at 2013-03-06 10:22:26 +0100
|
5164
|
+
Served asset /kblog/application.js - 304 Not Modified (2ms)
|
5165
|
+
|
5166
|
+
|
5167
|
+
Started GET "/kblog/articles" for 127.0.0.1 at 2013-03-06 10:22:27 +0100
|
5168
|
+
Processing by Kblog::ArticlesController#index as HTML
|
5169
|
+
[1m[36mKblog::Article Load (0.2ms)[0m [1mSELECT "kblog_articles".* FROM "kblog_articles" ORDER BY created_at DESC LIMIT 3 OFFSET 0[0m
|
5170
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "kblog_articles"
|
5171
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/_article.html.erb (2.3ms)
|
5172
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/index.html.erb within layouts/kblog/application (5.3ms)
|
5173
|
+
Completed 200 OK in 11ms (Views: 10.3ms | ActiveRecord: 0.3ms)
|
5174
|
+
|
5175
|
+
|
5176
|
+
Started GET "/assets/kblog/application.css?body=1" for 127.0.0.1 at 2013-03-06 10:22:27 +0100
|
5177
|
+
Served asset /kblog/application.css - 304 Not Modified (3ms)
|
5178
|
+
|
5179
|
+
|
5180
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-06 10:22:27 +0100
|
5181
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
5182
|
+
|
5183
|
+
|
5184
|
+
Started GET "/assets/kblog/articles.js?body=1" for 127.0.0.1 at 2013-03-06 10:22:27 +0100
|
5185
|
+
Served asset /kblog/articles.js - 304 Not Modified (0ms)
|
5186
|
+
|
5187
|
+
|
5188
|
+
Started GET "/assets/kblog/articles.css?body=1" for 127.0.0.1 at 2013-03-06 10:22:27 +0100
|
5189
|
+
Served asset /kblog/articles.css - 304 Not Modified (0ms)
|
5190
|
+
|
5191
|
+
|
5192
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-06 10:22:27 +0100
|
5193
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
5194
|
+
|
5195
|
+
|
5196
|
+
Started GET "/assets/kblog/application.js?body=1" for 127.0.0.1 at 2013-03-06 10:22:27 +0100
|
5197
|
+
Served asset /kblog/application.js - 304 Not Modified (1ms)
|
5198
|
+
|
5199
|
+
|
5200
|
+
Started GET "/kblog/articles" for 127.0.0.1 at 2013-03-06 10:22:42 +0100
|
5201
|
+
Connecting to database specified by database.yml
|
5202
|
+
Processing by Kblog::ArticlesController#index as HTML
|
5203
|
+
[1m[36mKblog::Article Load (0.2ms)[0m [1mSELECT "kblog_articles".* FROM "kblog_articles" ORDER BY created_at DESC LIMIT 3 OFFSET 0[0m
|
5204
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "kblog_articles"
|
5205
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/_article.html.erb (7.6ms)
|
5206
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/index.html.erb within layouts/kblog/application (56.4ms)
|
5207
|
+
Completed 200 OK in 80ms (Views: 77.0ms | ActiveRecord: 2.1ms)
|
5208
|
+
|
5209
|
+
|
5210
|
+
Started GET "/assets/kblog/application.css?body=1" for 127.0.0.1 at 2013-03-06 10:22:42 +0100
|
5211
|
+
Served asset /kblog/application.css - 304 Not Modified (38ms)
|
5212
|
+
|
5213
|
+
|
5214
|
+
Started GET "/assets/kblog/articles.css?body=1" for 127.0.0.1 at 2013-03-06 10:22:42 +0100
|
5215
|
+
Served asset /kblog/articles.css - 304 Not Modified (2ms)
|
5216
|
+
|
5217
|
+
|
5218
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-06 10:22:42 +0100
|
5219
|
+
Served asset /jquery_ujs.js - 304 Not Modified (2ms)
|
5220
|
+
|
5221
|
+
|
5222
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-06 10:22:42 +0100
|
5223
|
+
Served asset /jquery.js - 304 Not Modified (6ms)
|
5224
|
+
|
5225
|
+
|
5226
|
+
Started GET "/assets/kblog/articles.js?body=1" for 127.0.0.1 at 2013-03-06 10:22:42 +0100
|
5227
|
+
Served asset /kblog/articles.js - 304 Not Modified (1ms)
|
5228
|
+
|
5229
|
+
|
5230
|
+
Started GET "/assets/kblog/application.js?body=1" for 127.0.0.1 at 2013-03-06 10:22:42 +0100
|
5231
|
+
Served asset /kblog/application.js - 304 Not Modified (6ms)
|
5232
|
+
|
5233
|
+
|
5234
|
+
Started GET "/kblog/articles" for 127.0.0.1 at 2013-03-06 10:25:47 +0100
|
5235
|
+
Processing by Kblog::ArticlesController#index as HTML
|
5236
|
+
[1m[36mKblog::Article Load (0.3ms)[0m [1mSELECT "kblog_articles".* FROM "kblog_articles" ORDER BY created_at DESC LIMIT 3 OFFSET 0[0m
|
5237
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "kblog_articles"
|
5238
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" LIMIT 1[0m
|
5239
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/_article.html.erb (49.8ms)
|
5240
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/index.html.erb within layouts/kblog/application (53.1ms)
|
5241
|
+
Completed 500 Internal Server Error in 55ms
|
5242
|
+
|
5243
|
+
ActionView::Template::Error (undefined method `includes?' for ["foo", "bar", "blogger"]:Array):
|
5244
|
+
8: <%= textilize(article.content).html_safe %>
|
5245
|
+
9: </div>
|
5246
|
+
10: <% @blog_user = User.first %>
|
5247
|
+
11: <% if @blog_user && Kblog::Article.user_rights(@blog_user) %>
|
5248
|
+
12: <div class="kblog-links">
|
5249
|
+
13: <%= link_to 'Edit', kblog.edit_article_path(article) %> |
|
5250
|
+
14: <%= link_to 'Destroy', kblog.article_path(article), :confirm => 'Are you sure?', :method => :delete %>
|
5251
|
+
/home/erpe/devel/kblog/app/models/kblog/article.rb:11:in `user_rights'
|
5252
|
+
/home/erpe/devel/kblog/app/views/kblog/articles/_article.html.erb:11:in `__home_erpe_devel_kblog_app_views_kblog_articles__article_html_erb__524438183179709349_69975489355320'
|
5253
|
+
actionpack (3.2.12) lib/action_view/template.rb:145:in `block in render'
|
5254
|
+
activesupport (3.2.12) lib/active_support/notifications.rb:125:in `instrument'
|
5255
|
+
actionpack (3.2.12) lib/action_view/template.rb:143:in `render'
|
5256
|
+
actionpack (3.2.12) lib/action_view/renderer/partial_renderer.rb:351:in `block in collection_with_template'
|
5257
|
+
actionpack (3.2.12) lib/action_view/renderer/partial_renderer.rb:348:in `each'
|
5258
|
+
actionpack (3.2.12) lib/action_view/renderer/partial_renderer.rb:348:in `collection_with_template'
|
5259
|
+
actionpack (3.2.12) lib/action_view/renderer/partial_renderer.rb:250:in `render_collection'
|
5260
|
+
actionpack (3.2.12) lib/action_view/renderer/partial_renderer.rb:234:in `block in render'
|
5261
|
+
actionpack (3.2.12) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
|
5262
|
+
activesupport (3.2.12) lib/active_support/notifications.rb:123:in `block in instrument'
|
5263
|
+
activesupport (3.2.12) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
5264
|
+
activesupport (3.2.12) lib/active_support/notifications.rb:123:in `instrument'
|
5265
|
+
actionpack (3.2.12) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
|
5266
|
+
actionpack (3.2.12) lib/action_view/renderer/partial_renderer.rb:233:in `render'
|
5267
|
+
actionpack (3.2.12) lib/action_view/renderer/renderer.rb:41:in `render_partial'
|
5268
|
+
actionpack (3.2.12) lib/action_view/renderer/renderer.rb:15:in `render'
|
5269
|
+
actionpack (3.2.12) lib/action_view/helpers/rendering_helper.rb:24:in `render'
|
5270
|
+
/home/erpe/devel/kblog/app/views/kblog/articles/index.html.erb:3:in `__home_erpe_devel_kblog_app_views_kblog_articles_index_html_erb__2497724549557092766_69975487554700'
|
5271
|
+
actionpack (3.2.12) lib/action_view/template.rb:145:in `block in render'
|
5272
|
+
activesupport (3.2.12) lib/active_support/notifications.rb:125:in `instrument'
|
5273
|
+
actionpack (3.2.12) lib/action_view/template.rb:143:in `render'
|
5274
|
+
actionpack (3.2.12) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
|
5275
|
+
actionpack (3.2.12) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
|
5276
|
+
activesupport (3.2.12) lib/active_support/notifications.rb:123:in `block in instrument'
|
5277
|
+
activesupport (3.2.12) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
5278
|
+
activesupport (3.2.12) lib/active_support/notifications.rb:123:in `instrument'
|
5279
|
+
actionpack (3.2.12) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
|
5280
|
+
actionpack (3.2.12) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
|
5281
|
+
actionpack (3.2.12) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
|
5282
|
+
actionpack (3.2.12) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
|
5283
|
+
actionpack (3.2.12) lib/action_view/renderer/template_renderer.rb:18:in `render'
|
5284
|
+
actionpack (3.2.12) lib/action_view/renderer/renderer.rb:36:in `render_template'
|
5285
|
+
actionpack (3.2.12) lib/action_view/renderer/renderer.rb:17:in `render'
|
5286
|
+
actionpack (3.2.12) lib/abstract_controller/rendering.rb:110:in `_render_template'
|
5287
|
+
actionpack (3.2.12) lib/action_controller/metal/streaming.rb:225:in `_render_template'
|
5288
|
+
actionpack (3.2.12) lib/abstract_controller/rendering.rb:103:in `render_to_body'
|
5289
|
+
actionpack (3.2.12) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
|
5290
|
+
actionpack (3.2.12) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
|
5291
|
+
actionpack (3.2.12) lib/abstract_controller/rendering.rb:88:in `render'
|
5292
|
+
actionpack (3.2.12) lib/action_controller/metal/rendering.rb:16:in `render'
|
5293
|
+
actionpack (3.2.12) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
|
5294
|
+
activesupport (3.2.12) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
|
5295
|
+
/usr/local/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
|
5296
|
+
activesupport (3.2.12) lib/active_support/core_ext/benchmark.rb:5:in `ms'
|
5297
|
+
actionpack (3.2.12) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
|
5298
|
+
actionpack (3.2.12) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
|
5299
|
+
activerecord (3.2.12) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
|
5300
|
+
actionpack (3.2.12) lib/action_controller/metal/instrumentation.rb:39:in `render'
|
5301
|
+
actionpack (3.2.12) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
|
5302
|
+
actionpack (3.2.12) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
|
5303
|
+
actionpack (3.2.12) lib/abstract_controller/base.rb:167:in `process_action'
|
5304
|
+
actionpack (3.2.12) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
5305
|
+
actionpack (3.2.12) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
5306
|
+
activesupport (3.2.12) lib/active_support/callbacks.rb:414:in `_run__3217644258777477530__process_action__179788935368157302__callbacks'
|
5307
|
+
activesupport (3.2.12) lib/active_support/callbacks.rb:405:in `__run_callback'
|
5308
|
+
activesupport (3.2.12) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
|
5309
|
+
activesupport (3.2.12) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
5310
|
+
actionpack (3.2.12) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
5311
|
+
actionpack (3.2.12) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
5312
|
+
actionpack (3.2.12) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
|
5313
|
+
activesupport (3.2.12) lib/active_support/notifications.rb:123:in `block in instrument'
|
5314
|
+
activesupport (3.2.12) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
5315
|
+
activesupport (3.2.12) lib/active_support/notifications.rb:123:in `instrument'
|
5316
|
+
actionpack (3.2.12) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
5317
|
+
actionpack (3.2.12) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
|
5318
|
+
activerecord (3.2.12) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
5319
|
+
actionpack (3.2.12) lib/abstract_controller/base.rb:121:in `process'
|
5320
|
+
actionpack (3.2.12) lib/abstract_controller/rendering.rb:45:in `process'
|
5321
|
+
actionpack (3.2.12) lib/action_controller/metal.rb:203:in `dispatch'
|
5322
|
+
actionpack (3.2.12) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
5323
|
+
actionpack (3.2.12) lib/action_controller/metal.rb:246:in `block in action'
|
5324
|
+
actionpack (3.2.12) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
5325
|
+
actionpack (3.2.12) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
5326
|
+
actionpack (3.2.12) lib/action_dispatch/routing/route_set.rb:36:in `call'
|
5327
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
5328
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
5329
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
5330
|
+
actionpack (3.2.12) lib/action_dispatch/routing/route_set.rb:601:in `call'
|
5331
|
+
railties (3.2.12) lib/rails/engine.rb:479:in `call'
|
5332
|
+
railties (3.2.12) lib/rails/railtie/configurable.rb:30:in `method_missing'
|
5333
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
5334
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
5335
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
5336
|
+
actionpack (3.2.12) lib/action_dispatch/routing/route_set.rb:601:in `call'
|
5337
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
5338
|
+
rack (1.4.5) lib/rack/etag.rb:23:in `call'
|
5339
|
+
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
|
5340
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/head.rb:14:in `call'
|
5341
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
5342
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
5343
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
|
5344
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
|
5345
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/cookies.rb:341:in `call'
|
5346
|
+
activerecord (3.2.12) lib/active_record/query_cache.rb:64:in `call'
|
5347
|
+
activerecord (3.2.12) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
|
5348
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
5349
|
+
activesupport (3.2.12) lib/active_support/callbacks.rb:405:in `_run__19991248692788025__call__4257162749718084565__callbacks'
|
5350
|
+
activesupport (3.2.12) lib/active_support/callbacks.rb:405:in `__run_callback'
|
5351
|
+
activesupport (3.2.12) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
5352
|
+
activesupport (3.2.12) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
5353
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
5354
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/reloader.rb:65:in `call'
|
5355
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
5356
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
5357
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
5358
|
+
railties (3.2.12) lib/rails/rack/logger.rb:32:in `call_app'
|
5359
|
+
railties (3.2.12) lib/rails/rack/logger.rb:16:in `block in call'
|
5360
|
+
activesupport (3.2.12) lib/active_support/tagged_logging.rb:22:in `tagged'
|
5361
|
+
railties (3.2.12) lib/rails/rack/logger.rb:16:in `call'
|
5362
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
5363
|
+
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
5364
|
+
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
5365
|
+
activesupport (3.2.12) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
5366
|
+
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
5367
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/static.rb:62:in `call'
|
5368
|
+
railties (3.2.12) lib/rails/engine.rb:479:in `call'
|
5369
|
+
railties (3.2.12) lib/rails/application.rb:223:in `call'
|
5370
|
+
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
|
5371
|
+
railties (3.2.12) lib/rails/rack/log_tailer.rb:17:in `call'
|
5372
|
+
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
|
5373
|
+
/usr/local/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
5374
|
+
/usr/local/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
5375
|
+
/usr/local/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
5376
|
+
|
5377
|
+
|
5378
|
+
Rendered /usr/local/lib/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
|
5379
|
+
Rendered /usr/local/lib/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
|
5380
|
+
Rendered /usr/local/lib/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.4ms)
|
5381
|
+
|
5382
|
+
|
5383
|
+
Started GET "/kblog/articles" for 127.0.0.1 at 2013-03-06 10:26:20 +0100
|
5384
|
+
Processing by Kblog::ArticlesController#index as HTML
|
5385
|
+
[1m[35mKblog::Article Load (0.2ms)[0m SELECT "kblog_articles".* FROM "kblog_articles" ORDER BY created_at DESC LIMIT 3 OFFSET 0
|
5386
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "kblog_articles" [0m
|
5387
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" LIMIT 1
|
5388
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" LIMIT 1[0m
|
5389
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" LIMIT 1
|
5390
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/_article.html.erb (12.8ms)
|
5391
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/index.html.erb within layouts/kblog/application (22.6ms)
|
5392
|
+
Completed 200 OK in 30ms (Views: 27.4ms | ActiveRecord: 1.3ms)
|
5393
|
+
|
5394
|
+
|
5395
|
+
Started GET "/assets/kblog/application.css?body=1" for 127.0.0.1 at 2013-03-06 10:26:20 +0100
|
5396
|
+
Served asset /kblog/application.css - 304 Not Modified (0ms)
|
5397
|
+
|
5398
|
+
|
5399
|
+
Started GET "/assets/kblog/articles.js?body=1" for 127.0.0.1 at 2013-03-06 10:26:20 +0100
|
5400
|
+
Served asset /kblog/articles.js - 304 Not Modified (0ms)
|
5401
|
+
|
5402
|
+
|
5403
|
+
Started GET "/assets/kblog/articles.css?body=1" for 127.0.0.1 at 2013-03-06 10:26:20 +0100
|
5404
|
+
Served asset /kblog/articles.css - 304 Not Modified (0ms)
|
5405
|
+
|
5406
|
+
|
5407
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-06 10:26:20 +0100
|
5408
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
5409
|
+
|
5410
|
+
|
5411
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-06 10:26:20 +0100
|
5412
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
5413
|
+
|
5414
|
+
|
5415
|
+
Started GET "/assets/kblog/application.js?body=1" for 127.0.0.1 at 2013-03-06 10:26:20 +0100
|
5416
|
+
Served asset /kblog/application.js - 304 Not Modified (1ms)
|
5417
|
+
Connecting to database specified by database.yml
|
5418
|
+
|
5419
|
+
|
5420
|
+
Started GET "/kblog/articles" for 127.0.0.1 at 2013-03-06 10:27:49 +0100
|
5421
|
+
Processing by Kblog::ArticlesController#index as HTML
|
5422
|
+
[1m[36mKblog::Article Load (0.2ms)[0m [1mSELECT "kblog_articles".* FROM "kblog_articles" ORDER BY created_at DESC LIMIT 3 OFFSET 0[0m
|
5423
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "kblog_articles"
|
5424
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" LIMIT 1[0m
|
5425
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" LIMIT 1
|
5426
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" LIMIT 1[0m
|
5427
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/_article.html.erb (12.3ms)
|
5428
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/index.html.erb within layouts/kblog/application (21.3ms)
|
5429
|
+
Completed 200 OK in 28ms (Views: 26.0ms | ActiveRecord: 1.1ms)
|
5430
|
+
|
5431
|
+
|
5432
|
+
Started GET "/assets/kblog/application.css?body=1" for 127.0.0.1 at 2013-03-06 10:27:49 +0100
|
5433
|
+
Served asset /kblog/application.css - 304 Not Modified (0ms)
|
5434
|
+
|
5435
|
+
|
5436
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-06 10:27:49 +0100
|
5437
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
5438
|
+
|
5439
|
+
|
5440
|
+
Started GET "/assets/kblog/articles.css?body=1" for 127.0.0.1 at 2013-03-06 10:27:49 +0100
|
5441
|
+
Served asset /kblog/articles.css - 304 Not Modified (0ms)
|
5442
|
+
|
5443
|
+
|
5444
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-06 10:27:50 +0100
|
5445
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
5446
|
+
|
5447
|
+
|
5448
|
+
Started GET "/assets/kblog/articles.js?body=1" for 127.0.0.1 at 2013-03-06 10:27:50 +0100
|
5449
|
+
Served asset /kblog/articles.js - 304 Not Modified (0ms)
|
5450
|
+
|
5451
|
+
|
5452
|
+
Started GET "/assets/kblog/application.js?body=1" for 127.0.0.1 at 2013-03-06 10:27:50 +0100
|
5453
|
+
Served asset /kblog/application.js - 304 Not Modified (1ms)
|
5454
|
+
|
5455
|
+
|
5456
|
+
Started GET "/kblog/articles" for 127.0.0.1 at 2013-03-06 10:28:05 +0100
|
5457
|
+
Connecting to database specified by database.yml
|
5458
|
+
Processing by Kblog::ArticlesController#index as HTML
|
5459
|
+
[1m[36mKblog::Article Load (0.3ms)[0m [1mSELECT "kblog_articles".* FROM "kblog_articles" ORDER BY created_at DESC LIMIT 3 OFFSET 0[0m
|
5460
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "kblog_articles"
|
5461
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" LIMIT 1[0m
|
5462
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" LIMIT 1
|
5463
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" LIMIT 1[0m
|
5464
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/_article.html.erb (17.0ms)
|
5465
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/index.html.erb within layouts/kblog/application (65.9ms)
|
5466
|
+
Completed 200 OK in 90ms (Views: 86.4ms | ActiveRecord: 2.5ms)
|
5467
|
+
|
5468
|
+
|
5469
|
+
Started GET "/assets/kblog/application.css?body=1" for 127.0.0.1 at 2013-03-06 10:28:06 +0100
|
5470
|
+
Served asset /kblog/application.css - 304 Not Modified (3ms)
|
5471
|
+
|
5472
|
+
|
5473
|
+
Started GET "/assets/kblog/articles.css?body=1" for 127.0.0.1 at 2013-03-06 10:28:06 +0100
|
5474
|
+
Served asset /kblog/articles.css - 304 Not Modified (4ms)
|
5475
|
+
|
5476
|
+
|
5477
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-06 10:28:06 +0100
|
5478
|
+
Served asset /jquery.js - 304 Not Modified (5ms)
|
5479
|
+
|
5480
|
+
|
5481
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-06 10:28:06 +0100
|
5482
|
+
Served asset /jquery_ujs.js - 304 Not Modified (7ms)
|
5483
|
+
|
5484
|
+
|
5485
|
+
Started GET "/assets/kblog/articles.js?body=1" for 127.0.0.1 at 2013-03-06 10:28:06 +0100
|
5486
|
+
Served asset /kblog/articles.js - 304 Not Modified (2ms)
|
5487
|
+
|
5488
|
+
|
5489
|
+
Started GET "/assets/kblog/application.js?body=1" for 127.0.0.1 at 2013-03-06 10:28:06 +0100
|
5490
|
+
Served asset /kblog/application.js - 304 Not Modified (7ms)
|
5491
|
+
Connecting to database specified by database.yml
|
5492
|
+
Connecting to database specified by database.yml
|
5493
|
+
Connecting to database specified by database.yml
|
5494
|
+
|
5495
|
+
|
5496
|
+
Started GET "/kblog/articles" for 127.0.0.1 at 2013-03-06 10:54:17 +0100
|
5497
|
+
Connecting to database specified by database.yml
|
5498
|
+
Processing by Kblog::ArticlesController#index as HTML
|
5499
|
+
[1m[36mKblog::Article Load (0.2ms)[0m [1mSELECT "kblog_articles".* FROM "kblog_articles" ORDER BY created_at DESC LIMIT 3 OFFSET 0[0m
|
5500
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "kblog_articles"
|
5501
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/_article.html.erb (7.6ms)
|
5502
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/index.html.erb within layouts/kblog/application (55.7ms)
|
5503
|
+
Completed 200 OK in 79ms (Views: 76.3ms | ActiveRecord: 2.2ms)
|
5504
|
+
|
5505
|
+
|
5506
|
+
Started GET "/assets/kblog/application.css?body=1" for 127.0.0.1 at 2013-03-06 10:54:18 +0100
|
5507
|
+
Served asset /kblog/application.css - 304 Not Modified (4ms)
|
5508
|
+
|
5509
|
+
|
5510
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-06 10:54:18 +0100
|
5511
|
+
Served asset /jquery.js - 304 Not Modified (8ms)
|
5512
|
+
|
5513
|
+
|
5514
|
+
Started GET "/assets/kblog/articles.css?body=1" for 127.0.0.1 at 2013-03-06 10:54:18 +0100
|
5515
|
+
Served asset /kblog/articles.css - 304 Not Modified (2ms)
|
5516
|
+
|
5517
|
+
|
5518
|
+
Started GET "/assets/kblog/application.js?body=1" for 127.0.0.1 at 2013-03-06 10:54:18 +0100
|
5519
|
+
Served asset /kblog/application.js - 304 Not Modified (10ms)
|
5520
|
+
|
5521
|
+
|
5522
|
+
Started GET "/assets/kblog/articles.js?body=1" for 127.0.0.1 at 2013-03-06 10:54:18 +0100
|
5523
|
+
Served asset /kblog/articles.js - 304 Not Modified (3ms)
|
5524
|
+
|
5525
|
+
|
5526
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-06 10:54:18 +0100
|
5527
|
+
Served asset /jquery_ujs.js - 304 Not Modified (2ms)
|
5528
|
+
|
5529
|
+
|
5530
|
+
Started GET "/kblog/articles" for 127.0.0.1 at 2013-03-06 10:54:59 +0100
|
5531
|
+
Processing by Kblog::ArticlesController#index as HTML
|
5532
|
+
[1m[36mKblog::Article Load (0.3ms)[0m [1mSELECT "kblog_articles".* FROM "kblog_articles" ORDER BY created_at DESC LIMIT 3 OFFSET 0[0m
|
5533
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "kblog_articles"
|
5534
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" LIMIT 1[0m
|
5535
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" LIMIT 1
|
5536
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" LIMIT 1[0m
|
5537
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/_article.html.erb (52.2ms)
|
5538
|
+
Rendered /home/erpe/devel/kblog/app/views/kblog/articles/index.html.erb within layouts/kblog/application (55.7ms)
|
5539
|
+
Completed 200 OK in 62ms (Views: 60.5ms | ActiveRecord: 0.8ms)
|
5540
|
+
|
5541
|
+
|
5542
|
+
Started GET "/assets/kblog/application.css?body=1" for 127.0.0.1 at 2013-03-06 10:54:59 +0100
|
5543
|
+
Served asset /kblog/application.css - 304 Not Modified (0ms)
|
5544
|
+
|
5545
|
+
|
5546
|
+
Started GET "/assets/kblog/articles.css?body=1" for 127.0.0.1 at 2013-03-06 10:54:59 +0100
|
5547
|
+
Served asset /kblog/articles.css - 304 Not Modified (0ms)
|
5548
|
+
|
5549
|
+
|
5550
|
+
Started GET "/assets/kblog/articles.js?body=1" for 127.0.0.1 at 2013-03-06 10:54:59 +0100
|
5551
|
+
Served asset /kblog/articles.js - 304 Not Modified (0ms)
|
5552
|
+
|
5553
|
+
|
5554
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-06 10:54:59 +0100
|
5555
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
5556
|
+
|
5557
|
+
|
5558
|
+
Started GET "/assets/kblog/application.js?body=1" for 127.0.0.1 at 2013-03-06 10:54:59 +0100
|
5559
|
+
Served asset /kblog/application.js - 304 Not Modified (1ms)
|
5560
|
+
|
5561
|
+
|
5562
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-06 10:54:59 +0100
|
5563
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kblog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-03-
|
12
|
+
date: 2013-03-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|