about summary refs log tree commit diff
path: root/app/services/unfavourite_service.rb
diff options
context:
space:
mode:
authoralpaca-tc <alpaca-tc@alpaca.tc>2017-04-17 22:54:33 +0900
committerEugen <eugen@zeonfederated.com>2017-04-17 15:54:33 +0200
commit630de52fdd93e7465d0fb9dac5f35db30a2545d2 (patch)
tree416935f23d0e73bd3f4fb032d7da88407bc3fa04 /app/services/unfavourite_service.rb
parentf8546ad5a21c840107d263acea0c051081af9c7b (diff)
Required foreign keys (#2003)
* Add `required: true` option to foreign column

* Fixes NoMethodError

```
> Favourite.new.valid?
NoMethodError: undefined method `reblog?' for nil:NilClass
```
Diffstat (limited to 'app/services/unfavourite_service.rb')
0 files changed, 0 insertions, 0 deletions