Skip to content
Snippets Groups Projects
Commit a2a2af24 authored by alpaca-tc's avatar alpaca-tc Committed by Eugen Rochko
Browse files

Optimize Status#permitted_for 24x (#3069)

* Build query with arel node

* Add spec for current Status#permitted_for implementation

* Refactor status.rb

* Order by visibility to optimize query
parent cb50ecdb
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment