You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nyastodon/spec/models/concerns
Claire 741d0952b1
Improve account counters handling (#15913)
* Improve account counters handling

* Use ActiveRecord::Base::sanitize_sql to pass values instead of interpolating them

Keep using string interpolation for `key` as it is safe and using
“ActiveRecord::Base::sanitize_sql_hash_for_assignment” would require stitching
bits of SQL in a way that is not more easily checked for safety.

* Add migration hook to catch PostgreSQL versions earlier than 9.5
3 years ago
..
account_counters_spec.rb Improve account counters handling (#15913) 3 years ago
account_finder_concern_spec.rb Handle nil and blank cases in Account finders (#3500) 7 years ago
account_interactions_spec.rb Add follower synchronization mechanism (#14510) 4 years ago
remotable_spec.rb Fix remote files not using Content-Type header, streaming (#14184) 4 years ago
status_threading_concern_spec.rb Record account suspend/silence time and keep track of domain blocks (#10660) 5 years ago