I believe a similar thing is happen with my install of Rails 5. It appears to me that the development environment is attempting to serve assets via the pipeline. For my experiment I use an image_tag to pull down an image. In the first load case the PNG requested is not present in app/assets/images. For the second request I have copied the PNG into place. Below is the console trace:
dave@dave-MacBook:$ rails -v
dave@dave-MacBook:$ rails s
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
* Min threads: 0, max threads: 16
* Environment: development
* Listening on tcp://localhost:3000
Started GET "/sign_in" for 127.0.0.1 at 2016-03-08 14:58:50 -0800
Processing by UserController#sign_in as HTML
Rendered user/sign_in_up.html.haml within layouts/application (786.7ms)
Rendered shared/_header.html.haml (97.8ms)
Completed 200 OK in 938ms (Views: 910.9ms | ActiveRecord: 0.0ms)
Started GET "/assets/bootstrap/bootstrap-theme.self-3598a44d4c6ec016d76dc796536975c136b9cbff9e9f22216088b542fa658481.css?body=1" for 127.0.0.1 at 2016-03-08 14:58:51 -0800
Started GET "/assets/bootstrap/bootstrap.self-598365399e6ae8f5a456a189663bac8ef9b8996ace38626328403f280fd63400.css?body=1" for 127.0.0.1 at 2016-03-08 14:58:51 -0800
Started GET "/assets/vendor_manifest.self-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.css?body=1" for 127.0.0.1 at 2016-03-08 14:58:51 -0800
Started GET "/assets/font-awesome.self-c1a7a80b6536c3397a1a212c9bd22298ae69260ee343d00b60d7f41fa54a59a8.css?body=1" for 127.0.0.1 at 2016-03-08 14:58:51 -0800
Started GET "/assets/search.self-f4ce997ae0874a91dccf3e609f24a0a61e4e51021836329d7e0a519173ce233b.css?body=1" for 127.0.0.1 at 2016-03-08 14:58:51 -0800
Started GET "/assets/shared/main.self-36922b9ab4cde4dd04c7393ca03177e067982525ad494bd05c8a7478c47632b7.css?body=1" for 127.0.0.1 at 2016-03-08 14:58:51 -0800
Started GET "/assets/shared/lesshat.self-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.css?body=1" for 127.0.0.1 at 2016-03-08 14:58:51 -0800
Started GET "/assets/user.self-8c01dbddb022ddbff9bb74f8baf99e5139bdaee2997404853c6a9d106444bbe5.css?body=1" for 127.0.0.1 at 2016-03-08 14:58:51 -0800
Started GET "/assets/application.self-0e31f1d30f689436ae56e463f6474eb99704af8bbed5fc320a66ac33afb59c2b.css?body=1" for 127.0.0.1 at 2016-03-08 14:58:51 -0800
Started GET "/assets/jquery.self-c64a74367bda6ef8b860f19e74df08927ca99d2be2ac934e9e92d5fd361e0da4.js?body=1" for 127.0.0.1 at 2016-03-08 14:58:51 -0800
Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for 127.0.0.1 at 2016-03-08 14:58:51 -0800
Started GET "/assets/action_cable.self-5cc84f1a95a47f68c4e64db6ffd98e141a568a28f49b78fa82712f809692630f.js?body=1" for 127.0.0.1 at 2016-03-08 14:58:51 -0800
Started GET "/assets/jquery_ujs.self-d602bdfe68ffc63b9f9cc512872aa3cfff046228a0a36e90dd476e8ef54c1b09.js?body=1" for 127.0.0.1 at 2016-03-08 14:58:51 -0800
Started GET "/assets/cable.self-e475a14c2de96c3e8b6ec198f31d9dce665cb56a1de35233ff6b6e4aed8af083.js?body=1" for 127.0.0.1 at 2016-03-08 14:58:51 -0800
Started GET "/assets/search.self-a8e5021a341c867ddd784bff1c4fbf355ce26dcc93e7c17da4db0d93a686689f.js?body=1" for 127.0.0.1 at 2016-03-08 14:58:51 -0800
Started GET "/assets/channels/search_results.self-62b81ec1b2eb773ca7e98df9f8bc81b48f8c4a9790c5519269f3685d8519b70a.js?body=1" for 127.0.0.1 at 2016-03-08 14:58:51 -0800
Started GET "/assets/user.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" for 127.0.0.1 at 2016-03-08 14:58:51 -0800
Started GET "/assets/bootstrap/bootstrap.self-d0e973a52d36a01036265aeefaf2d1ae3499d2cb231a9be3bd846432daf231de.js?body=1" for 127.0.0.1 at 2016-03-08 14:58:51 -0800
Started GET "/assets/vendor_manifest.self-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.js?body=1" for 127.0.0.1 at 2016-03-08 14:58:51 -0800
Started GET "/assets/application.self-afe802b04eaf1de2ea762489c83c08aa4c4ff3ff13c21566e43cb710683f5abc.js?body=1" for 127.0.0.1 at 2016-03-08 14:58:51 -0800
Started GET "/assets/logo-128x128-1a26fea2556eb3e28a2e964cfb9c354196bdfc6255f8d275a457c4da2bda3f9a.png" for 127.0.0.1 at 2016-03-08 14:58:51 -0800
Started GET "/images/facebook-32x32.png" for 127.0.0.1 at 2016-03-08 14:58:51 -0800
Started GET "/assets/twitter-32x32-4544d620700b86d9096fd28c0cf9696d398938cd1d897d59982a73096ee47657.png" for 127.0.0.1 at 2016-03-08 14:58:51 -0800
Started GET "/assets/google-32x32-27128aa0a975258793fbd777417ee89b7dd14f99ec4ca974f6254ed284af8618.png" for 127.0.0.1 at 2016-03-08 14:58:52 -0800
ActionController::RoutingError (No route matches [GET] "/images/facebook-32x32.png"):
actionpack (5.0.0.beta2) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call'
web-console (3.1.1) lib/web_console/middleware.rb:131:in `call_app'
web-console (3.1.1) lib/web_console/middleware.rb:28:in `block in call'
web-console (3.1.1) lib/web_console/middleware.rb:18:in `catch'
web-console (3.1.1) lib/web_console/middleware.rb:18:in `call'
actionpack (5.0.0.beta2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
railties (5.0.0.beta2) lib/rails/rack/logger.rb:36:in `call_app'
railties (5.0.0.beta2) lib/rails/rack/logger.rb:24:in `block in call'
activesupport (5.0.0.beta2) lib/active_support/tagged_logging.rb:70:in `block in tagged'
activesupport (5.0.0.beta2) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (5.0.0.beta2) lib/active_support/tagged_logging.rb:70:in `tagged'
railties (5.0.0.beta2) lib/rails/rack/logger.rb:24:in `call'
actionpack (5.0.0.beta2) lib/action_dispatch/middleware/request_id.rb:24:in `call'
rack (2.0.0.alpha) lib/rack/method_override.rb:22:in `call'
rack (2.0.0.alpha) lib/rack/runtime.rb:22:in `call'
activesupport (5.0.0.beta2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
actionpack (5.0.0.beta2) lib/action_dispatch/middleware/load_interlock.rb:13:in `call'
actionpack (5.0.0.beta2) lib/action_dispatch/middleware/static.rb:136:in `call'
rack (2.0.0.alpha) lib/rack/sendfile.rb:111:in `call'
railties (5.0.0.beta2) lib/rails/engine.rb:522:in `call'
puma (2.16.0) lib/puma/server.rb:557:in `handle_request'
puma (2.16.0) lib/puma/server.rb:404:in `process_client'
puma (2.16.0) lib/puma/server.rb:270:in `block in run'
puma (2.16.0) lib/puma/thread_pool.rb:106:in `call'
puma (2.16.0) lib/puma/thread_pool.rb:106:in `block in spawn_thread'
Started GET "/sign_in" for 127.0.0.1 at 2016-03-08 15:02:11 -0800
Processing by UserController#sign_in as HTML
Rendered user/sign_in_up.html.haml within layouts/application (80.1ms)
Completed 500 Internal Server Error in 85ms (ActiveRecord: 0.0ms)
ActionView::Template::Error (Asset was not declared to be precompiled in production.
Add `Rails.application.config.assets.precompile += %w( facebook-32x32.png )` to `config/initializers/assets.rb` and restart your server):
12: .col-sm-4.col-sm-offset-4.col-xs-12
13: = link_to(provider[:link],:class => 'btn-grey btn-block oauth-link') do
14: = image_tag(provider[:image],:class => 'oauth-image')
app/views/user/sign_in_up.html.haml:14:in `block (2 levels) in _app_views_user_sign_in_up_html_haml__345370075_101410280'
app/views/user/sign_in_up.html.haml:13:in `block in _app_views_user_sign_in_up_html_haml__345370075_101410280'
app/views/user/sign_in_up.html.haml:10:in `each'
app/views/user/sign_in_up.html.haml:10:in `_app_views_user_sign_in_up_html_haml__345370075_101410280'
app/controllers/user_controller.rb:13:in `sign_in'
Rendered /home/dave/.rvm/gems/ruby-2.2.3@community/gems/actionpack-5.0.0.beta2/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (19.1ms)
Rendered /home/dave/.rvm/gems/ruby-2.2.3@community/gems/actionpack-5.0.0.beta2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (6.5ms)
Rendered /home/dave/.rvm/gems/ruby-2.2.3@community/gems/actionpack-5.0.0.beta2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms)
Rendered /home/dave/.rvm/gems/ruby-2.2.3@community/gems/actionpack-5.0.0.beta2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (62.9ms)
Rendered /home/dave/.rvm/gems/ruby-2.2.3@community/gems/web-console-3.1.1/lib/web_console/templates/_markup.html.erb (0.6ms)
Rendered /home/dave/.rvm/gems/ruby-2.2.3@community/gems/web-console-3.1.1/lib/web_console/templates/_inner_console_markup.html.erb within layouts/inlined_string (0.4ms)
Rendered /home/dave/.rvm/gems/ruby-2.2.3@community/gems/web-console-3.1.1/lib/web_console/templates/_prompt_box_markup.html.erb within layouts/inlined_string (0.5ms)
Rendered /home/dave/.rvm/gems/ruby-2.2.3@community/gems/web-console-3.1.1/lib/web_console/templates/style.css.erb within layouts/inlined_string (0.5ms)
Rendered /home/dave/.rvm/gems/ruby-2.2.3@community/gems/web-console-3.1.1/lib/web_console/templates/console.js.erb within layouts/javascript (34.4ms)
Rendered /home/dave/.rvm/gems/ruby-2.2.3@community/gems/web-console-3.1.1/lib/web_console/templates/main.js.erb within layouts/javascript (0.7ms)
Rendered /home/dave/.rvm/gems/ruby-2.2.3@community/gems/web-console-3.1.1/lib/web_console/templates/index.html.erb (61.6ms)