rich / aar-demo-1

acts_as_revisable Demo #1: Handling Associations

This URL has Read+Write access

Rich Cavanaugh (author)
Tue May 12 12:40:46 -0700 2009
commit  603a71b877355d9cb5a74fc11fca887fdd15602b
tree    104d4f259ae76a93531ecf81cbc4b542e5c315d1
parent  64f4082bb3b72cc0ccfc4e61e3fa9bbb7f9d67c1
name age message
file .gitignore Loading commit data...
file README
file Rakefile
directory app/
directory config/
directory db/
directory doc/
directory public/
directory script/
directory test/
README
== acts_as_revisable Demo #1: Handling Associations

A simple blog post can cover the simple common case of AAR usage. In this series of repos I thought I'd cover some more 
advanced usage. In this case I'm showing how you could handle associations and revise them along with another model.

In this project I'm demonstrating a very simple structure. Basically with have Posts which can have many Links. Any time 
a post is revised, it's current links should be stored with that revision. Also, we're going to count adding a link as a 
revision to a post.

All the code is in app/models/*