when i show list og products i got ''Couldn''t find Admin with ID=list '' error.so plz give the solution for this error --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
You are using REST routes. Look at config/routes.rb and you will see something like that: controller_name.resources Look at this: http://nubyonrails.com/articles/peepcode-rest-basics If you want action list you must put: controller_name.resources, :member => {:list => :get} On 22 ago, 08:58, "shruti m.upadhyay" <mupadhyayshru...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> when i show list og products i got ''Couldn''t find Admin with ID=list '' > error.so plz give the solution for this error--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
david wrote:> You are using REST routes. > Look at config/routes.rb and you will see something like that: > > controller_name.resources > > Look at this: http://nubyonrails.com/articles/peepcode-rest-basics > > If you want action list you must put: > > controller_name.resources, :member => {:list => :get} > > On 22 ago, 08:58, "shruti m.upadhyay" <mupadhyayshru...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>same problem here can u suggest, how did u solved ? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
> same problem here can u suggest, how did u solve ?-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---