aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAldo "xoen" Giambelluca <xoen@xoen.org>2012-09-05 18:32:47 +0200
committerAldo "xoen" Giambelluca <xoen@xoen.org>2012-09-05 18:37:19 +0200
commit75857d0f80f4066f0d794e214b64539f0138532d (patch)
tree2606e826985f9cf384b459db47c4a89728d46830
parentbaa73ac723b9987a2ca66b76e0e788a7a3ef1c63 (diff)
downloadrails-75857d0f80f4066f0d794e214b64539f0138532d.tar.gz
rails-75857d0f80f4066f0d794e214b64539f0138532d.tar.bz2
rails-75857d0f80f4066f0d794e214b64539f0138532d.zip
Fixed array wrongly translated in footnote in a guide [ci skip]
In the sentence "If <tt>@post.author_ids</tt> is [1], this would ..." the array [1] is converted in a footnote, fixed this using <notextile>.
-rw-r--r--guides/source/action_view_overview.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/action_view_overview.textile b/guides/source/action_view_overview.textile
index 1fd98a5bbe..33ae7f6933 100644
--- a/guides/source/action_view_overview.textile
+++ b/guides/source/action_view_overview.textile
@@ -1211,7 +1211,7 @@ Sample usage (selecting the associated Authors for an instance of Post, +@post+)
collection_check_boxes(:post, :author_ids, Author.all, :id, :name_with_initial)
</ruby>
-If <tt>@post.author_ids</tt> is [1], this would return:
+If <tt>@post.author_ids</tt> is <tt><notextile>[1]</notextile></tt>, this would return:
<html>
<input id="post_author_ids_1" name="post[author_ids][]" type="checkbox" value="1" checked="checked" />