diff options
author | alpaca-tc <alpaca-tc@alpaca.tc> | 2017-04-17 22:54:33 +0900 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-17 15:54:33 +0200 |
commit | 630de52fdd93e7465d0fb9dac5f35db30a2545d2 (patch) | |
tree | 416935f23d0e73bd3f4fb032d7da88407bc3fa04 /spec/support/matchers/model | |
parent | f8546ad5a21c840107d263acea0c051081af9c7b (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 'spec/support/matchers/model')
0 files changed, 0 insertions, 0 deletions