# Depot app error: Unknown action

**URL:** <https://www.ruby-forum.com/t/depot-app-error-unknown-action/148792>\
**Category:** Rails\
**Created:** [September 17, 2008, 5:33am UTC](https://www.ruby-forum.com/t/depot-app-error-unknown-action/148792 "2008-09-17T05:33:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ozray](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/e95f7d/32.png) [@ozray](https://www.ruby-forum.com/u/ozray)\
**Post date:** [September 17, 2008, 5:33am UTC](https://www.ruby-forum.com/t/depot-app-error-unknown-action/148792/1 "2008-09-17T05:33:16Z")

</div>

I installed two plugins: scaffolding and classic\_pagination

When “[http://localhost:3000/admin/new](http://localhost:3000/admin/new)”

then click “Create” button

it display

Unknown action  
No action responded to /admin/create

and url is very “strange”  
[http://localhost:3000/admin/%2Fadmin%2Fcreate](http://localhost:3000/admin/%2Fadmin%2Fcreate)

could anyone tell me what’s wrong

---

<div class="post-metadata">

**Author:** ![ozray](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/e95f7d/32.png) [@ozray](https://www.ruby-forum.com/u/ozray)\
**Post date:** [September 17, 2008, 1:36pm UTC](https://www.ruby-forum.com/t/depot-app-error-unknown-action/148792/2 "2008-09-17T13:36:54Z")

</div>

Difficult to say with so little code:  
What the code in your view (admin/new.html.erb)? And what’s the code  
of the new action in your controller (admin.rb)?

Dirk.

---

<div class="post-metadata">

**Author:** ![ozray](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/e95f7d/32.png) [@ozray](https://www.ruby-forum.com/u/ozray)\
**Post date:** [November 15, 2008, 2:57pm UTC](https://www.ruby-forum.com/t/depot-app-error-unknown-action/148792/3 "2008-11-15T14:57:36Z")

</div>

Ozray,  
I got the error. I am just following the steps in AWDWR (2nd) to learn  
Ruby on Rails.

I don’t think I skipped any step.  
Were you able to find out why you were getting that issue? Is it  
solved now?  
Thanks  
Phil

---

<div class="post-metadata">

**Author:** ![ozray](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/e95f7d/32.png) [@ozray](https://www.ruby-forum.com/u/ozray)\
**Post date:** [November 15, 2008, 2:57pm UTC](https://www.ruby-forum.com/t/depot-app-error-unknown-action/148792/4 "2008-11-15T14:57:36Z")

</div>

On Sep 17, 6:35 am, deegee [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Difficult to say with so little code:  
> What the code in your view (admin/new.html.erb)? And what’s the code  
> of the new action in your controller (admin.rb)?
> 
> Dirk.

I have the same error.  
The code in controller: admin\_controler.rb is  
class AdminController \< ApplicationController  
scaffold :product  
end

There is no view defined yet.

The code in model: product.rb is:  
class Product \< ActiveRecord::Base  
end

Any idea?  
Phil
