Skip to content

Getting Started with Rails, wrong section #11540

atti84it opened this Issue Jul 21, 2013 · 1 comment

3 participants


In the Getting Started guide there's a sentence:

"If you now go to http://localhost:3000/posts/new you'll almost be able to create a post. Try it! You should get an error that looks like this:" and image of "ActiveModel::ForbiddenAttributesError"

actually the error doesn't occur because earlier in the guide you enter this code:

def post_params
  params.require(:post).permit(:title, :text)
Ruby on Rails member
senny commented Jul 22, 2013

This was fixed with efeb039 but as far as I can see it was not backported on 4-0-stable.

@zzak zzak added a commit to zzak/rails that referenced this issue Jul 22, 2013
@zzak zzak backport efeb039 from #11201 fixes #11540 [ci skip] 5ddb94d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.