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

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. 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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs