Fix associations presence lost in steve's reformat
55a2820cc6
messes upcfd324b4b6
Hopefully there is other stuff lost in translation...
This commit is contained in:
parent
e927ba9953
commit
d5badea28c
@ -503,8 +503,8 @@ end
|
||||
```
|
||||
|
||||
If you want to be sure that an association is present, you'll need to test
|
||||
whether the foreign key used to map the association is present, and not the
|
||||
associated object itself.
|
||||
whether the associated object itself is present, and not the foreign key used
|
||||
to map the association.
|
||||
|
||||
```ruby
|
||||
class LineItem < ActiveRecord::Base
|
||||
|
Loading…
Reference in New Issue
Block a user