Rais generated HTML

A very very very lamme question:

how can I see rails generated html??

really sory for the "spam" hugo

Do you mean the dynamic scaffolding? You can generate the html for it like this:

script/generate scaffold [model name] [controller name]

For instance, the example from Agile Web Development with Rails is

script/generate scaffold product admin

The HTML will now be in the various rhtml files.

I mean the real html for the rhtml files, if possible.

Thanks, hugo

Hugo Pacheco wrote:

I mean the real html for the rhtml files, if possible.

Thanks, hugo

The real HTML is generated when the page is displayed. Go to the page that you want and "View Source" from your web browser.

Cheers Mohit.