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:
- 368 Bytes
1 | class UpdateUserPostCounts < ActiveRecord::Migration |
2 | def self.up |
3 | # old and not needed, we only need to know post count |
4 | remove_column "users", "topics_count" |
5 | # because i think the counts have been off |
6 | User.find(:all).each do | i | |
7 | i.posts_count=i.posts.count |
8 | i.save |
9 | end |
10 | end |
11 | |
12 | def self.down |
13 | raise IrreversibleMigration |
14 | end |
15 | end |