existing cards cached as missing
Ticket
+issues
Found two cases on connectipedia of cards that were in the db and not trash, but cached as missing. This caused additional errors downstream.
+solution
1. we should probably handle the error case better
2. should try to debug how it is getting into the broken state place
3. should write a rake utility and/or interface hack for expiring cache for a given card.
+example
causes errors like this:
A ActionView::TemplateError occurred in card#show:
for card Oregon Solutions: Sorry Anonymous, You don't have permission to create Basic cards
On line #1 of cardtypes/basic/_content.rhtml
1: <%= slot.render :raw_content %>
app/models/card/permissions.rb
:80:in `ok!'
app/models/card/base.rb:354:in `content_without_tracking'
(eval):13:in `content'