# Howto work with a page not generated by the scaffold?

**URL:** <https://www.ruby-forum.com/t/howto-work-with-a-page-not-generated-by-the-scaffold/65204>\
**Category:** Rails\
**Created:** [February 10, 2006, 2:02am UTC](https://www.ruby-forum.com/t/howto-work-with-a-page-not-generated-by-the-scaffold/65204 "2006-02-10T02:02:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anne\_G](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ac8455/32.png) [@Anne\_G](https://www.ruby-forum.com/u/Anne_G)\
**Post date:** [February 10, 2006, 2:02am UTC](https://www.ruby-forum.com/t/howto-work-with-a-page-not-generated-by-the-scaffold/65204/1 "2006-02-10T02:02:58Z")

</div>

I too was trying to figure out such things.

I need a page that will ask for initial and final  
date,

this would be a form page, so it would be a view. It would  
go in the view folder. You could have an action getdates  
det getdates  
end  
in controller which automatically will call getdates.rhtml  
in the view folder.

You will get the info from this page in the params. Look up  
render to look at the param hash.

The controller can then select all the data, and go to  
another view page, show.rhtml.

You don’t need to use scaffold at all.

Here is what I found  
[http://wrath.rubyonrails.org/pipermail/rails/2006-February/016082.html](http://wrath.rubyonrails.org/pipermail/rails/2006-February/016082.html)

I also found the following tutorial which is more about  
understanding

> **[Rapid Learning Rails](http://www.troubleshooters.com/codecorn/ruby/rails/rapidlearning_rails.htm)**
>
> Learn Rails fast

I will be happy to help if I can, I only have a couple weeks  
on this myself.

anne

---

<div class="post-metadata">

**Author:** ![Anne\_G](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ac8455/32.png) [@Anne\_G](https://www.ruby-forum.com/u/Anne_G)\
**Post date:** [February 10, 2006, 2:06am UTC](https://www.ruby-forum.com/t/howto-work-with-a-page-not-generated-by-the-scaffold/65204/2 "2006-02-10T02:06:33Z")

</div>

Hey Anne ! Thanks for the links !  
I think after a while, you don’t use scaffold at all… at least I don’t  
anymore.  
You just start building your application page by page, action by action,  
component by component… etc.  
I think scaffold is just a “ooooooo look what rails can do” type thing  
that  
get’s people started.

I think… or I may be missing an amazing feature and I’m wasting a lot  
of  
time… but, I don’t think so 🙂

---

<div class="post-metadata">

**Author:** ![Anne\_G](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ac8455/32.png) [@Anne\_G](https://www.ruby-forum.com/u/Anne_G)\
**Post date:** [February 10, 2006, 2:27am UTC](https://www.ruby-forum.com/t/howto-work-with-a-page-not-generated-by-the-scaffold/65204/3 "2006-02-10T02:27:28Z")

</div>

> I think scaffold is just a “ooooooo look what rails can do” type thing

Yap, and I have become allergic to the word scaffold and to that  
attitude,  
and I prefer to ignore politly anyone suggesting that since there is  
scaffold, I should use it.

Rails is not for the true beginner. There is a lot of learning to do  
just to  
get to the first chapter of agile rails. some pros don’t understand  
that.

Now that I am starting to understand, I will certainly never use  
scaffold,  
symbol a certain humiliation: How hard it was to figure out just one of  
the lines of that oh so elegant program!

---

<div class="post-metadata">

**Author:** ![Anne\_G](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ac8455/32.png) [@Anne\_G](https://www.ruby-forum.com/u/Anne_G)\
**Post date:** [February 10, 2006, 2:44am UTC](https://www.ruby-forum.com/t/howto-work-with-a-page-not-generated-by-the-scaffold/65204/4 "2006-02-10T02:44:41Z")

</div>

On Friday 10 Feb 2006 01:26, anne g wrote:

> Now that I am starting to understand, I will certainly never use scaffold,

Well, there’s no harm in using the scaffold generator to put the  
absolute  
basics in place before fleshing them out yourself. I still use them,  
because  
it’s useful for getting stuff up and running as quick as possible.

Soon though, I’m planning to develop my own customised engines to  
rapidly  
implement the kind of stuff I need on almost every website - news  
sections,  
link pages, standard contact forms and so on. Might as well practise  
DRY  
between projects, as well as in them… 🙂

~Dave

–

Dave S.  
Rent-A-Monkey Website Development

> **[Tree Removal Service For Home & Businesses in Salt Lake City, UT](https://www.rentamonkey.com/)**
>
> Rent A Monkey Tree Service provides the safest, highest-quality tree removal for Salt Lake City, UT homes and businesses. Request a service today!

PGP Key: [http://www.rentamonkey.com/pgpkey.asc](http://www.rentamonkey.com/pgpkey.asc)
