diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-30 15:55:25 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-30 15:55:25 +0000 |
commit | b921b5da156d33a7ced0656074f659854fb9082e (patch) | |
tree | f9f73bbebaeacdc01f9c8d94670083f38525e646 | |
parent | 2bf223051effaaf08c23936aaac16df672ccc899 (diff) | |
download | rails-b921b5da156d33a7ced0656074f659854fb9082e.tar.gz rails-b921b5da156d33a7ced0656074f659854fb9082e.tar.bz2 rails-b921b5da156d33a7ced0656074f659854fb9082e.zip |
Fixed association picture reference
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1264 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rwxr-xr-x | activerecord/Rakefile | 8 | ||||
-rwxr-xr-x | activerecord/lib/active_record/associations.rb | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/activerecord/Rakefile b/activerecord/Rakefile index ed1636ca99..2918cc4df6 100755 --- a/activerecord/Rakefile +++ b/activerecord/Rakefile @@ -60,6 +60,12 @@ Rake::RDocTask.new { |rdoc| rdoc.rdoc_files.include('dev-utils/*.rb') } +# Enhance rdoc task to copy referenced images also +task :rdoc do + FileUtils.mkdir_p "doc/files/examples/" + FileUtils.copy "examples/associations.png", "doc/files/examples/associations.png" +end + # Create compressed packages @@ -252,4 +258,4 @@ task :release => [:package] do first_file = false end end -end
\ No newline at end of file +end diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index e447da3051..4b1de85a90 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:files/examples/associations.png # # == Is it belongs_to or has_one? # |