ruby on rails 4 - ActionController::RoutingError (No route matches [GET] "/images/picture.jpg"): -
i seem have broken in rails 4.2 development environment. went change image on 1 of apps pages image placed in same location original, app/assets/images/picture.jpg
new image won't render, , can see in source unlike other images it's not being fingerprinted , still shows picture.jpg
in source.
i'm not sure how debug , haven't been able find working solution online. prints in rails server log:
started "/images/picture.jpg" ::1 @ 2015-06-15 10:56:28 +0800 actioncontroller::routingerror (no route matches [get] "/images/picture.jpg"): web-console (2.0.0.beta3) lib/action_dispatch/debug_exceptions.rb:22:in `middleware_call' web-console (2.0.0.beta3) lib/action_dispatch/debug_exceptions.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.1) lib/rack/methodoverride.rb:22:in `call' rack (1.6.1) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.1) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.1) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.1) lib/rack/lock.rb:17:in `call' rack (1.6.1) lib/rack/content_length.rb:15:in `call' rack (1.6.1) lib/rack/handler/webrick.rb:89:in `service' /home/me/.rbenv/versions/2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /home/me/.rbenv/versions/2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /home/me/.rbenv/versions/2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' rendered /home/me/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/web-console-2.0.0.beta3/lib/action_dispatch/templates/rescues/_trace.html.erb (1.0ms) rendered /home/me/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/web-console-2.0.0.beta3/lib/action_dispatch/templates/rescues/routing_error.html.erb within rescues/layout (19.6ms)
thanks help!
alxs
Comments
Post a Comment