Working with "mostly static" content in Rails

My current project has some dynamic content, but there are also quite a few of these "mostly static" pages. These are pages that need to be updated in a CMS style, such as the "about" or "welcome" page, but only rarely.

My ultimate goal is to provide the site owner with the ability to log in and edit the text of these pages. There will be many translations of these various pages.

What's the best way to deal with these "mostly static" pages?

My real thinking is that I will need to create a model for the organization and store the "about" blurb and other information as properties of that model. Then I can translate using globalize2. It seems dumb since there will only be one of these models.

Does this sound reasonable?

Anyone have a better idea?

+1


source to share





All Articles