Skip to content

arkency/validations-example

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published