18 Commits

Author SHA1 Message Date
Rei
d0a97e8554 User default counter cahce and touch option, and fix for trashed status 2014-04-05 14:21:12 +08:00
Rei
5a18d47294 Don't clean likes after topic/comment trash 2014-04-05 11:09:42 +08:00
Rei
be45b31151 Update category topics_count when update topic, fix #15 2014-03-17 14:39:17 +08:00
Rei
47daf91bc8 Delete likes after likeable trash 2014-03-07 16:11:32 +08:00
Rei
017d3a6d78 Set trashed false as default_scope 2014-02-28 19:15:24 +08:00
Rei
d47e66d42e Fix topics counter cache 2014-02-16 19:18:45 +08:00
Rei
6536562375 Fix comments counter cache and topic hot update 2014-02-16 19:12:57 +08:00
Rei
f656fcf86a Replace trashed column with trashed_at for trashable 2014-02-10 23:18:57 +08:00
Rei
4b107831b5 More Subscribable method 2014-02-05 20:12:58 +08:00
Rei
c450878a82 Edit Deletable to Trashable 2014-02-03 20:52:42 +08:00
Rei
722ca48696 Remove post logic 2014-01-31 20:01:48 +08:00
Rei
8780393eb4 Deletable concerns for Topic and Post model 2014-01-28 16:53:43 +08:00
Rei
24f914ed09 Topic posts counter cache 2014-01-25 15:38:01 +08:00
Rei
2707336106 New topic calculate hot method 2014-01-25 15:32:01 +08:00
Rei
ab1fbe23b6 Remove post_votes 2014-01-25 13:02:56 +08:00
Rei
e7b59d7cfb Change topic score rule, equal main_post score 2014-01-17 01:19:27 +08:00
Rei
a58044a8b8 Topic#calculate_hot logic 2014-01-16 21:56:50 +08:00
Rei
5db7939128 Init Topic and Post model 2014-01-05 16:11:01 +08:00