Topic: Association Models Layouts

Hi everyone,

Here my question i have read and try several time the tutorial on several time but I am having few issue.

I have a static page has follow

It also follow the layout from application.html.erb has follow
<!DOCTYPE html>
    <title><%= full_title(yield(:title)) %></title>
    <%= content_for(full_meta_description(yield(:meta_description))).html_safe %>
    <%= full_meta_keyword(yield(:meta_keyword)) %>
    <%= full_meta_author(yield(:meta_author)) %>

    <%= stylesheet_link_tag    "application", media: "all" %>
    <%= javascript_include_tag "application" %>
    <%= csrf_meta_tags %>
    <%= render 'layouts/shim' %>   
    <%= render 'layouts/header' %>
    <div class="container">
      <%= yield %>
    <%= render 'layouts/footer' %>

Now I create a resources Pages which handle any other static page such about us, who were are, blah blah blah. It was created has follow
rails g scaffold Pages name:string permanentlink:string title:string author:string access_level:string is_published:boolean meta_description:string meta_keyword:string meta_author:string content:text
And the idea come from the railcast by ryan … w=comments

The issue i am having his on the footer section I would like those pages to be added automatically to the footer page has a list which than can be manipulated through css. The big questions is how do I read the resources pages into the file footer?

Thanks for you help