diff --git a/lib/active_hash/base.rb b/lib/active_hash/base.rb index c94fa15..54e86c3 100644 --- a/lib/active_hash/base.rb +++ b/lib/active_hash/base.rb @@ -446,7 +446,7 @@ def []=(key, val) end def id - attributes[:id] ? attributes[:id] : nil + attributes[:id] end def id=(id)