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

- old
+ new

@@ -32,11 +32,11 @@ poster.respond_to?(:post_count_in_english) # => true user.respond_to?(:post_count_in_english) # => false poster.kind_of?(User) # => true poster.instance_of?(User) # => true - + poster.class.name # => "User" end == DCI @@ -50,11 +50,11 @@ {\http://andrzejonsoftware.blogspot.com/2011/02/dci-and-rails.html}[http://andrzejonsoftware.blogspot.com/2011/02/dci-and-rails.html] == The Problem -So what's wrong with just using <tt>Object#extend</tt>? Nothing, until you want to alter an instance's class -as a side effect of adorning it with a role... which happens often when using ActiveRecord. +So what's wrong with just using <tt>Object#extend</tt>? Nothing, until you want to avoid altering an instance's class +as a side effect of adorning the instance with a role... which happens often when using ActiveRecord. Consider the following use of DCI and ActiveRecord with plain old <tt>Object#extend</tt>: class User < ActiveRecord::Base end