From e58f2675dfdc1a3e3ae6d59456ec2297996598d5 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 23 Feb 2005 12:14:28 +0000 Subject: Documentation fixes #694 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@753 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/lib/active_record/associations.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index baa3f178f3..b2c30dafb3 100755 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -43,7 +43,7 @@ module ActiveRecord # # == Example # - # link:../examples/associations.png + # link:../../examples/associations.png # # == Is it belongs_to or has_one? # @@ -320,7 +320,7 @@ module ActiveRecord # * association.create(attributes = {}) - returns a new object of the associated type that has been instantiated # with +attributes+ and linked to this object through a foreign key and that has already been saved (if it passed the validation). # - # Example: A Post class declares has_one :author, which will add: + # Example: A Post class declares belongs_to :author, which will add: # * Post#author (similar to Author.find(author_id)) # * Post#author=(author) (similar to post.author_id = author.id) # * Post#author? (similar to post.author == some_author) -- cgit v1.2.3