README.rdoc in acts_as_relation-0.1.1 vs README.rdoc in acts_as_relation-0.1.2

- old
+ new

@@ -15,14 +15,16 @@ declare the product as a +supermodel+ and all types of it as +acts_as+ +:product+ (if you prefer you can use their aliases +is_a+ and +is_a_superclass+) class Product < ActiveRecord::Base acts_as_superclass + attr_accessible :name, :price end class Pen < ActiveRecord::Base acts_as :product + attr_accessible :color end class Book < ActiveRecord::Base acts_as :product end @@ -78,17 +80,17 @@ == Options The +acts_as+ relation support these options: * +:as+ -* +:auto_include+ +* +:auto_join+ * +:class_name+ * +:conditions+ * +:dependent+ * +:include+ when +:auto_join+ option set to +true+ (which is by default), every query on child -will automatically includes the parent. For example: +will automatically joins the parent table. For example: Pen.where("name = ?", "somename") will result in the following SQL: