Hi all, i''m new in ruby on rails. i created a controller which has 2 views index, add_to_cart & inside index i created "button_to" which references to add_to_cart view, but when i click on this button UnKnownAction exception appear to me, i don''t know why this happen --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
detaild specification of the error: Unknown action No action responded to #<Product:0x196de7e>#<Product:0x1e9315f>#<Product:0xa86249> 2008/5/10 Emancs <e.hossny@gmail.com>:> Hi all, > i'm new in ruby on rails. > i created a controller which has 2 views index, add_to_cart > & inside index i created "button_to" which references to add_to_cart > view, but when i click on this button UnKnownAction exception appear > to me, i don't know why this happen >-- Eman Hossny, Teacher Assistant, Computer Science Department, Faculty of Computers and Information Cairo University, Egypt يارب العتق من النار لى ولوالديا --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---
many thanks, elhamd llAllah, my problem is solved it seems that i missed somthing 2008/5/10 Eman Hossny <e.hossny@gmail.com>:> detaild specification of the error: > Unknown action > > No action responded to > #<Product:0x196de7e>#<Product:0x1e9315f>#<Product:0xa86249> > > > 2008/5/10 Emancs <e.hossny@gmail.com>: > > Hi all, >> i'm new in ruby on rails. >> i created a controller which has 2 views index, add_to_cart >> & inside index i created "button_to" which references to add_to_cart >> view, but when i click on this button UnKnownAction exception appear >> to me, i don't know why this happen >> > > > > -- > Eman Hossny, > Teacher Assistant, > Computer Science Department, > Faculty of Computers and Information > Cairo University, Egypt > > يارب العتق من النار لى ولوالديا-- Eman Hossny, Teacher Assistant, Computer Science Department, Faculty of Computers and Information Cairo University, Egypt يارب العتق من النار لى ولوالديا --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---
Reasonably Related Threads
- ActionController::UnknownAction hangs application
- AWDWR: NameError (uninitialized constant UnknownAction) in rescue_action_in_public
- Why prefix ActionController::UnknownAction with ::?
- ActionController::UnknownAction (No action responded to 22.
- 0.0.0.0:300 --> this web page isnot availabe