# Building an html file from the db?

**URL:** <https://www.ruby-forum.com/t/building-an-html-file-from-the-db/128414>\
**Category:** Rails\
**Created:** [February 7, 2008, 3:07pm UTC](https://www.ruby-forum.com/t/building-an-html-file-from-the-db/128414 "2008-02-07T15:07:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![agilehack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/d2c977/32.png) [@agilehack](https://www.ruby-forum.com/u/agilehack)\
**Post date:** [February 7, 2008, 3:07pm UTC](https://www.ruby-forum.com/t/building-an-html-file-from-the-db/128414/1 "2008-02-07T15:07:20Z")

</div>

could someone point me in the right direction with this?

I am looking to create a physical HTML file from the database and  
then  
FTP that file.

Think FTP’ing a file to a website to update a page for CMS purposes.

but first I need to build/create an html file from the DB - what would  
this look like from a code perspective?

I am thinking at least the first step isnt far off from what scaffold  
does?

-nooby
