lib/named_seeds/identity.rb in named_seeds-2.2.0 vs lib/named_seeds/identity.rb in named_seeds-2.2.1
- old
+ new
@@ -13,10 +13,10 @@
def reset_cache
@@all_cached.clear
end
- def named(name, options)
+ def named(name, options={})
@@all_cached[name] ||= new(name, options)
end
end