Browse files

Fix associations presence lost in steve's reformat

rails/docrails@55a2820
messes up
rails/docrails@cfd324b

Hopefully there is other stuff lost in translation...
  • Loading branch information...
1 parent e927ba9 commit d5badea28c77f2176bdac9bf68a0e2c3c30fecd3 Jay Hayes committed Dec 13, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 guides/source/active_record_validations.md
View
4 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

1 comment on commit d5badea

@steveklabnik
Ruby on Rails member

Would you mind mentioning me like @steveklabnik when you find these kinds of things? I never knew any of it was lost, now I can double check my changes to make sure I didn't lose anything. Thanks! ❤️

Please sign in to comment.