Hi,

My goal is to get the file_name where an exception happened and its
line_number. The way it's made in Rails is awkward as it gets computed
in class TemplateError < ActionViewError which is in the view.

So how to write my own exception handler and use line_number and
file_name which Rails can compute?
-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to