Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 11
- Log:
Applied acts_as_authenticated patch described here:
http://www.ruby-forum.com/topic/71303Archive obtained from:
http://clanwhiskey.net/bobfunk/rforum_modification.zipNote that the patch is for RForum 0.2 but it is being applied to a
slightly newer version. The database migration step has had to be
renamed as a result, to 008_... instead of 005_..., since 005 to
007 are now used.
- Author:
- adh
- Date:
- Sat Jul 22 20:23:23 +0100 2006
- Size:
- 460 Bytes
1 | class ActsAsAuthenticatedModifications < ActiveRecord::Migration |
2 | def self.up |
3 | add_column :users, :salt, :string, :limit => 40 |
4 | change_column :users, :security_token, :string, :limit => 40 |
5 | change_column :users, :password, :string, :limit => 40, :null => false |
6 | end |
7 | |
8 | def self.down |
9 | remove_column :users, :salt |
10 | change_column :users, :security_token, :string, :limit => 32 |
11 | change_column :users, :password, :string, :limit => 60 |
12 | end |
13 | end |