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.
mastodon/lib
Claire b358229834
Further preparation for Rails 6 (#15916)
* Use ActiveRecord::Result#to_ary instead of deprecated to_hash

They do the same thing, and to_hash has been removed from Rails 6.1

* Explicitly name polymorphic indexes to workaround a bug in Rails 6.1

cf. https://github.com/rails/rails/issues/41693

* Fix incorrect usage of “foreign_key” in migration script

* Use `ActiveModel::Errors#delete` instead of deprecated clear method

* Fix link headers tests on Rails 6.1

Rails 6.1 adds values to the Link header by default, thus it is not a
LinkHeader object anymore. Fix the test to parse the Link header instead
of assuming it is a LinkHeader.
5 years ago
..
action_dispatch replace all instances of "ends_with?" with "end_with?" (#15745) 5 years ago
active_record Use more robust hook for loading timestamp_id function into database (#15919) 5 years ago
assets
chewy/strategy Fix unnecessary queries when batch-removing statuses, 100x faster (#15387) 5 years ago
devise
generators
json_ld Fixed code quality issues (#15541) 5 years ago
mastodon Further preparation for Rails 6 (#15916) 5 years ago
paperclip Fixed code quality issues (#15541) 5 years ago
rails Fix obsolete digitalocean.rake file breaking rake tasks (#15618) 5 years ago
redis
sanitize_ext Prepare Mastodon for zeitwerk autoloader (#15917) 5 years ago
tasks Use more robust hook for loading timestamp_id function into database (#15919) 5 years ago
templates
webpacker
cli.rb Deal with collation-related index corruption (#14860) 5 years ago
enumerable.rb Optimize map { ... }.compact calls (#15513) 5 years ago
exceptions.rb Prepare Mastodon for zeitwerk autoloader (#15917) 5 years ago