ActionLogic
ActionLogic copied to clipboard
A business logic abstraction gem that provides structure to the organization and composition of business logic (Ruby)
### 🚧 Don't raise exceptions on validation failures by default 🚧 This PR adds bang methods for the three validation types to indicate that they will raise exceptions when they...
At each level, ActionCoordinator, ActionUseCase and ActionTask, allow for a simple convenience method for indicating the logic should be wrapped in a transaction.
When an `ActionLogic` error is thrown, the intent is to communicate the `context` in which the error was thrown (i.e. the name of the specific class). Instead the `context` today...
For the sake of providing clear, real world examples, create a Rails app that performs logic. The logic can be shows in a traditional Rails way and in the ActionLogic...
Allow users to register custom validations as part of ActionConfiguration. Validations would include the default validations plus any registered during configuration. Custom validations would be required to implement a call...
For those cases when before / after or around filters are sufficient and a call method is not required. This would make it possible for an `ActionCoordinator` or `ActionUseCase` to...