Skip to content

Commit

Permalink
[getting started] some more handholding around where exactly the erro…
Browse files Browse the repository at this point in the history
…r would appear when a post is invalid
  • Loading branch information
radar committed May 16, 2012
1 parent 10dfbaa commit 9073cf8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion guides/source/getting_started.textile
Expand Up @@ -767,7 +767,8 @@ TIP: Rails automatically wraps fields that contain an error with a div
with class +field_with_errors+. You can define a css rule to make them with class +field_with_errors+. You can define a css rule to make them
standout. standout.


Now you'll get a nice error message when saving a post without title: Now you'll get a nice error message when saving a post without title when you
attempt to do just that on the "new post form(http://localhost:3000/posts/new)":http://localhost:3000/posts/new.


!images/getting_started/form_with_errors.png(Form With Errors)! !images/getting_started/form_with_errors.png(Form With Errors)!


Expand Down

0 comments on commit 9073cf8

Please sign in to comment.