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:
- 649 Bytes
1 | class ApplicationController < ActionController::Base |
2 | [ExceptionLoggable, BrowserFilters, AuthenticationSystem].each { |mod| include mod } |
3 | session :session_key => '_beast_session_id' |
4 | |
5 | helper_method :current_user, :logged_in?, :admin?, :last_login |
6 | before_filter :login_by_token |
7 | |
8 | protected |
9 | def last_login; session[:last_active] ? session[:last_active] : Time.now.utc ; end |
10 | |
11 | def rescue_action(exception) |
12 | exception.is_a?(ActiveRecord::RecordInvalid) ? render_invalid_record(exception.record) : super |
13 | end |
14 | |
15 | def render_invalid_record(record) |
16 | render :action => (record.new_record? ? 'new' : 'edit') |
17 | end |
18 | |
19 | end |