hi I am trying to rescue the runtime error and trying to access the exception object but it returns [#,#,#,#] i dont know why here is my code for rescuing the runtime error in application.rb. rescue_from Exception , :with => :runtime_error def runtime_error(exception) render :text => exception.message.to_s,:layout=> ‘bug.rhtml’, :status => not_found it rescues the run time error page but doesnt print the error messages. Let me know any suggestions Regards Ramya end -- View this message in context: http://www.nabble.com/rescue-runtime-error-tp22362268p22362268.html Sent from the RubyOnRails Users mailing list archive at Nabble.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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---