Support Ticket

+status
answered
+tags
 
+issue

Specifically:

{"extension_type": "User"}

 

Useful on sites that have multiple and potentially changing cardtypes with accounts.

 

it will probably be hacked in for a while yet for backwards compatibility, but it's already bad practice. better to detect the presence of a *account card (any card with an account has a +*account card)

--Ethan McCutchen.....2013-08-30 20:50:02 +0000

Easy enough:

 

{"right_plus": "*account"}

--John Abbe.....2013-09-02 04:42:32 +0000

Exactly. This is part of the big refactor that's been ongoing, and the underlying stuff barely exists now. Only the User model actually exists as a possible extension and I think it is gone already at the database level.

 

Note that WagnBot and Anonymous exist on almost all Wagns as cards with accounts that are not of type User. I guess the "extension_type" still functions, and it probably just changes it internally to the "*account" search term.

--Gerry Gleason.....2013-09-02 13:42:20 +0000

it does exist, but it's still based on the old structure (existence of entry in users table):

 

def extension_type(val) add_join(:usr, :users, :id, :card_id) end

--Ethan McCutchen.....2013-09-02 15:57:00 +0000