README.markdown in acts-as-joinable-0.0.1.6 vs README.markdown in acts-as-joinable-0.0.1.7

- old
+ new

@@ -65,17 +65,18 @@ @post.featured_assets << Asset.first If you need more fine-grained control over each relationship scope, you can use a block: class Post < ActiveRecord::Base - acts_as_joinable_on :assets do - has_one :featured_image, where(:...) - has_many :thumbnails - end - acts_as_joinable_on :tags + acts_as_joinable_on :tags, :assets end @post = Post.new @post.featured_image = Image.first @post.thumbnails = Image.all -The goal of this is to make it so you never have to create migrations or new classes, or rewrite the same code over and over again. Instead, you can just define `scopes` for cherry-picking the habtm items you'd like. +The goal of this is to make it so you never have to create migrations or new classes, or rewrite the same code over and over again. Instead, you can just define `scopes` for cherry-picking the habtm items you'd like. + +Has 2 key properties on the join model that are pretty common: + +- context: what the meaning of the join is +- position: what position the join is in relation to the context \ No newline at end of file