We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
app/controllers/dashboard_controller.rb
@notifications = Notification.where(user: current_user).slice(0, number_of_notifications)
loads all notifications and then discards. Instead: https://guides.rubyonrails.org/active_record_querying.html#limit-and-offset
The text was updated successfully, but these errors were encountered:
max_shown_vms and number_of_notifications might not be necessary.
max_shown_vms
number_of_notifications
Idea: Return all items and hide the majority in the UI...
Sorry, something went wrong.
BraunTom
No branches or pull requests
app/controllers/dashboard_controller.rb
loads all notifications and then discards. Instead: https://guides.rubyonrails.org/active_record_querying.html#limit-and-offset
The text was updated successfully, but these errors were encountered: