Asset filtered out and will not be served: add
Rails.application.config.assets.precompile += %w( login.js )
toconfig/initializers/assets.rb
and restart your server
I ge the above error when i try to run my application.
<% content_for :javascripts do %>
<%= javascript_include_tag 'login' %>
<% end %>
I have placed all my js files in assets/javascripts
, but still i get the above error.