Dynamic Assets - can it be done?

So, here is the output code and what’s displayed. As you can see, I
simplified the helper calls and am able to call multiple stylesheets and
javascripts and am able to feed image tags with options.


application.html.erb gives you an idea of what’s being placed in the
head and in the body tags as an example.

application_helper.rb contains the helper methods being called.

display.html shows you what is output in a browser and as you can see
the assets are being managed properly.

another way is reusing code as in
by using the layout helpers down to each action by extending the
default includes
given in your layout(s)