Rails 4 fix for #951

Fix finders for Rails 4