• Tyler Amos's avatar
    Exclude bots from current active users count query · dd49c16a
    Tyler Amos authored
    - Excluding bots from the current active users count logic in License
    model.
    - Introduces a new scope `without_bots`.
    - Adds the method `current_active_users` to License for easy reuse.
    - Update references across the app to use `current_active_users`
    instead of `User.active.count`.
    - Updates documentation accordingly.
    dd49c16a
license.rb 15.9 KB