aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorRobin Dupret <robin.dupret@gmail.com>2016-11-30 19:27:35 +0100
committerRobin Dupret <robin.dupret@gmail.com>2017-02-07 18:56:43 +0100
commit0676d28b2222eae21bbd43c721f0ec229385865a (patch)
tree1da80ad3c247c71e245769ef6dfc622e4f516b70 /guides/source
parent6a1c0218df1fcffaac97e7288db07934bfef277f (diff)
downloadrails-0676d28b2222eae21bbd43c721f0ec229385865a.tar.gz
rails-0676d28b2222eae21bbd43c721f0ec229385865a.tar.bz2
rails-0676d28b2222eae21bbd43c721f0ec229385865a.zip
Automatically inject the current Rails version in API links [ci skip]
To make sure that the user won't look at a feature that doesn't already exist if they are looking at a previous version of the guides, let's automatically inject the Rails version the guides have been generated against.
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/5_0_release_notes.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/5_0_release_notes.md b/guides/source/5_0_release_notes.md
index 24fb0ca6e1..e1b3b0a42e 100644
--- a/guides/source/5_0_release_notes.md
+++ b/guides/source/5_0_release_notes.md
@@ -150,7 +150,7 @@ The type of an attribute is given the opportunity to change how dirty
tracking is performed.
See its
-[documentation](http://api.rubyonrails.org/classes/ActiveRecord/Attributes/ClassMethods.html)
+[documentation](http://api.rubyonrails.org/v5.0.1/classes/ActiveRecord/Attributes/ClassMethods.html)
for a detailed write up.