detect newly virtual cards cached as missing
Ticket
+issues
Let's say we want to create a virtual card like "+magic", but before we configure the virtual card, we go to the "Harvey+magic" card.
Harvey+magic isn't virtual yet -- in fact it's not a card at all. So it's just cached as a missing card.
So when I add the configuration to make it virtual (magic+*right+*content), I don't have an easy way to find and clear that card from the cache. It can't be found in the db -- it's not there.
+solution
We may have to revisit this in the new (1.9) setup, but by guess is that we will need to clear the entire cache whenever we create or rename +*content cards.
+example
Here's an rspec expression of the problem:
Card.fetch( 'A+virtual').should be_nil
Card.create :name=>'virtual+*right+*content'
Card.fetch( 'A+virtual').should_not be_nil
(that test fails in fetch_spec.rb)