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:
- 534 Bytes
1 | class Forum < ActiveRecord::Base |
2 | acts_as_list |
3 | |
4 | validates_presence_of :name |
5 | |
6 | has_many :moderatorships, :dependent => :destroy |
7 | has_many :moderators, :through => :moderatorships, :source => :user, :order => 'users.login' |
8 | |
9 | has_many :topics, :order => 'sticky desc, replied_at desc', :dependent => :destroy do |
10 | def first |
11 | @first_topic ||= find(:first) |
12 | end |
13 | end |
14 | |
15 | has_many :posts, :order => 'posts.created_at desc' do |
16 | def last |
17 | @last_post ||= find(:first, :include => :user, :limit => 1) |
18 | end |
19 | end |
20 | |
21 | end |