Skip to content
Snippets Groups Projects
Commit 630de52f authored by alpaca-tc's avatar alpaca-tc Committed by Eugen
Browse files

Required foreign keys (#2003)

* Add `required: true` option to foreign column

* Fixes NoMethodError

```
> Favourite.new.valid?
NoMethodError: undefined method `reblog?' for nil:NilClass
```
parent f8546ad5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment