5.11 Adding Some Validation

Hi,

I’m following the rails guides and I’m confused about the 5.11 section in Getting started.

The second screenshot in the section shows the posts_controller.rb, which has a different create method than the screenshot under 5.6 Saving data in the controller. The one under 5.11 should in my opinion be the same as the one in 5.6.

regards seba