Question: If the Rails asset pipeline is being used to serve JavaScript files, how would you include a link to one of those JavaScript files in a view?

  1. ``
  2. `<%= javascript_include_tag 'main' %>`
  3. `<%= javascript_tag 'main' %>`
  4. ``

Answer: The correct answer of the above question is Option B:`<%= javascript_include_tag 'main' %>`