refs #710 remove trailing whitespace
refs #624 move model logic into model (@category use_count > 4), but remove the record
refs #628 use model association, for example, current_user.models