Displaying 1 result from an estimated 1 matches for "framework_process".
2007 Apr 23
0
request logging: around_filters can't see error responses!
...second try was to wrap/override ActionController::Base#process:
class ActionController::Base
unless instance_methods.include?("original_process")
alias_method :original_process, :process
def process(*args)
# do "before" stuff
ret = framework_process(*args)
# do "after" stuff
return ret
end
end
end
This works, but naturally I would prefer not to muck with the guts of
Rails if I can help it. Is there any better way to accomplish my
goal?
Josh
--~--~---------~--~----~------------~-------~--~----...