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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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. On 17 sep, 04:12, ozray <meishany...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 On Sep 16, 9:12 pm, ozray <meishany...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Sep 17, 6:35 am, deegee <dirkgro...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---