New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New/create actions #156
Comments
Hi @van-mronov! The way you suggest your How are you liking it so far? 🍻 |
Hi, @apotonick! Thank you, waiting for docs) I'm really excited about TRB2. It looks pretty simple and straightforward to use. I guess conception of steps and success/failure pipes are great features. This is how I think about business logic in my mind. Can I help somehow/contribute? Let me know if you have any issue tracker. |
Hey @van-mronov, we could need help with generators. They must be decoupled from Rails, using Are you interested in helping? This would greatly improve TRB's accessability since people can quickly generate some concepts and play with TRB. |
Hi, we're trying to migrate from 1.1 to 2.0.
Previously, we used following pattern for rendering new item form and create this item by form submit:
Action
new
didn't process operation, just create contract.So, here is my question. How I can use new operations with pipes in such way? Should I create operation for
new
action with onlyModel(Foo, :new)
andContract::Build
steps and another operation forcreate
action with full set of steps (validation, persisting, etc)?The text was updated successfully, but these errors were encountered: