[Rails] Using Rails to Generate static pages
David Castañeda
davidecr at gmail.com
Mon Jun 26 17:39:53 GMT 2006
Isn't rails a framework for SOME web apps .... maybe this does fit inside
the rails framework... I think this belong only to ERb ... and I have to do
this once but I implement it with java servlets.
On 6/26/06, Chris Earle (CBL) < cearle at cbltech.ca> wrote:
>
> Hi all,
>
> Has anyone ever thought about or implemented a way to use Rails to pull
> content from a database and actually *generate* static html pages from
> view
> templates?
>
> I want to throw a bunch of content into a db using rails and then put all
> my website templates into the views dir and write the files out with the
> content inside.
>
> The funny thing is that the html pages Rails normally outputs to the
> browser
> are html with some funny memory/db address locations in there where you
> think text is........ go ahead, look at some of the pages your apps spit
> out -- stuff like <%Controller:12357643> etc.... is in there
>
> Any ideas about how I could output static pages please post!
>
> Thanks
> --
> Chris Earle
>
>
> --
> This message has been scanned for viruses and dangerous content by
> MailScanner, and is believed to be clean.
>
> _______________________________________________
> Rails mailing list
> Rails at lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
--
David Castañeda R.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060626/d0221601/attachment.html
More information about the Rails
mailing list