While you're developing Rails applications, especially those which are mainly providing you with a simple interface to data in a database, it can often be useful to use the <code>scaffold</code> method.

If you have an controller named 'Entry', and method named 'Post', it can be used as follows:

<pre>
<code>
class EntryController < ApplicationController
  scaffold :post
end
</code>
</pre>

This will provide with a simple interface to your data, and ways of:

* Creating new entries
* Editing current entries
* Viewing current entries
* Destroying current entries

When creating or editing an entry, <code>scaffold</code> will do all the hard work of form generation and handling for you, and will even provide clever form generation, supporting the following types of ==<input />==:

* Simple text strings
* Textareas (or large blocks of text)
* Date selectors
* Datetime selectors

More information about <code>scaffold</code> can be found at http://rails.rubyonrails.com/classes/ActionController/Scaffolding/ClassMethods.html
