mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
741d0952b1
* 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 |
||
---|---|---|
.. | ||
account_counters_spec.rb | ||
account_finder_concern_spec.rb | ||
account_interactions_spec.rb | ||
remotable_spec.rb | ||
status_threading_concern_spec.rb |