Commit Graph

7 Commits (8784bd79d0053cb15775eb078f45e6aca7775d77)

Author SHA1 Message Date
yhirano 298796cc7b annotate models ()
* add annotate to Gemfile

* rails g annotate:install

* configure annotate_models

* add schema info to models

* fix rubocop to add frozen_string_literal
Eugen Rochko f5cd0b4956 Rename cache key to exclude_account_ids_for:id, adjust formatting
Eugen Rochko 2fd0473aa1 Merge branch 'fix/cache_blocking' of git://github.com/pixiv/mastodon into pixiv-fix/cache_blocking
alpaca-tc 630de52fdd Required foreign keys ()
* Add `required: true` option to foreign column

* Fixes NoMethodError

```
> Favourite.new.valid?
NoMethodError: undefined method `reblog?' for nil:NilClass
```
Keiji Yoshimi fd81916e86 cache blockings for reducing queries.
Eugen Rochko c64a1c25c4 Fix - Muting
Kit Redgrave 442fdbfc53 Mute button progress so far. WIP, doesn't entirely work correctly.