aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorRyan Bigg <radarlistener@gmail.com>2012-05-16 17:51:03 +1000
committerRyan Bigg <radarlistener@gmail.com>2012-05-16 18:05:35 +1000
commit10dfbaa9db6c54e89468a41c24dbbecf58fc430c (patch)
treee14627587bc6d70416506510fc09ff7963d711fa /guides/source
parente91a1a0321bd12968cba3cfa504119e74c1caa2c (diff)
downloadrails-10dfbaa9db6c54e89468a41c24dbbecf58fc430c.tar.gz
rails-10dfbaa9db6c54e89468a41c24dbbecf58fc430c.tar.bz2
rails-10dfbaa9db6c54e89468a41c24dbbecf58fc430c.zip
[getting started] fix weird linebreak when talking about pluralize
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/getting_started.textile5
1 files changed, 2 insertions, 3 deletions
diff --git a/guides/source/getting_started.textile b/guides/source/getting_started.textile
index 5c418e3af6..aad6a30705 100644
--- a/guides/source/getting_started.textile
+++ b/guides/source/getting_started.textile
@@ -756,9 +756,8 @@ A few things are going on. We check if there are any errors with
+@post.errors.any?+, and in that case we show a list of all
errors with +@post.errors.full_messages+.
-+pluralize+ is a rails helper
-that takes a number and a string as its arguments. If the number is
-greater than one, the string will be automatically pluralized.
++pluralize+ is a rails helper that takes a number and a string as its
+arguments. If the number is greater than one, the string will be automatically pluralized.
The reason why we added +@post = Post.new+ in +posts_controller+ is that
otherwise +@post+ would be +nil+ in our view, and calling