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:
- 403 Bytes
1 | class ReAddPostsForumId < ActiveRecord::Migration |
2 | class Topic < ActiveRecord::Base; end |
3 | class Post < ActiveRecord::Base; end |
4 | def self.up |
5 | add_column "posts", "forum_id", :integer |
6 | Topic.find(:all, :select => 'id, forum_id').each do |t| |
7 | Post.update_all ['forum_id = ?', t.forum_id], ['topic_id = ?', t.id] |
8 | end |
9 | end |
10 | |
11 | def self.down |
12 | remove_column "posts", "forum_id" |
13 | end |
14 | end |