Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 679 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 679 Bytes

Validations example

This sample app shows how to validate user input on various app layers.

Validations included:

  • default HTML5 validations (presence, etc.)
  • form object taking care of basic input validations
  • command handler taking care of business logic validations (uniqueness) without involving typical Rails model validations, but utilising the concept of interim streams in a way RailsEventStore supports this concept.

Last, but not least: 0 ActiveRecord models given.

Setup

bin/setup

bin/dev