Scopes don’t work too well when dealing with joins. It may be that you’re doing something a little too complicated with it… or maybe not… it’s hard to tell what overall problem you’re trying to solve. We tried using default scopes and it always seemed to mess things up so we dropped them.
Hi guys, any solution this? we are also facing the same problem and it seems that we will also need to drop the default scope from all the models as its not working well with relational models if the the column names are same.