I am having an issue with searching for records in my STI table due to my inheritance structure
class User < ActiveRecord::Base
class LegacyUser < User
class AuthUser < User
class SuperUser < AuthUser
class FieldUser < AuthUser
class ClientAdmin < AuthUser
The problem is that find does not work for the AuthUser Model. The query is looking for type "AuthUser" and does not include the other three possibilities.
Edit: While playing around with this it started to work but only for ClientAdmin and FieldUser so it seems this functionality should be build in. but now it has gone back to the original issue