# Create static pages from RoR

**URL:** <https://www.ruby-forum.com/t/create-static-pages-from-ror/130348>\
**Category:** Rails\
**Created:** [February 27, 2008, 3:18pm UTC](https://www.ruby-forum.com/t/create-static-pages-from-ror/130348 "2008-02-27T15:18:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JDS\_no\_spam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/db5fbb/32.png) [@JDS\_no\_spam](https://www.ruby-forum.com/u/JDS_no_spam)\
**Post date:** [February 27, 2008, 3:18pm UTC](https://www.ruby-forum.com/t/create-static-pages-from-ror/130348/1 "2008-02-27T15:18:42Z")

</div>

I’m learning RoR and I need to solve a particular problem. I have a  
database which I currently use to create a complete web site, it has  
pages like \Europe\Spain\hotels-in-Spain.html and \Europe\Spain  
\Index.html, and \Europe\Index.html, you get the general idea. Reading  
about routes.rb I see that with some tricking about I could preserve  
this search engine friendly way of doing things, but for the most part  
these pages are static and change maybe once a week or even less.  
Rather than have Rails generate a new page from scratch on each  
request, I want to use Rails to create the entire web site and write  
it into the right directories as static pages, with just a few dynamic  
pages, or maybe some AJAX sections on the static pages.

How do I do it?

---

<div class="post-metadata">

**Author:** ![JDS\_no\_spam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/db5fbb/32.png) [@JDS\_no\_spam](https://www.ruby-forum.com/u/JDS_no_spam)\
**Post date:** [February 27, 2008, 5:50pm UTC](https://www.ruby-forum.com/t/create-static-pages-from-ror/130348/2 "2008-02-27T17:50:48Z")

</div>

[http://radiantcms.org/](http://radiantcms.org/)

Uses caching.

---

<div class="post-metadata">

**Author:** ![JDS\_no\_spam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/db5fbb/32.png) [@JDS\_no\_spam](https://www.ruby-forum.com/u/JDS_no_spam)\
**Post date:** [February 28, 2008, 8:26pm UTC](https://www.ruby-forum.com/t/create-static-pages-from-ror/130348/3 "2008-02-28T20:26:09Z")

</div>

Ta for that, sadly the demo doesn’t work anymore, when I click the  
login button I go straight to “server cannot be found”. I’ll download  
the thing as see if I can get it to work that way.

Cheers

John S.

---

<div class="post-metadata">

**Author:** ![JDS\_no\_spam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/db5fbb/32.png) [@JDS\_no\_spam](https://www.ruby-forum.com/u/JDS_no_spam)\
**Post date:** [February 29, 2008, 6:55am UTC](https://www.ruby-forum.com/t/create-static-pages-from-ror/130348/4 "2008-02-29T06:55:56Z")

</div>

JDS no spam wrote:

> Ta for that, sadly the demo doesn’t work anymore, when I click the  
> login button I go straight to “server cannot be found”. I’ll download  
> the thing as see if I can get it to work that way.
> 
> Cheers
> 
> John S.

Radiant is very good and quite reliable. You should be able to get it  
running quite easily. There are download and install instructions at  
the website ([http://radiantcms.org/](http://radiantcms.org/) ) but they’re migrating servers, so  
you may have some problems (that may be why the demo doesn’t work).

There’s a helpful mailing list on that site.

Also, after you download, you can follow the tutorial on my site to get  
started:  
[http://notepad.onghu.com/2007/5/26/hello-world-using-radiant-cms](http://notepad.onghu.com/2007/5/26/hello-world-using-radiant-cms)

Cheers  
Mohit.
