Chapter 11Wrangle Forms andValidations with Angular

So far, we’ve treated our application as a producer of information, as it shows data quickly, easily, and in a usable way. But applications need to consume information as well, and that’s what we’re going discuss in this chapter. So far, we’ve designed a complex form that shows the user some information about a customer, and the next step is to let the user modify that information.

A typical Rails application has access to various helpers, both in Active Record and in the view, to give the user a good experience. You can specify that a field is required or must match a certain format (for example, the validators we used with Devise in Chapter 1, Create a Great-Looking Login with Bootstrap ...

Get Rails, Angular, Postgres, and Bootstrap now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.