I would like to display certain things on every or almost every page of my application. Things like header, footer, sidebar or navigation.
How would I go about doing that? I am coming from languages like PHP and ColdFusion where I would either include files or call a function to display what I want. I am having a hard time understanding how I can implement it in Rails.
Generally in your application layout, you use partials. A small example would look like
Hope this helps.