ozray
(ozray)
September 17, 2008, 2:12am
1
I installed two plugins: scaffolding and classic_pagination
When "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
could anyone tell me what's wrong
Dirk_Groten
(Dirk Groten)
September 17, 2008, 11:35am
2
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.
pturpault
(pturpault)
November 15, 2008, 1:45am
3
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
pturpault
(pturpault)
November 15, 2008, 1:31pm
4
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