Open catmando opened 8 years ago
1) Do not add these lines to application.rb:
`config.eager_load_paths += %W(#{config.root}/app/views/components)` `config.autoload_paths += %W(#{config.root}/app/views/components)`
They are not longer necessary (since public models are moved), and they break production.
2) The require_tree in models.rb can only execute in Opal land:
# app/models/models.rb require_tree './public' if RUBY_ENGINE == 'opal' # add the guard
These files have all moved so this issue should probably be closed.
1) Do not add these lines to application.rb:
They are not longer necessary (since public models are moved), and they break production.
2) The require_tree in models.rb can only execute in Opal land: