add support for getting current request object from within a model
2 files changed