Permalink
Browse files

Include identity after attributes since they rely on id.

No longer any need to include in object.
  • Loading branch information...
1 parent 99e74ec commit 47186dde70367c62d7458d14b9889d1d7732d70f @jnunemaker committed Feb 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −0 lib/toy/attributes.rb
  2. +0 −1 lib/toy/object.rb
View
@@ -4,6 +4,7 @@ module Attributes
include ActiveModel::AttributeMethods
included do
+ include Identity
attribute_method_suffix('', '=', '?')
end
View
@@ -6,7 +6,6 @@ module Object
extend ActiveModel::Naming
include ActiveModel::Conversion
include Attributes
- include Identity
include Cloneable
include Dirty
include Equality

0 comments on commit 47186dd

Please sign in to comment.