Add active_resource dependency

Fixes #1