These are chat archives for dry-rb/chat
Next-gen ruby libs! » github.com/dry-rb » website: https://dry-rb.org » forum: https://discourse.dry-rb.org
It Would Be Very Nice If™ there were a
--force option for
dry-web-roda app new that worked like the Rails app-generator option, to overwrite existing files (in my case, a
Gemfile). I'm adapting https://docs.docker.com/compose/rails/ to build a
dry-web-roda app rather than a Rails app, and the extra manual intervention is…unfortunate
on the same general topic, what's the
dry-web-roda convention for database configuration/connections? Specifically, is there an analogue to Rails'
dry-web-roda new .generates an app, but doesn't take the current directory name as the app name, so you have bugs like
config.ruhaving a line like
run .::Web.freeze.app, which of course Shotgun barfs on. I see the workaround, but it makes the Docker interaction much more fragile, especially for a sub-padawan-level student like my boss :P
forceoption I agree with you it would be useful I know @timriley is currently working on a new implementation of the CLI so I would wait some time for adding new CLI options
system/boot/persistence.rb) but eventually that will become an “external component” (a new feature of dry-system) and be hosted within some gem, so we won’t have to generate the same boilerplate into every project. It’ll also give us the ability to tweak the DB setup over time without requiring project maintainers to make those changes themselves.