# Undefined method \`scaffold' for AdminController:Class

**URL:** <https://www.ruby-forum.com/t/undefined-method-scaffold-for-admincontroller-class/184023>\
**Category:** Rails\
**Created:** [February 23, 2010, 11:05pm UTC](https://www.ruby-forum.com/t/undefined-method-scaffold-for-admincontroller-class/184023 "2010-02-23T23:05:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevinkusf](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/839c29/32.png) [@kevinkusf](https://www.ruby-forum.com/u/kevinkusf)\
**Post date:** [February 23, 2010, 11:05pm UTC](https://www.ruby-forum.com/t/undefined-method-scaffold-for-admincontroller-class/184023/1 "2010-02-23T23:05:18Z")

</div>

Hello everyone! I think a little background is necessary.

I’ve been a web-developer and linux user for a little over 4 years now,  
primarily working with PHP and MySQL. I’ve tried several other  
frameworks like Django and CodeIgniter and several other languages,  
including python, perl, ASP/.NET, javascript and javascript frameworks,  
also worked with Oracle and PostgreSQL and many many technologies like  
e-commerce apps and content management systems. I’ve heard of Ruby on  
Rails from the beginning but am only now realizing that this is the way  
to go.

So right now I’m running Ubuntu 9.10 with Apache and Ruby 1.8.7. I tried  
following this tutorial [http://www.dolicapax.org/?p=11](http://www.dolicapax.org/?p=11) completely but  
ran into problems after using gem to install rails, as I was not able to  
run the rails command in my terminal. So I ended up installing it with  
aptitude. Maybe this is part of the source of my problem, as I hear that  
is not the best way to do it.

Either way, I’ve been following the [lynda.com](http://lynda.com) ruby on rails essential  
training screencasts and just about everything is working just fine  
except this scaffold issue. The instructions in the screencasts are  
using Ruby 1.8.4, so I’m not sure if this scaffolding convention has  
changed at all since then, because I’m an absolute beginner.

Can anyone please help with this issue?

Thanks

---

<div class="post-metadata">

**Author:** ![kevinkusf](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/839c29/32.png) [@kevinkusf](https://www.ruby-forum.com/u/kevinkusf)\
**Post date:** [February 24, 2010, 5:20am UTC](https://www.ruby-forum.com/t/undefined-method-scaffold-for-admincontroller-class/184023/2 "2010-02-24T05:20:43Z")

</div>

write Down here what error are coming on console or in log files thanks

On Wed, Feb 24, 2010 at 3:35 AM, Kevin K. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> using Ruby 1.8.4, so I’m not sure if this scaffolding convention has  
> “Ruby on Rails: Talk” group.  
> To post to this group, send email to removed\_email\_address@domain.invalid.  
> To unsubscribe from this group, send email to  
> removed\_email\_address@domain.invalid[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> .  
> For more options, visit this group at  
> [http://groups.google.com/group/rubyonrails-talk?hl=en](http://groups.google.com/group/rubyonrails-talk?hl=en).

–  
Thanks:  
Rajeev sharma
