brady8/thumbs_up — Issue #37: Votable id broken and other fields too with the new tally
Author: grigio
Created: 2012-02-23 16:15:13+00:00
State: open

```
1.8.7 :018 > Talk.all.last
Talk Load (0.2ms) SELECT "talks".* FROM "talks"
=> #
```

```
1.8.7 :019 > Talk.tally.all.last
Talk Load (0.6ms) SELECT talks.*, votes.*, COUNT(votes.id) AS vote_count FROM "talks" LEFT OUTER JOIN votes ON talks.id = votes.voteable_id GROUP BY talks.id ORDER BY vote_count DESC
=> #
```