I have been learning RoR now for 2 weeks.
I want to design a website.
How do I set the footer, headers, contents, navigation in RoR ?
does any body know a good tutorials for this, something like master
page, or template ?
or any body has a template I can experiment with ?
tks
Use layouts and/or partials
http://guides.rubyonrails.org/layouts_and_rendering.html
http://guides.rubyonrails.org/getting_started.html
Robert Pankowecki
Hi,
you should take a look at the RoR-Guides (http://guides.rubyonrails.org/layouts_and_rendering.html), there is a good description of what you can do with layout files. If you have any more questions after reading this, please come back and ask again.
Regards Jens
Tks Robert.
Hej Jens
well the chapter 5 of this book
http://ruby.railstutorial.org/chapters/filling-in-the-layout#sec:structure
really answer to my questions.
Tks