Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 373
- Log:
Initial import of Radiant 0.9.1, which is now packaged as a gem. This is an
import of the tagged 0.9.1 source checked out from GitHub, which isn't quite
the same as the gem distribution - but it doesn't seem to be available in an
archived form and the installed gem already has modifications, so this is
the closest I can get.
- Author:
- rool
- Date:
- Mon Mar 21 13:40:05 +0000 2011
- Size:
- 530 Bytes
1 | class PagePart < ActiveRecord::Base |
2 | |
3 | # Default Order |
4 | default_scope :order => 'name' |
5 | |
6 | # Associations |
7 | belongs_to :page |
8 | |
9 | # Validations |
10 | validates_presence_of :name |
11 | validates_length_of :name, :maximum => 100 |
12 | validates_length_of :filter_id, :maximum => 25, :allow_nil => true |
13 | validates_numericality_of :id, :page_id, :allow_nil => true, :only_integer => true |
14 | |
15 | object_id_attr :filter, TextFilter |
16 | |
17 | def after_initialize |
18 | self.filter_id ||= Radiant::Config['defaults.page.filter'] if new_record? |
19 | end |
20 | |
21 | end |