Rails 4.1 removed the .scoped method, and the recommendation is to use .all, as that returns an ActiveRecord::Relation.
Rails 4.1 removed the .scoped method, and the recommendation is to use .all, as that returns an ActiveRecord::Relation.

MustWin/switch_user,cyanna/switch_user,flyerhzm/switch_user,mitsuru/switch_user,flyerhzm/switch_user,vkill/switch_user,MustWin/switch_user,vkill/switch_user,mitsuru/switch_user,cyanna/switch_user