diff options
author | Jay Hayes <jay.hayes@dynetics.com> | 2012-12-13 13:58:49 -0600 |
---|---|---|
committer | Jay Hayes <jay.hayes@dynetics.com> | 2012-12-13 13:58:49 -0600 |
commit | d5badea28c77f2176bdac9bf68a0e2c3c30fecd3 (patch) | |
tree | 90be0544a587fa4276401b56f344076bba2e9a15 /guides | |
parent | e927ba9953519bcd2819a61800a160c9d4dbaf12 (diff) | |
download | rails-d5badea28c77f2176bdac9bf68a0e2c3c30fecd3.tar.gz rails-d5badea28c77f2176bdac9bf68a0e2c3c30fecd3.tar.bz2 rails-d5badea28c77f2176bdac9bf68a0e2c3c30fecd3.zip |
Fix associations presence lost in steve's reformat
https://github.com/lifo/docrails/commit/55a2820cc6d33e96b8d1b64b38b033913058dce4
messes up
https://github.com/lifo/docrails/commit/cfd324b4b68469ba3188e4b7ba8586e59b239693
Hopefully there is other stuff lost in translation...
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/active_record_validations.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/active_record_validations.md b/guides/source/active_record_validations.md index 2e2f0e4ea9..25a0f86ae3 100644 --- a/guides/source/active_record_validations.md +++ b/guides/source/active_record_validations.md @@ -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 |