I am new to rails, I know that we add our css and js files in application.html.erb file.
But do we also add the js scripts in the same file?
For example this script below
<script>
$(function () {
$("#slider").responsiveSlides({
auto: true,
speed: 500,
namespace: "callbacks",
pager: true,
});
});
</script>