##Set pages as header and footer navigations in Rails.
I am not sure if this is the best solution, I made this up while working on a project but I hope it helps someone.
Assuming you already have a page model and can CRUD pages.
rails g migration add_nav_to_pages