lib/dato/local/items_repo.rb in dato-0.3.6 vs lib/dato/local/items_repo.rb in dato-0.3.7
- old
+ new
@@ -16,10 +16,10 @@
build_cache!
end
def find(id)
- @items_by_id[id]
+ @items_by_id[id.to_s]
end
def respond_to_missing?(method, include_private = false)
if collections_by_type.key?(method)
true