Surinna Curtis
5c5416aa7a
fix typos in the migration
7 years ago
Surinna Curtis
0d5ce9d8e6
Add muting_notifications? and a notifications argument to mute!
7 years ago
yhirano
e5eb070430
annotate models ( #2697 )
...
* add annotate to Gemfile
* rails g annotate:install
* configure annotate_models
* add schema info to models
* fix rubocop to add frozen_string_literal
8 years ago
Eugen Rochko
8867792e53
Rename cache key to exclude_account_ids_for:id, adjust formatting
8 years ago
Eugen Rochko
8af5ceb661
Merge branch 'fix/cache_blocking' of git://github.com/pixiv/mastodon into pixiv-fix/cache_blocking
8 years ago
alpaca-tc
4f0d96aa5e
Required foreign keys ( #2003 )
...
* Add `required: true` option to foreign column
* Fixes NoMethodError
```
> Favourite.new.valid?
NoMethodError: undefined method `reblog?' for nil:NilClass
```
8 years ago
Keiji Yoshimi
6ca3a6c9f4
cache blockings for reducing queries.
8 years ago
Eugen Rochko
9989890e2e
Fix #231 - Muting
8 years ago
Kit Redgrave
4554ccd5d0
Mute button progress so far. WIP, doesn't entirely work correctly.
8 years ago