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:
- 391 Bytes
1 | class ChangeStickyToInteger < ActiveRecord::Migration |
2 | class Topic < ActiveRecord::Base; end |
3 | def self.up |
4 | sticky_topics = Topic.find_all_by_sticky(true).collect &:id |
5 | change_column :topics, :sticky, :integer, :default => 0 |
6 | Topic.update_all 'sticky=1', ['id in (?)', sticky_topics] |
7 | end |
8 | |
9 | def self.down |
10 | change_column :topics, :sticky, :boolean, :default => false |
11 | end |
12 | end |