Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
NoMethodError: undefined method `unscoped' for Class #82
As a result the above code returns
but works if you swap the order of objects.