Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Include identity after attributes since they rely on id.

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