dry-rb / dry-system-rails Goto Github PK
View Code? Open in Web Editor NEW:warning: [unmaintained] this project grew into dry-rails/dry-rails :warning:
Home Page: http://dry-rb.org/gems/dry-rails
License: MIT License
:warning: [unmaintained] this project grew into dry-rails/dry-rails :warning:
Home Page: http://dry-rb.org/gems/dry-rails
License: MIT License
Can I ask what is missing to make it happen?
Hi @solnic ,
just got into strange issue while running rake db:migrate
and I am not sure what may cause this. Look below:
$ rake db:migrate
rake aborted!
LocalJumpError: no block given (yield)
.rvm/gems/ruby-2.2.4@isa/gems/dry-system-rails-0.0.1/lib/dry/system/rails.rb:50:in `finalize!'
.rvm/gems/ruby-2.2.4@isa/gems/railties-4.2.5/lib/rails/railtie.rb:194:in `public_send'
.rvm/gems/ruby-2.2.4@isa/gems/railties-4.2.5/lib/rails/railtie.rb:194:in `method_missing'
which is essentially caused by namespace
method name.
method(:namespace).source_location
=> [".rvm/gems/ruby-2.2.4@isa/gems/rake-10.5.0/lib/rake/dsl_definition.rb", 141]
whereas being in finalize!
method:
self.class.instance_methods(false)
=> [:namespace, :finalize!, :name, :container]
Do you have any ideas what may cause this? Method name change fixes it, obviously.
Because now hot code reload is missing, I discourage to use containers within Rails app, or at least using it as the app dependencies basis, because it messes up with ActionDispatch::Reloader
code reloading, which ends up with various constants related issues.
I'm going to try to handle this task around 15th of Sept. If you want to join or even better, have a solution feel free to leave a PR 😄 .
"Rails support" section says:
There’s no dedicated railtie for dry-system yet but we’d like to provide one at some point. Please get in touch if you’re interested in helping with this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.