Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[getting started] fix weird linebreak when talking about pluralize

  • Loading branch information...
commit 10dfbaa9db6c54e89468a41c24dbbecf58fc430c 1 parent e91a1a0
@radar radar authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 guides/source/getting_started.textile
View
5 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
Please sign in to comment.
Something went wrong with that request. Please try again.