Surinna Curtis
44207b6af6
Add muting_notifications? and a notifications argument to mute!
7 years ago
yhirano
298796cc7b
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
f5cd0b4956
Rename cache key to exclude_account_ids_for:id, adjust formatting
8 years ago
Eugen Rochko
2fd0473aa1
Merge branch 'fix/cache_blocking' of git://github.com/pixiv/mastodon into pixiv-fix/cache_blocking
8 years ago
alpaca-tc
630de52fdd
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
fd81916e86
cache blockings for reducing queries.
8 years ago
Eugen Rochko
c64a1c25c4
Fix #231 - Muting
8 years ago
Kit Redgrave
442fdbfc53
Mute button progress so far. WIP, doesn't entirely work correctly.
8 years ago