avoid scoped to remove warnings in rails 4