Skip to content
Permalink
Browse files
’ -> ' [ci skip]
  • Loading branch information
steveklabnik committed Jun 8, 2013
1 parent 2d31df4 commit ad3d333321d2cfdac87600f6440bc69b0945f37c
Showing 1 changed file with 1 addition and 1 deletion.
@@ -551,7 +551,7 @@ database columns. In the first line we do just that (remember that
Finally, we redirect the user to the `show` action,
which we'll define later.

TIP: Note that `def post_params` is private. This new approach prevents an attacker from setting the models attributes by manipulating the hash passed to the model. For more information, refer to [this blog post about Strong Parameters](http://weblog.rubyonrails.org/2012/3/21/strong-parameters/).
TIP: Note that `def post_params` is private. This new approach prevents an attacker from setting the model's attributes by manipulating the hash passed to the model. For more information, refer to [this blog post about Strong Parameters](http://weblog.rubyonrails.org/2012/3/21/strong-parameters/).

TIP: As we'll see later, `@post.save` returns a boolean indicating
whether the model was saved or not.

1 comment on commit ad3d333

@fxn
Copy link
Member

@fxn fxn commented on ad3d333 Jun 8, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

Please sign in to comment.