Permalink
Browse files

Little worried about ShardTemplate`s children changing, and breaking …

…the hashcode... dropthat.
  • Loading branch information...
1 parent cef061b commit 82e337643994eaf9608cd4a8d1a0235e7a5b5ee9 @stuhood stuhood committed Feb 17, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/gizzard/shard_template.rb
@@ -152,8 +152,7 @@ def contains_shard_type?(other)
end
def hash
- return @hash if @hash
- @hash = weight.hash + host.hash + type.hash + children.hash
+ weight.hash + host.hash + type.hash + children.hash
end

0 comments on commit 82e3376

Please sign in to comment.