Fix for rails 410

This fixes issue #12