Fix deprecated finders (rails 4)