* Prevent need for eager loading
* Add initial implementation of user block
* Remove debugger oops
* Add index and foreign keys for user_block table
* Use private method instead of exists
* Move channel handling logic to service object
* Update styling a bit
* Use profileDropdown file for future proofing
* Remove commented out code
* Render json: { result } for all endpoints
* Add statuses for sad paths
* Add better sad path handling in the JS
* Remove accidentally committed spec file
* Don't wait for DOM to load block button
* Use equality for accuracy in slug query
* Add status code for unauthorized requests
* Add missing comma sigh
7 lines
123 B
Ruby
7 lines
123 B
Ruby
FactoryBot.define do
|
|
factory :user_block do
|
|
blocker { user }
|
|
blocked { user }
|
|
config { "default" }
|
|
end
|
|
end
|