# Problem with scaffold

**URL:** <https://www.ruby-forum.com/t/problem-with-scaffold/108370>\
**Category:** Rails\
**Created:** [July 2, 2007, 8:45pm UTC](https://www.ruby-forum.com/t/problem-with-scaffold/108370 "2007-07-02T20:45:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sandip\_Gangakhedkar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ba8739/32.png) [@Sandip\_Gangakhedkar](https://www.ruby-forum.com/u/Sandip_Gangakhedkar)\
**Post date:** [July 2, 2007, 8:45pm UTC](https://www.ruby-forum.com/t/problem-with-scaffold/108370/1 "2007-07-02T20:45:00Z")

</div>

i’ve created a new rails app…model and controller named admin  
(alongwith a dev database associated with the model)…display with  
scaffold shows an error -  
NameError in AdminController#index  
uninitialized constant Dy

Please help.
