Changeset 8371
- Timestamp:
- 12/10/07 19:45:14 (10 months ago)
- Files:
-
- trunk/activerecord/README (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/activerecord/README
r6771 r8371 66 66 67 67 {Learn more}[link:classes/ActiveRecord/Validations.html] 68 69 70 * Acts that can make records work as lists or trees:71 72 class Item < ActiveRecord::Base73 belongs_to :list74 acts_as_list :scope => :list75 end76 77 item.move_higher78 item.move_to_bottom79 80 Learn about {acts_as_list}[link:classes/ActiveRecord/Acts/List/ClassMethods.html], {the instance methods acts_as_list provides}[link:classes/ActiveRecord/Acts/List/InstanceMethods.html], and81 {acts_as_tree}[link:classes/ActiveRecord/Acts/Tree/ClassMethods.html]82 68 83 69 * Callbacks as methods or queues on the entire lifecycle (instantiation, saving, destroying, validating, etc).