|
app/controllers/topics_controller.rb
|
92 |
use model association (for @topic)
|
aefb9629 |
Jason Lee |
|
app/controllers/topics_controller.rb
|
113 |
use model association (for @topic)
|
aefb9629 |
Jason Lee |
|
app/controllers/photos_controller.rb
|
11 |
use model association (for p)
|
221a48b0 |
Jason Lee |
|
app/controllers/sites_controller.rb
|
17 |
use model association (for @site)
|
81ba12b1 |
Jason Lee |
|
app/controllers/pages_controller.rb
|
51 |
use model association (for @page)
|
5122381a |
Jason Lee |
|
app/controllers/replies_controller.rb
|
7 |
use model association (for @reply)
|
3e104662 |
xdite |
|
app/controllers/cpanel/photos_controller.rb
|
20 |
use model association (for @photo)
|
221a48b0 |
Jason Lee |
|
app/controllers/cpanel/pages_controller.rb
|
33 |
use model association (for @page)
|
1f78529a |
Jason Lee |
|
app/controllers/topics_controller.rb
|
113 |
replace complex creation with factory method (@topic attribute_assignment_count > 2)
|
aefb9629 |
Jason Lee |
|
app/controllers/cpanel/pages_controller.rb
|
33 |
replace complex creation with factory method (@page attribute_assignment_count > 2)
|
1f78529a |
Jason Lee |
|
app/controllers/cpanel/users_controller.rb
|
22 |
replace complex creation with factory method (@user attribute_assignment_count > 2)
|
^5520cba |
Jason Lee |
|
app/controllers/topics_controller.rb
|
23 |
move model logic into model (@node use_count > 4)
|
b1a6bf9d |
Jason Lee |
|
app/controllers/topics_controller.rb
|
54 |
move model logic into model (@topic use_count > 4)
|
aefb9629 |
Jason Lee |
|
app/controllers/topics_controller.rb
|
92 |
move model logic into model (@topic use_count > 4)
|
aefb9629 |
Jason Lee |
|
app/controllers/topics_controller.rb
|
113 |
move model logic into model (@topic use_count > 4)
|
aefb9629 |
Jason Lee |
|
app/controllers/pages_controller.rb
|
51 |
move model logic into model (@page use_count > 4)
|
5122381a |
Jason Lee |
|
app/controllers/cpanel/posts_controller.rb
|
36 |
move model logic into model (@post use_count > 4)
|
5aa19a62 |
Jason Lee |
|
app/controllers/cpanel/pages_controller.rb
|
33 |
move model logic into model (@page use_count > 4)
|
1f78529a |
Jason Lee |
|
app/controllers/cpanel/users_controller.rb
|
22 |
move model logic into model (@user use_count > 4)
|
^5520cba |
Jason Lee |
|
app/controllers/cpanel/users_controller.rb
|
36 |
move model logic into model (@user use_count > 4)
|
^5520cba |
Jason Lee |
|
app/cells/comments_cell.rb
|
3 |
move model logic into model (@commentable use_count > 4)
|
df5b87e0 |
Jason Lee |
|
config/routes.rb
|
40 |
overuse route customizations (customize_count > 3)
|
5aa19a62 |
Jason Lee |
|
app/models/user.rb
|
89 |
keep finders on their own model
|
c28fae41 |
Forrest Ye |
|
app/views/replies/_reply.html.erb
|
10 |
law of demeter
|
15dbb528 |
quake wang |
|
app/views/cpanel/nodes/index.html.erb
|
20 |
law of demeter
|
1fc1936e |
Jason Lee |
|
app/views/cpanel/posts/_form.html.erb
|
21 |
law of demeter
|
121e2c65 |
Jason Lee |
|
app/views/cpanel/posts/index.html.erb
|
20 |
law of demeter
|
121e2c65 |
Jason Lee |
|
app/views/cpanel/replies/_form.html.erb
|
15 |
law of demeter
|
121e2c65 |
Jason Lee |
|
app/views/cpanel/replies/index.html.erb
|
23 |
law of demeter
|
84e6ea9a |
xdite |
|
app/views/cpanel/replies/index.html.erb
|
28 |
law of demeter
|
121e2c65 |
Jason Lee |
|
app/views/cpanel/topics/_form.html.erb
|
27 |
law of demeter
|
121e2c65 |
Jason Lee |
|
app/views/cpanel/topics/index.html.erb
|
21 |
law of demeter
|
1fc1936e |
Jason Lee |
|
app/views/cpanel/topics/index.html.erb
|
22 |
law of demeter
|
121e2c65 |
Jason Lee |
|
app/views/cpanel/photos/show.html.erb
|
8 |
law of demeter
|
121e2c65 |
Jason Lee |
|
app/views/cpanel/photos/index.html.erb
|
17 |
law of demeter
|
121e2c65 |
Jason Lee |
|
lib/tasks/like.rake
|
7 |
law of demeter
|
afbfd504 |
chitsaou |
|
app/views/topics/feed.builder
|
12 |
law of demeter
|
121e2c65 |
Jason Lee |
|
app/views/topics/node_feed.builder
|
11 |
law of demeter
|
19a23eb1 |
Domon |
|
app/models/user.rb
|
136 |
use observer
|
01e7a70e |
Jason Lee |
|
db/schema.rb
|
15 |
always add db index (authorizations => [user_id])
|
4d50c8a3 |
Jason Lee |
|
db/schema.rb
|
54 |
always add db index (photos => [user_id])
|
221a48b0 |
Jason Lee |
|
db/schema.rb
|
83 |
always add db index (topics => [last_reply_user_id])
|
^5520cba |
Jason Lee |
|
app/controllers/notes_controller.rb
|
30,46,56 |
use before_filter for edit,update,destroy
|
34fc9d30 |
Jason Lee |
|
app/controllers/topics_controller.rb
|
84,113,127 |
use before_filter for edit,update,destroy
|
aefb9629 |
Jason Lee |
|
app/controllers/application_controller.rb
|
26,30,34 |
use before_filter for notice_success,notice_error,notice_warning
|
c325b982 |
Jason Lee |
|
app/controllers/cpanel/topics_controller.rb
|
9,19,33,43,50,56,63 |
use before_filter for show,edit,update,destroy,undestroy,suggest,unsuggest
|
^5520cba |
Jason Lee |
|
app/controllers/cpanel/photos_controller.rb
|
8,16,30,39 |
use before_filter for show,edit,update,destroy
|
221a48b0 |
Jason Lee |
|
app/controllers/cpanel/comments_controller.rb
|
8,12,22 |
use before_filter for edit,update,destroy
|
565a5b9d |
Jason Lee |
|
app/controllers/cpanel/page_versions_controller.rb
|
6,11,16 |
use before_filter for index,show,revert
|
afde129f |
Jason Lee |
|
app/controllers/cpanel/site_nodes_controller.rb
|
13,31,49,63 |
use before_filter for show,edit,update,destroy
|
81ba12b1 |
Jason Lee |
|
app/controllers/cpanel/posts_controller.rb
|
8,21,36,51 |
use before_filter for show,edit,update,destroy
|
5aa19a62 |
Jason Lee |
|
app/controllers/cpanel/sites_controller.rb
|
13,31,49,63 |
use before_filter for show,edit,update,destroy
|
81ba12b1 |
Jason Lee |
|
app/controllers/cpanel/sections_controller.rb
|
9,18,32,42 |
use before_filter for show,edit,update,destroy
|
^5520cba |
Jason Lee |
|
app/controllers/cpanel/pages_controller.rb
|
9,19,33,48 |
use before_filter for show,edit,update,destroy
|
1f78529a |
Jason Lee |
|
app/controllers/cpanel/replies_controller.rb
|
8,20,35,45 |
use before_filter for show,edit,update,destroy
|
^5520cba |
Jason Lee |
|
app/controllers/cpanel/users_controller.rb
|
9,18,36,50 |
use before_filter for show,edit,update,destroy
|
^5520cba |
Jason Lee |
|
app/controllers/cpanel/nodes_controller.rb
|
8,16,30,40 |
use before_filter for show,edit,update,destroy
|
^5520cba |
Jason Lee |
|
app/views/pages/_form.html.erb
|
1 |
replace instance variable with local variable
|
5d3b44da |
xdite |
|
app/views/pages/_form.html.erb
|
4 |
replace instance variable with local variable
|
d2657bd7 |
Jason Lee |
|
app/views/pages/_form.html.erb
|
21 |
replace instance variable with local variable
|
afde129f |
Jason Lee |
|
app/views/posts/_form.html.erb
|
2 |
replace instance variable with local variable
|
43385710 |
xdite |
|
app/views/posts/_form.html.erb
|
5 |
replace instance variable with local variable
|
5aa19a62 |
Jason Lee |
|
app/views/replies/_reply.html.erb
|
8 |
replace instance variable with local variable
|
b104817e |
Jason Lee |
|
app/views/notes/_form.html.erb
|
1 |
replace instance variable with local variable
|
2660ec35 |
xdite |
|
app/views/notes/_form.html.erb
|
3 |
replace instance variable with local variable
|
3b3d1d38 |
Jason Lee |
|
app/views/users/_menu.html.erb
|
2 |
replace instance variable with local variable
|
bfaa9d7e |
hSATAC |
|
app/views/users/_menu.html.erb
|
3 |
replace instance variable with local variable
|
bfaa9d7e |
hSATAC |
|
app/views/users/_menu.html.erb
|
4 |
replace instance variable with local variable
|
bfaa9d7e |
hSATAC |
|
app/views/users/_info.html.erb
|
4 |
replace instance variable with local variable
|
8ecb0144 |
Jason Lee |
|
app/views/users/_info.html.erb
|
6 |
replace instance variable with local variable
|
714cf56b |
Jason Lee |
|
app/views/users/_info.html.erb
|
8 |
replace instance variable with local variable
|
ba33dbb3 |
Jason Lee |
|
app/views/users/_info.html.erb
|
9 |
replace instance variable with local variable
|
ba33dbb3 |
Jason Lee |
|
app/views/users/_info.html.erb
|
10 |
replace instance variable with local variable
|
ba33dbb3 |
Jason Lee |
|
app/views/users/_info.html.erb
|
11 |
replace instance variable with local variable
|
ba33dbb3 |
Jason Lee |
|
app/views/users/_info.html.erb
|
13 |
replace instance variable with local variable
|
bdb17d25 |
Jason Lee |
|
app/views/users/_info.html.erb
|
14 |
replace instance variable with local variable
|
bdb17d25 |
Jason Lee |
|
app/views/users/_info.html.erb
|
17 |
replace instance variable with local variable
|
bdb17d25 |
Jason Lee |
|
app/views/users/_info.html.erb
|
19 |
replace instance variable with local variable
|
bdb17d25 |
Jason Lee |
|
app/views/users/_info.html.erb
|
20 |
replace instance variable with local variable
|
bdb17d25 |
Jason Lee |
|
app/views/users/_info.html.erb
|
23 |
replace instance variable with local variable
|
bdb17d25 |
Jason Lee |
|
app/views/users/_info.html.erb
|
24 |
replace instance variable with local variable
|
bdb17d25 |
Jason Lee |
|
app/views/users/_info.html.erb
|
32 |
replace instance variable with local variable
|
5a2641b0 |
Jason Lee |
|
app/views/users/_info.html.erb
|
35 |
replace instance variable with local variable
|
5a2641b0 |
Jason Lee |
|
app/views/sites/_form.html.erb
|
2 |
replace instance variable with local variable
|
81ba12b1 |
Jason Lee |
|
app/views/sites/_form.html.erb
|
3 |
replace instance variable with local variable
|
81ba12b1 |
Jason Lee |
|
app/views/topics/_form.html.erb
|
1 |
replace instance variable with local variable
|
a90fbfc8 |
xdite |
|
app/views/topics/_form.html.erb
|
3 |
replace instance variable with local variable
|
892e731c |
xdite |
|
app/views/topics/_form.html.erb
|
4 |
replace instance variable with local variable
|
3b3d1d38 |
Jason Lee |
|
app/views/topics/_form.html.erb
|
21 |
replace instance variable with local variable
|
af52857d |
xdite |
|
app/views/topics/_form.html.erb
|
21 |
replace instance variable with local variable
|
af52857d |
xdite |
|
app/views/topics/_sidebar_for_topic_node.html.erb
|
1 |
replace instance variable with local variable
|
cab35f18 |
xdite |
|
app/views/topics/_sidebar_for_new_topic.html.erb
|
2 |
replace instance variable with local variable
|
929453e7 |
xdite |
|
app/views/topics/_base.html.erb
|
9 |
replace instance variable with local variable
|
3b3d1d38 |
Jason Lee |
|
app/views/topics/_base.html.erb
|
10 |
replace instance variable with local variable
|
d1e852e7 |
Jason Lee |
|
app/views/topics/_base.html.erb
|
10 |
replace instance variable with local variable
|
d1e852e7 |
Jason Lee |
|
app/views/cpanel/nodes/_form.html.erb
|
1 |
replace instance variable with local variable
|
269908e8 |
Jason Lee |
|
app/views/cpanel/nodes/_form.html.erb
|
4 |
replace instance variable with local variable
|
3b3d1d38 |
Jason Lee |
|
app/views/cpanel/pages/_form.html.erb
|
1 |
replace instance variable with local variable
|
1f78529a |
Jason Lee |
|
app/views/cpanel/pages/_form.html.erb
|
4 |
replace instance variable with local variable
|
1f78529a |
Jason Lee |
|
app/views/cpanel/posts/_form.html.erb
|
1 |
replace instance variable with local variable
|
5aa19a62 |
Jason Lee |
|
app/views/cpanel/posts/_form.html.erb
|
4 |
replace instance variable with local variable
|
5aa19a62 |
Jason Lee |
|
app/views/cpanel/posts/_form.html.erb
|
21 |
replace instance variable with local variable
|
121e2c65 |
Jason Lee |
|
app/views/cpanel/posts/_form.html.erb
|
21 |
replace instance variable with local variable
|
121e2c65 |
Jason Lee |
|
app/views/cpanel/replies/_form.html.erb
|
1 |
replace instance variable with local variable
|
1fc1936e |
Jason Lee |
|
app/views/cpanel/replies/_form.html.erb
|
1 |
replace instance variable with local variable
|
1fc1936e |
Jason Lee |
|
app/views/cpanel/replies/_form.html.erb
|
1 |
replace instance variable with local variable
|
1fc1936e |
Jason Lee |
|
app/views/cpanel/replies/_form.html.erb
|
4 |
replace instance variable with local variable
|
3b3d1d38 |
Jason Lee |
|
app/views/cpanel/replies/_form.html.erb
|
15 |
replace instance variable with local variable
|
121e2c65 |
Jason Lee |
|
app/views/cpanel/sections/_form.html.erb
|
1 |
replace instance variable with local variable
|
269908e8 |
Jason Lee |
|
app/views/cpanel/sections/_form.html.erb
|
4 |
replace instance variable with local variable
|
269908e8 |
Jason Lee |
|
app/views/cpanel/users/_form.html.erb
|
1 |
replace instance variable with local variable
|
269908e8 |
Jason Lee |
|
app/views/cpanel/users/_form.html.erb
|
2 |
replace instance variable with local variable
|
269908e8 |
Jason Lee |
|
app/views/cpanel/users/_form.html.erb
|
42 |
replace instance variable with local variable
|
b1333271 |
Jason Lee |
|
app/views/cpanel/users/_form.html.erb
|
59 |
replace instance variable with local variable
|
3aad6b1e |
Jason Lee |
|
app/views/cpanel/users/_form.html.erb
|
61 |
replace instance variable with local variable
|
3aad6b1e |
Jason Lee |
|
app/views/cpanel/sites/_form.html.erb
|
3 |
replace instance variable with local variable
|
81ba12b1 |
Jason Lee |
|
app/views/cpanel/sites/_form.html.erb
|
4 |
replace instance variable with local variable
|
81ba12b1 |
Jason Lee |
|
app/views/cpanel/topics/_form.html.erb
|
1 |
replace instance variable with local variable
|
269908e8 |
Jason Lee |
|
app/views/cpanel/topics/_form.html.erb
|
4 |
replace instance variable with local variable
|
269908e8 |
Jason Lee |
|
app/views/cpanel/topics/_form.html.erb
|
27 |
replace instance variable with local variable
|
121e2c65 |
Jason Lee |
|
app/views/cpanel/topics/_form.html.erb
|
27 |
replace instance variable with local variable
|
121e2c65 |
Jason Lee |
|
app/views/cpanel/comments/_form.html.erb
|
1 |
replace instance variable with local variable
|
565a5b9d |
Jason Lee |
|
app/views/cpanel/comments/_form.html.erb
|
4 |
replace instance variable with local variable
|
565a5b9d |
Jason Lee |
|
app/views/cpanel/site_nodes/_form.html.erb
|
3 |
replace instance variable with local variable
|
81ba12b1 |
Jason Lee |
|
app/views/cpanel/site_nodes/_form.html.erb
|
4 |
replace instance variable with local variable
|
81ba12b1 |
Jason Lee |
|
app/views/cpanel/photos/_form.html.erb
|
1 |
replace instance variable with local variable
|
269908e8 |
Jason Lee |
|
app/views/cpanel/photos/_form.html.erb
|
4 |
replace instance variable with local variable
|
269908e8 |
Jason Lee |
|
app/views/cpanel/site_configs/_form.html.erb
|
1 |
replace instance variable with local variable
|
5122381a |
Jason Lee |
|
app/views/cpanel/site_configs/_form.html.erb
|
4 |
replace instance variable with local variable
|
5122381a |
Jason Lee |
|
app/views/search/_page.html.erb
|
2 |
replace instance variable with local variable
|
5103145f |
Jason Lee |
|
app/views/search/_page.html.erb
|
6 |
replace instance variable with local variable
|
5103145f |
Jason Lee |
|
app/views/search/_topic.html.erb
|
2 |
replace instance variable with local variable
|
5103145f |
Jason Lee |
|
app/views/search/_topic.html.erb
|
6 |
replace instance variable with local variable
|
5103145f |
Jason Lee |
|
app/models/user/omniauth_callbacks.rb
|
38 |
use query attribute (user.login?)
|
2d22854c |
Forrest Ye |
|
app/views/topics/_topic.html.erb
|
25 |
use query attribute (topic.last_reply_user_login?)
|
3957bfd9 |
Jason Lee |
|
app/mailers/user_mailer.rb
|
3 |
use multipart/alternative as content_type of email
|
26d3a8fc |
Jason Lee |
|
app/views/topics/_sidebar_for_topic_recent.html.erb
|
1 |
simplify render in views
|
cab35f18 |
xdite |
|
app/views/topics/_sidebar_for_topic_index.html.erb
|
1 |
simplify render in views
|
f7986a0f |
xdite |
|
app/views/topics/_sidebar_for_topic_index.html.erb
|
3 |
simplify render in views
|
1987aaa2 |
Jason Lee |
|
app/controllers/notes_controller.rb
|
42 |
simplify render in controllers
|
34fc9d30 |
Jason Lee |
|
app/controllers/notes_controller.rb
|
52 |
simplify render in controllers
|
34fc9d30 |
Jason Lee |
|
app/controllers/topics_controller.rb
|
28 |
simplify render in controllers
|
9ef45667 |
xdite |
|
app/controllers/topics_controller.rb
|
42 |
simplify render in controllers
|
9ef45667 |
xdite |
|
app/controllers/topics_controller.rb
|
51 |
simplify render in controllers
|
9ef45667 |
xdite |
|
app/controllers/topics_controller.rb
|
101 |
simplify render in controllers
|
aefb9629 |
Jason Lee |
|
app/controllers/topics_controller.rb
|
123 |
simplify render in controllers
|
aefb9629 |
Jason Lee |
|
app/controllers/photos_controller.rb
|
49 |
simplify render in controllers
|
221a48b0 |
Jason Lee |
|
app/controllers/posts_controller.rb
|
47 |
simplify render in controllers
|
5aa19a62 |
Jason Lee |
|
app/controllers/posts_controller.rb
|
57 |
simplify render in controllers
|
5aa19a62 |
Jason Lee |
|
app/controllers/sites_controller.rb
|
25 |
simplify render in controllers
|
81ba12b1 |
Jason Lee |
|
app/controllers/pages_controller.rb
|
59 |
simplify render in controllers
|
d2657bd7 |
Jason Lee |
|
app/controllers/pages_controller.rb
|
71 |
simplify render in controllers
|
d2657bd7 |
Jason Lee |
|
app/controllers/replies_controller.rb
|
32 |
simplify render in controllers
|
63ac2878 |
Jason Lee |
|
app/controllers/cpanel/topics_controller.rb
|
29 |
simplify render in controllers
|
a60d23c5 |
Forrest Ye |
|
app/controllers/cpanel/topics_controller.rb
|
39 |
simplify render in controllers
|
a60d23c5 |
Forrest Ye |
|
app/controllers/cpanel/photos_controller.rb
|
26 |
simplify render in controllers
|
221a48b0 |
Jason Lee |
|
app/controllers/cpanel/photos_controller.rb
|
35 |
simplify render in controllers
|
221a48b0 |
Jason Lee |
|
app/controllers/cpanel/comments_controller.rb
|
18 |
simplify render in controllers
|
565a5b9d |
Jason Lee |
|
app/controllers/cpanel/site_nodes_controller.rb
|
43 |
simplify render in controllers
|
81ba12b1 |
Jason Lee |
|
app/controllers/cpanel/site_nodes_controller.rb
|
57 |
simplify render in controllers
|
81ba12b1 |
Jason Lee |
|
app/controllers/cpanel/posts_controller.rb
|
32 |
simplify render in controllers
|
5e75faca |
xdite |
|
app/controllers/cpanel/posts_controller.rb
|
47 |
simplify render in controllers
|
5e75faca |
xdite |
|
app/controllers/cpanel/sites_controller.rb
|
43 |
simplify render in controllers
|
81ba12b1 |
Jason Lee |
|
app/controllers/cpanel/sites_controller.rb
|
57 |
simplify render in controllers
|
81ba12b1 |
Jason Lee |
|
app/controllers/cpanel/sections_controller.rb
|
28 |
simplify render in controllers
|
5e75faca |
xdite |
|
app/controllers/cpanel/sections_controller.rb
|
38 |
simplify render in controllers
|
5e75faca |
xdite |
|
app/controllers/cpanel/site_configs_controller.rb
|
18 |
simplify render in controllers
|
5122381a |
Jason Lee |
|
app/controllers/cpanel/pages_controller.rb
|
29 |
simplify render in controllers
|
a60d23c5 |
Forrest Ye |
|
app/controllers/cpanel/pages_controller.rb
|
44 |
simplify render in controllers
|
5e75faca |
xdite |
|
app/controllers/cpanel/replies_controller.rb
|
31 |
simplify render in controllers
|
5e75faca |
xdite |
|
app/controllers/cpanel/replies_controller.rb
|
41 |
simplify render in controllers
|
a60d23c5 |
Forrest Ye |
|
app/controllers/cpanel/users_controller.rb
|
32 |
simplify render in controllers
|
5e75faca |
xdite |
|
app/controllers/cpanel/users_controller.rb
|
46 |
simplify render in controllers
|
5e75faca |
xdite |
|
app/controllers/cpanel/nodes_controller.rb
|
26 |
simplify render in controllers
|
5e75faca |
xdite |
|
app/controllers/cpanel/nodes_controller.rb
|
36 |
simplify render in controllers
|
5e75faca |
xdite |
|
app/helpers/photos_helper.rb
|
1 |
remove empty helpers
|
221a48b0 |
Jason Lee |
|
app/helpers/sites_helper.rb
|
1 |
remove empty helpers
|
81ba12b1 |
Jason Lee |
|
app/helpers/sections_helper.rb
|
2 |
remove empty helpers
|
^5520cba |
Jason Lee |
|
app/helpers/cpanel/comments_helper.rb
|
2 |
remove empty helpers
|
63fbbccc |
James Chen |
|
app/helpers/cpanel/site_nodes_helper.rb
|
1 |
remove empty helpers
|
81ba12b1 |
Jason Lee |
|
app/helpers/cpanel/sites_helper.rb
|
1 |
remove empty helpers
|
81ba12b1 |
Jason Lee |
|
config/routes.rb
|
2 |
restrict auto-generated routes (:only => [:new, :create, :index])
|
81ba12b1 |
Jason Lee |
|
config/routes.rb
|
35 |
restrict auto-generated routes (:only => [:index])
|
6562c1a6 |
Jason Lee |
|
config/routes.rb
|
49 |
restrict auto-generated routes (:only => [:create, :edit, :update])
|
3e104662 |
xdite |
|
config/routes.rb
|
52 |
restrict auto-generated routes (:only => [:create])
|
221a48b0 |
Jason Lee |
|
config/routes.rb
|
57 |
restrict auto-generated routes (:only => [:create, :destroy])
|
5a2641b0 |
Jason Lee |
|
config/routes.rb
|
65 |
restrict auto-generated routes (:only => [:edit, :update, :index])
|
5122381a |
Jason Lee |
|
config/routes.rb
|
80 |
restrict auto-generated routes (:only => [:show, :index])
|
afde129f |
Jason Lee |
|
config/routes.rb
|
86 |
restrict auto-generated routes (:only => [:edit, :update, :destroy, :index])
|
565a5b9d |
Jason Lee |
|
m/app/models/user.rb
|
87 |
remove unused methods (User#new_with_session)
|
|
|
|
app/models/user.rb
|
95 |
remove unused methods (User#find_for_database_authentication)
|
869b6139 |
Rei |
|
app/models/user.rb
|
150 |
remove unused methods (User#find_or_create_guest)
|
859f459b |
Jason Lee |
|
app/models/user.rb
|
165 |
remove unused methods (User#update_with_password)
|
831852c4 |
Jason Lee |
|
m/app/models/repository.rb
|
81 |
remove unused methods (Repository#delete_collaborator)
|
|
|
|
0/rails-bestpractices.com/app/models/job.rb
|
44 |
remove unused methods (Job#job_type_names)
|
|
|
|
0/rails-bestpractices.com/app/models/job.rb
|
60 |
remove unused methods (Job#publish!)
|
|
|
|
0/rails-bestpractices.com/app/models/post.rb
|
76 |
remove unused methods (Post#publish!)
|
|
|
|
0/rails-bestpractices.com/app/models/question.rb
|
30 |
remove unused methods (Question#not_answered)
|
|
|
|
app/models/sunspot/mongoid.rb
|
37 |
remove unused methods (Sunspot::Mongoid::DataAccessor#load)
|
5103145f |
Jason Lee |
|
app/models/sunspot/mongoid.rb
|
41 |
remove unused methods (Sunspot::Mongoid::DataAccessor#load_all)
|
5103145f |
Jason Lee |
|
app/models/topic.rb
|
75 |
remove unused methods (Topic#pull_follower)
|
26d3a8fc |
Jason Lee |
|
app/models/topic.rb
|
88 |
remove unused methods (Topic#find_by_message_id)
|
859f459b |
Jason Lee |
|
app/models/reply.rb
|
48 |
remove unused methods (Reply#mentioned_user_logins)
|
972d9835 |
Jason Lee |
|
app/controllers/application_controller.rb
|
9 |
remove unused methods (ApplicationController#render_403)
|
deaa65a1 |
Jason Lee |
|
app/controllers/application_controller.rb
|
26 |
remove unused methods (ApplicationController#notice_success)
|
c325b982 |
Jason Lee |
|
app/controllers/application_controller.rb
|
30 |
remove unused methods (ApplicationController#notice_error)
|
c325b982 |
Jason Lee |
|
app/controllers/application_controller.rb
|
34 |
remove unused methods (ApplicationController#notice_warning)
|
85647979 |
Fred Wu |
|
app/controllers/application_controller.rb
|
46 |
remove unused methods (ApplicationController#store_location)
|
6b259667 |
Jason Lee |
|
app/controllers/application_controller.rb
|
50 |
remove unused methods (ApplicationController#redirect_back_or_default)
|
6b259667 |
Jason Lee |
|
app/controllers/topics_controller.rb
|
145 |
remove unused methods (TopicsController#init_list_sidebar)
|
a60d23c5 |
Forrest Ye |
|
app/helpers/application_helper.rb
|
57 |
remove unused methods (ApplicationHelper#spaceless)
|
5a2641b0 |
Jason Lee |
|
app/helpers/users_helper.rb
|
64 |
remove unused methods (UsersHelper#render_user_github_url)
|
a4b11f4d |
xdite |
|
app/helpers/search_helper.rb
|
2 |
remove unused methods (SearchHelper#search_result_highlight)
|
5103145f |
Jason Lee |
|
app/models/user.rb
|
235 |
remove trailing whitespace
|
34817b6d |
Jason Lee |
|
app/models/site.rb
|
19 |
remove trailing whitespace
|
2780282b |
Jason Lee |
|
app/helpers/users_helper.rb
|
33 |
remove trailing whitespace
|
8ecb0144 |
Jason Lee |
|
app/helpers/topics_helper.rb
|
8 |
remove trailing whitespace
|
fcbcd5a1 |
Jason Lee |
|
config/initializers/markdown.rb
|
7 |
remove trailing whitespace
|
83c50209 |
Jason Lee |
|
config/application.rb
|
49 |
remove trailing whitespace
|
d4aa042c |
Jason Lee |
|
app/views/pages/_form.html.erb
|
8 |
remove trailing whitespace
|
b4b2c123 |
xdite |
|
app/views/shared/_error_messages.html.erb
|
1 |
remove trailing whitespace
|
0f428771 |
Jason Lee |
|
app/views/posts/_form.html.erb
|
7 |
remove trailing whitespace
|
43385710 |
xdite |
|
app/views/posts/show.html.erb
|
16 |
remove trailing whitespace
|
5aa19a62 |
Jason Lee |
|
app/views/replies/edit.html.erb
|
17 |
remove trailing whitespace
|
63ac2878 |
Jason Lee |
|
app/views/devise/passwords/edit.html.erb
|
12 |
remove trailing whitespace
|
3b3d1d38 |
Jason Lee |
|
app/views/devise/passwords/new.html.erb
|
12 |
remove trailing whitespace
|
3b3d1d38 |
Jason Lee |
|
app/views/devise/menu/_registration_items.html.erb
|
4 |
remove trailing whitespace
|
6b259667 |
Jason Lee |
|
app/views/notes/_form.html.erb
|
13 |
remove trailing whitespace
|
f6b0063a |
HungYuHei |
|
app/views/notes/show.html.erb
|
17 |
remove trailing whitespace
|
8fdc4c69 |
Jason Lee |
|
app/views/users/location.html.erb
|
12 |
remove trailing whitespace
|
c46cb1e6 |
Jason Lee |
|
app/views/users/index.html.erb
|
3 |
remove trailing whitespace
|
d1213937 |
Jason Lee |
|
app/views/users/_info.html.erb
|
16 |
remove trailing whitespace
|
cc64f66e |
xdite |
|
app/views/sites/index.html.erb
|
16 |
remove trailing whitespace
|
81ba12b1 |
Jason Lee |
|
app/views/layouts/cpanel.html.erb
|
5 |
remove trailing whitespace
|
e53b57c5 |
Jason Lee |
|
app/views/layouts/application.html.erb
|
16 |
remove trailing whitespace
|
20222a3b |
Jason Lee |
|
app/views/topics/_topic_info.html.erb
|
4 |
remove trailing whitespace
|
6909e2bb |
Jason Lee |
|
app/views/topics/_form.html.erb
|
4 |
remove trailing whitespace
|
3b3d1d38 |
Jason Lee |
|
app/views/topics/show.html.erb
|
49 |
remove trailing whitespace
|
ffe7ee55 |
Jason Lee |
|
app/views/topics/index.html.erb
|
12 |
remove trailing whitespace
|
3c566ee1 |
xdite |
|
app/views/account/edit.html.erb
|
7 |
remove trailing whitespace
|
eb274583 |
Jason Lee |
|
app/views/account/new.html.erb
|
7 |
remove trailing whitespace
|
3b3d1d38 |
Jason Lee |
|
app/views/cpanel/sections/index.html.erb
|
16 |
remove trailing whitespace
|
8d4c450c |
Jason Lee |
|
app/views/cpanel/users/_form.html.erb
|
57 |
remove trailing whitespace
|
6b259667 |
Jason Lee |
|
app/views/cpanel/topics/index.html.erb
|
38 |
remove trailing whitespace
|
1952469b |
Jason Lee |
|
app/views/cpanel/comments/index.html.erb
|
20 |
remove trailing whitespace
|
565a5b9d |
Jason Lee |
|
app/views/cpanel/page_versions/show.html.erb
|
2 |
remove trailing whitespace
|
afde129f |
Jason Lee |
|
app/views/cpanel/page_versions/index.html.erb
|
2 |
remove trailing whitespace
|
afde129f |
Jason Lee |
|
app/views/topic_mailer/new_reply.html.erb
|
2 |
remove trailing whitespace
|
26d3a8fc |
Jason Lee |
|
lib/tasks/assets/resprite.rake
|
4 |
remove trailing whitespace
|
7dedb035 |
Jason Lee |
|
app/views/topics/feed.builder
|
1 |
remove trailing whitespace
|
c7541c85 |
Jason Lee |
|
app/views/topics/node_feed.builder
|
1 |
remove trailing whitespace
|
19a23eb1 |
Domon |
|
config/deploy.rb
|
55 |
remove tab, use spaces instead
|
fd46b5b4 |
Jason Lee |