fix for undefined method context_class
Merge pull request #1 from egoholic/3-0-stable

fix for undefined method context_class