These are chat archives for dry-rb/chat

29th
Nov 2017
Jamie Gaskins
@jgaskins
Nov 29 2017 04:33
@jdickey Re: assets, I wrote a gem called roda-opal_assets that lets you use Sprockets with Roda for asset dependencies. Not sure if you need something that involved or if the assets plugin is enough, but it's just become my go-to for all assets in Roda apps now (not just Clearwater apps) since Sprockets handles caching and fingerprints for cache invalidation.
Ghost
@ghost~545771cbdb8155e6700d0a6f
Nov 29 2017 15:10

quick question
if I have

MODEL  = Model::Country

and Model::Country is a dry-struct entity, which have couple of attributes from Dry-Types
and some how, wrongly, instead of using MODEL.new for instance in our code we repeated Model::Country that thrown attributes already initialized error, is this normal ?