mastodon/app/models
Eugen Rochko b8db386e05 Fix UserTrackingConcern firing on every request, optimize some queries (#5368)
- For some reason, :if option on before_action did not work. It got
  executed every time, returned false, and the action run anyway,
  which led to the current_sign_in_at and sign_in_count being
  updated on every request
- Return "do not filter" early in FeedManager#filter_from_home? if
  the status is authored by receiver. Usually this method is not
  called for own statuses at all, but it is called when Feed#get
  uses the database
- Return early if #reload_stale_associations! has nothing to load
  to save a database query with WHERE 1=0
2017-10-13 16:44:29 +02:00
..
concerns
form
web
account.rb
account_domain_block.rb
account_filter.rb
account_moderation_note.rb
application_record.rb
block.rb
context.rb
conversation.rb
conversation_mute.rb
custom_emoji.rb
custom_emoji_filter.rb
domain_block.rb
email_domain_block.rb
export.rb
favourite.rb
feed.rb
follow.rb
follow_request.rb
import.rb
instance.rb
instance_filter.rb
media_attachment.rb
mention.rb
mute.rb
notification.rb Fix UserTrackingConcern firing on every request, optimize some queries (#5368) 2017-10-13 16:44:29 +02:00
preview_card.rb
remote_follow.rb
remote_profile.rb
report.rb
report_filter.rb
search.rb
session_activation.rb
setting.rb
site_upload.rb
status.rb Fix UserTrackingConcern firing on every request, optimize some queries (#5368) 2017-10-13 16:44:29 +02:00
status_pin.rb
stream_entry.rb
subscription.rb
tag.rb
user.rb
web.rb