Also passed project explicitely to hook
Merge pull request #395 from opf/feature/rails3_add_project_param_to_hook

Also passed project explicitely to hook