https://github.com/crowdhailer/form-objects
https://github.com/crowdhailer/form-objects
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/crowdhailer/form-objects
- Owner: CrowdHailer
- Created: 2014-10-16T20:31:06.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-21T16:18:23.000Z (about 11 years ago)
- Last Synced: 2025-04-02T05:17:11.088Z (9 months ago)
- Language: Ruby
- Size: 97.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Ruby Form Objects
=================
Working on Recent projects to explore Domain Driven Design *(DDD)* I have discovered Veto and Virtus ruby gems. This is an exploration of using them.
### Principles
Particularly in controller actions I have primarily used errors as a controll flow mechanism. I will be trying to avoid that here.
### Challenges
The aim is to create some object Mixins that sensibly represent a time, location and money from form values.
These three are from a recent customer project. from database