You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 19, 2018. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 19, 2018. It is now read-only.
For the error method_missing you got , it is a config error.
You should have set config.eager_load = false in config/development.rb or remove hyperloop dir from eager_load.
What do you mean by not relying on active_record and what are the issues you got.
Okay lets explore having the hyperloop gem be a bit "smarter" such that if it does not detect active-record, it drops hyper-model, likewise for any other dependencies. I.e. it auto-adapts to whatever...
i would first favour a config.require_hyper_model = true by default, likewise for other dependencies. later on this can then be made autodetect on app start.
Activity
34code commentedon Nov 5, 2017
I ran into a few issues since I'm not relying on active_record..
Seems like hyperloop has a strong an active_record dependency and I wasn't able to install individual gems like
hyper-componenteither.My fallback was to install the JS files and follow the JS import guides instead of the Rails guides..
fzingg commentedon Nov 6, 2017
For the error
method_missingyou got , it is a config error.You should have set
config.eager_load = falseinconfig/development.rbor remove hyperloop dir from eager_load.What do you mean by not relying on active_record and what are the issues you got.
34code commentedon Nov 13, 2017
I tried the tutorial after updating all my gems and it appears to be working now..
Tutorial link: http://ruby-hyperloop.org/tutorials/hyperlooprails/helloworld/
I get some warnings but loading the components seems to be working:
catmando commentedon Nov 15, 2017
Okay lets explore having the hyperloop gem be a bit "smarter" such that if it does not detect active-record, it drops hyper-model, likewise for any other dependencies. I.e. it auto-adapts to whatever...
janbiedermann commentedon Nov 20, 2017
i would first favour a config.require_hyper_model = true by default, likewise for other dependencies. later on this can then be made autodetect on app start.
janbiedermann commentedon Nov 20, 2017
also we could make the gems not depend on each other and let the
gem ‘hyperloop’then instead include the complete set.catmando commentedon Nov 20, 2017
auto detect is no harder just do it...