Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 171
- Log:
Initial import of Beast 0.9 from downloaded Tarball. Beast is a Ruby
On Rails based forum application. The original tarball came from the
following location:http://s3.amazonaws.com/beast-forum/beast-0.9.tar.gz
The forum post which announced this version's availability was at:
http://beast.caboo.se/forums/1/topics/446
- Author:
- rool
- Date:
- Fri Mar 02 15:51:55 +0000 2007
- Size:
- 436 Bytes
1 | class ResetCounterCache < ActiveRecord::Migration |
2 | def self.up |
3 | |
4 | Forum.find(:all).each do | forum | |
5 | forum.topics_count=forum.topics.count |
6 | forum.posts_count=forum.posts.count |
7 | forum.save |
8 | end |
9 | |
10 | Post.find(:all).each do | i | |
11 | i.posts_count=i.posts.count |
12 | i.save |
13 | end |
14 | |
15 | User.find(:all).each do | i | |
16 | i.posts_count=i.posts.count |
17 | i.save |
18 | end |
19 | end |
20 | |
21 | def self.down |
22 | end |
23 | end |