Expected behavior
It should load resources.
Actual behavior
image_path(...)
, stylesheet_link_tag
should not raise TypeError: no implicit conversion of nil into String
Stacktrace:
"/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:111:in `+'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:111:in `block (2 levels) in logical_paths'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:228:in `block in stat_tree'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:212:in `block in stat_directory'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `each'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `stat_directory'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:227:in `stat_tree'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:231:in `block in stat_tree'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:212:in `block in stat_directory'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `each'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `stat_directory'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:227:in `stat_tree'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:231:in `block in stat_tree'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:212:in `block in stat_directory'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `each'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `stat_directory'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:227:in `stat_tree'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:105:in `each'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:105:in `block in logical_paths'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:104:in `each'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:104:in `logical_paths'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:140:in `find'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-rails-3.2.2/lib/sprockets/railtie.rb:51:in `each'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-rails-3.2.2/lib/sprockets/railtie.rb:51:in `to_a'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-rails-3.2.2/lib/sprockets/railtie.rb:51:in `precompiled_assets'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/2.5.0/delegate.rb:85:in `eval'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/2.5.0/delegate.rb:85:in `call'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/2.5.0/delegate.rb:85:in `method_missing'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/ruby-debug-ide-2.3.0/lib/ruby-debug-ide/command.rb:168:in `block in debug_eval'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/ruby-debug-ide-2.3.0/lib/ruby-debug-ide/command.rb:119:in `timeout'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/ruby-debug-ide-2.3.0/lib/ruby-debug-ide/command.rb:167:in `debug_eval'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/ruby-debug-ide-2.3.0/lib/ruby-debug-ide/commands/inspect.rb:19:in `execute'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/ruby-debug-ide-2.3.0/lib/ruby-debug-ide/ide_processor.rb:41:in `block (2 levels) in process_commands'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/ruby-debug-ide-2.3.0/lib/ruby-debug-ide/ide_processor.rb:34:in `each'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/ruby-debug-ide-2.3.0/lib/ruby-debug-ide/ide_processor.rb:34:in `block in process_commands'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/ruby-debug-ide-2.3.0/lib/ruby-debug-ide/ide_processor.rb:33:in `catch'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/ruby-debug-ide-2.3.0/lib/ruby-debug-ide/ide_processor.rb:33:in `process_commands'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/ruby-debug-ide-2.3.0/lib/ruby-debug-ide/event_processor.rb:60:in `line_event'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/ruby-debug-ide-2.3.0/lib/ruby-debug-ide/event_processor.rb:35:in `at_line'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/debase-2.3.0/lib/debase/context.rb:35:in `at_line'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-rails-3.2.2/lib/sprockets/railtie.rb:50:in `precompiled_assets'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-rails-3.2.2/lib/sprockets/railtie.rb:35:in `asset_precompiled?'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-rails-3.2.2/lib/sprockets/railtie.rb:252:in `block (3 levels) in <class:Railtie>'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-rails-3.2.2/lib/sprockets/rails/helper.rb:368:in `precompiled?'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-rails-3.2.2/lib/sprockets/rails/helper.rb:372:in `raise_unless_precompiled_asset'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-rails-3.2.2/lib/sprockets/rails/helper.rb:338:in `digest_path'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-rails-3.2.2/lib/sprockets/rails/helper.rb:326:in `asset_path'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-rails-3.2.2/lib/sprockets/rails/helper.rb:103:in `block in resolve_asset_path'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-rails-3.2.2/lib/sprockets/rails/helper.rb:243:in `block in resolve_asset'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-rails-3.2.2/lib/sprockets/rails/helper.rb:242:in `each'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-rails-3.2.2/lib/sprockets/rails/helper.rb:242:in `detect'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-rails-3.2.2/lib/sprockets/rails/helper.rb:242:in `resolve_asset'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-rails-3.2.2/lib/sprockets/rails/helper.rb:102:in `resolve_asset_path'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/sprockets-rails-3.2.2/lib/sprockets/rails/helper.rb:80:in `compute_asset_path'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/actionview-5.0.0/lib/action_view/helpers/asset_url_helper.rb:144:in `asset_path'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/actionview-5.0.0/lib/action_view/helpers/asset_url_helper.rb:311:in `image_path'", "/home/mgarcia/projects/cryptocambios/app/views/layouts/landing.html.haml:21:in `_app_views_layouts_landing_html_haml___447802081393281880_47389292468680'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/actionview-5.0.0/lib/action_view/template.rb:158:in `block in render'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/activesupport-5.0.0/lib/active_support/notifications.rb:166:in `instrument'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/actionview-5.0.0/lib/action_view/template.rb:348:in `instrument'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/actionview-5.0.0/lib/action_view/template.rb:156:in `render'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/actionview-5.0.0/lib/action_view/renderer/template_renderer.rb:66:in `render_with_layout'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/actionview-5.0.0/lib/action_view/renderer/template_renderer.rb:52:in `render_template'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/actionview-5.0.0/lib/action_view/renderer/template_renderer.rb:14:in `render'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/actionview-5.0.0/lib/action_view/renderer/renderer.rb:42:in `render_template'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/actionview-5.0.0/lib/action_view/renderer/renderer.rb:23:in `render'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/actionview-5.0.0/lib/action_view/rendering.rb:103:in `_render_template'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/actionpack-5.0.0/lib/action_controller/metal/streaming.rb:217:in `_render_template'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/actionview-5.0.0/lib/action_view/rendering.rb:83:in `render_to_body'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/actionpack-5.0.0/lib/action_controller/metal/rendering.rb:52:in `render_to_body'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/actionpack-5.0.0/lib/action_controller/metal/renderers.rb:144:in `render_to_body'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/actionpack-5.0.0/lib/abstract_controller/rendering.rb:26:in `render'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/actionpack-5.0.0/lib/action_controller/metal/rendering.rb:36:in `render'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/actionpack-5.0.0/lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/activesupport-5.0.0/lib/active_support/core_ext/benchmark.rb:12:in `block in ms'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/2.5.0/benchmark.rb:308:in `realtime'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/activesupport-5.0.0/lib/active_support/core_ext/benchmark.rb:12:in `ms'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/actionpack-5.0.0/lib/action_controller/metal/instrumentation.rb:44:in `block in render'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/actionpack-5.0.0/lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/activerecord-5.0.0/lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'", "/home/mgarcia/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/a