Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Getting started guide: Post validation example is clearer if we do p=…

…; better than p=Post.create;
  • Loading branch information...
commit 1dddc79fee290702ccef75834ab85fddf3a5fd8f 1 parent b0fab0c
@jaimeiniesta jaimeiniesta authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/guides/source/getting_started.textile
2  railties/guides/source/getting_started.textile
@@ -474,7 +474,7 @@ $ rails console
After the console loads, you can use it to work with your application's models:
->> p = Post.create(:content => "A new post")
+>> p = => "A new post")
=> #<Post id: nil, name: nil, title: nil,
content: "A new post", created_at: nil,
updated_at: nil>
Please sign in to comment.
Something went wrong with that request. Please try again.