Essentially I am looking for a no-op type of relation to apply to a chain of scopes.
Lets say I have a chain of scopes:
Post.approved.published.all
Now, for debugging purposes, I wish to make the published
scope do nothing at all, so that the chain will only return approved
posts, regardless of whether they are published
or not.
What would I return in the following method:
def self.published
# what to return?
end