These are chat archives for dry-rb/chat

24th
Nov 2017
rehnathomas
@rehnathomas
Nov 24 2017 09:01
Is it possible to pass arguments into Dry Validation Schema ?
Vasily Kolesnikov
@v-kolesnikov
Nov 24 2017 09:41
rehnathomas
@rehnathomas
Nov 24 2017 10:23
ok @v-kolesnikov Thank you.
Jeff Dickey
@jdickey
Nov 24 2017 14:49
In dry-web-roda (and thus presumably in dry-view), how do I add per-page/view CSS assets?
Gustavo Caso
@GustavoCaso
Nov 24 2017 14:50
@jdickey Well I'm hacking a project with dry-web-roda
and use some plugin from roda
let me check the code
Jeff Dickey
@jdickey
Nov 24 2017 14:51
@GustavoCaso Cool; presumably you're farther along with your app than I am, then; thanks
Gustavo Caso
@GustavoCaso
Nov 24 2017 14:52
Let see I have been in procrastination mode lately :joy:
Here the application file
Jeff Dickey
@jdickey
Nov 24 2017 14:53
thanks; taking a look now
Gustavo Caso
@GustavoCaso
Nov 24 2017 14:53
I use the roda plugin public and assets
Jeff Dickey
@jdickey
Nov 24 2017 14:54
great; I'll chase down those. First time I've used Roda in a non-API app
Gustavo Caso
@GustavoCaso
Nov 24 2017 14:54
This is my layout page
Hope this helps
Jeff Dickey
@jdickey
Nov 24 2017 14:56
yep, that makes perfect sense; so obvious I couldn't possibly see it 🤓
thanks a lot; you just saved me likely a weekend of Rube Goldberging
Gustavo Caso
@GustavoCaso
Nov 24 2017 15:16
hehe happy to help
Julien Blanchard
@julienXX
Nov 24 2017 17:19
Hello is there a way with dry-transaction to have multiple arguments in a step without with_step_args? I'm calling a dry-transaction from a Rails controller and having the controller knowing the steps bothers me.
Gustavo Caso
@GustavoCaso
Nov 24 2017 17:21
At the moment no
If you want you can overwrite the steps by wrapping them
Julien Blanchard
@julienXX
Nov 24 2017 17:23
Thanks I'll have a look :)
Gustavo Caso
@GustavoCaso
Nov 24 2017 17:27
No problem