# Scaffold not generating \_form.rhtlml.erb fiel in app/view

**URL:** <https://www.ruby-forum.com/t/scaffold-not-generating-form-rhtlml-erb-fiel-in-app-view/190673>\
**Category:** Rails\
**Created:** [June 24, 2010, 11:25pm UTC](https://www.ruby-forum.com/t/scaffold-not-generating-form-rhtlml-erb-fiel-in-app-view/190673 "2010-06-24T23:25:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pravin\_mishra](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/c37758/32.png) [@pravin\_mishra](https://www.ruby-forum.com/u/pravin_mishra)\
**Post date:** [June 24, 2010, 11:25pm UTC](https://www.ruby-forum.com/t/scaffold-not-generating-form-rhtlml-erb-fiel-in-app-view/190673/1 "2010-06-24T23:25:40Z")

</div>

I’m learning about Ruby on Rails. Please help me.  
Althougth I do step-by-step with books(config data, generate model, add  
data field in db/migrate/file.rb) but i can’t generate with scaffold or  
error.  
When run command: ruby script\generate scaffold Employee  
And check: [http://127.0.0.1:3000/employees/](http://127.0.0.1:3000/employees/)  
 → it shows successful with show,edit,destroy however it can’t show  
data field although i inserted data in mysql. It shows:  
---------------------------------------------  
Listing employees

```
            Show Edit Destroy
            Show Edit Destroy

            New employee
            ----------------------------------------

```

Or if i click on: New employee, it doesn’t have textbox to input data.  
It shows:  
---------------------------------  
New employee

```
            Back
            ----------------------------------

```

About your application’s environment:

Ruby version 1.8.6 (i386-mswin32)  
RubyGems version 0.9.4  
Rails version 2.0.2  
Active Record version 2.0.2  
Action Pack version 2.0.2  
Active Resource version 2.0.2  
Action Mailer version 2.0.2  
Active Support version 2.0.2
