# Best way to handly a few static pages in a Rails app?

**URL:** <https://www.ruby-forum.com/t/best-way-to-handly-a-few-static-pages-in-a-rails-app/92994>\
**Category:** Rails\
**Created:** [April 26, 2007, 12:31pm UTC](https://www.ruby-forum.com/t/best-way-to-handly-a-few-static-pages-in-a-rails-app/92994 "2007-04-26T12:31:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ralph](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f475e1/32.png) [@ralph](https://www.ruby-forum.com/u/ralph)\
**Post date:** [April 26, 2007, 12:31pm UTC](https://www.ruby-forum.com/t/best-way-to-handly-a-few-static-pages-in-a-rails-app/92994/1 "2007-04-26T12:31:53Z")

</div>

Hello,

this happens to me quite often: I have to write an application that is  
centered around some core funtionality. In addition to this, the  
application does need to handle about 5 to 10 static pages with general  
information, or one dynamic page where news items can be posted by the  
client.

Usually, I just create a page model and controller (authorized access  
only) and add a textile filter. Then I create a public action that finds  
articles by slug, like [myhomepage.com/pages/legal-information](http://myhomepage.com/pages/legal-information). The pages  
are linked up statically in the navigation structure.

## But you never stop learning, so I’d like to know if there is a better way of doing this? Since this is a very common task, are there any plugins you can recommend?

Looking forward to your suggestions  
Ralph
