Perry Smith
2011-Jan-24 04:57 UTC
actionpack-3.0.3/lib/action_dispatch/middleware/rescue.rb
I was trying to understand how exceptions are caught. There are two rescue.rb files. One is under ActionController. I understand how it is invoked and what it does. But the one under action_dispatch I don''t see how it gets used. I see the autoload for it in actionpack-3.0.3/lib/action_dispatch.rb but I don''t see a Rescue class created anywhere. Can someone help me to understand this part of the code? Thank you in advance. Perry -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Maybe Matching Threads
- uninitialized constant ActionController::Flash::FlashHash [NameError])
- Encoding issues when uploading files
- /lib/rack/request.rb in my gem - is this reserved?
- help stylesheet_link_tag
- request.format = :mobile causes error "undefined method `ref' for nil:NilClass"