Permalink
Browse files

Fix order of faved or retweeted users

  • Loading branch information...
1 parent 78b55d2 commit d00c4cf7f73c7c2cd46eac32b9bbc01e19d982c4 @rhenium rhenium committed Mar 18, 2013
Showing with 2 additions and 23 deletions.
  1. +1 −22 README.md
  2. +1 −1 app/views/shared/_tweet.haml
View
@@ -11,27 +11,6 @@ A web service like Favstar.
## Requirements
* Ruby 1.9.3+
-* MySQL or SQLite
+* MySQL
-## Installation (dotCloud)
-1.
-
- git clone https://github.com/re4k/aclog.git
- bundle
-
- dotcloud push
- *~(**)~*
-
-2.
-
- cp dotcloud.yml.sample dotcloud.yml
- (Edit)
-
-3.
-
- cp config/settings.yml.sample config/settings.yml
- (Edit)
-3.
-
- (今度書きます..)
@@ -19,7 +19,7 @@
%span.source
= raw format_source_text(item.source)
.stats
- - [["FAVS", item.favorites, "favs"], ["RETWEETS", item.retweets, "retweets"]].select{|m| m[1].size > 0}.each do |type, actions, cssclass|
+ - [["FAVS", item.favorites.order("id"), "favs"], ["RETWEETS", item.retweets.order("id"), "retweets"]].select{|m| m[1].size > 0}.each do |type, actions, cssclass|
%div{:class => "#{cssclass} clearfix"}
.info
%span.count= actions.size

0 comments on commit d00c4cf

Please sign in to comment.