Skip to content

Commit

Permalink
Include identity after attributes since they rely on id.
Browse files Browse the repository at this point in the history
No longer any need to include in object.
  • Loading branch information
jnunemaker committed Feb 13, 2012
1 parent 99e74ec commit 47186dd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions lib/toy/attributes.rb
Expand Up @@ -4,6 +4,7 @@ module Attributes
include ActiveModel::AttributeMethods

included do
include Identity
attribute_method_suffix('', '=', '?')
end

Expand Down
1 change: 0 additions & 1 deletion lib/toy/object.rb
Expand Up @@ -6,7 +6,6 @@ module Object
extend ActiveModel::Naming
include ActiveModel::Conversion
include Attributes
include Identity
include Cloneable
include Dirty
include Equality
Expand Down

0 comments on commit 47186dd

Please sign in to comment.