Support Ticket

+status
answered
+tags
 

Clicking recent on my socialreporter wagn gives

ActiveRecord::SubclassNotFound: The single-table inheritance mechanism failed to locate the subclass: 'GameCard'. This error is raised because the column 'type' is reserved for storing the class in case of inheritance. Please rename this column if you didn't intend it to be used for storing the inheritance class or overwrite Card::Base.inheritance_column to use another column for that information.
{"sort":"update", "dir":"desc", "view":"change"}

 

I looked at the database and saw that the card named "Game card" had its type set as "GameCard".  I'm not sure how it got in that state, but a card should never have itself as a type.  This is clearly a bug, but I don't yet have a great idea of how it's happening -- do you have any idea what combination of changes might have led to this?

 

In any event, getting deep enough into Wagn to find a way to break things is a bit of a Wagneer's right of passage.  Welcome to the dark side :).

 

- ethan


oh, should have mentioned that I fixed it :).

  --Ethan McCutchen.....Wed Jul 13 07:59:13 -0700 2011


Thanks Ethan. Will continue delving!

  --David Wilcox.....Wed Jul 13 09:23:26 -0700 2011