I’m new to Rails and going through “Getting Started with Rails”
I’ve stuck in step 5.10:
@article = Article.new(article_params)
As I understand posting new article with invalid title should invoke else statement and render [/new] with error message
Is it how it supposed to work?
Or what am I doing wrong?
Thank you all in advance!