Is there any diff开发者_如何学Cerence between scope and named_scope?scope is used in Rails 3 >, named_scope was used in previous versions
I\'ve been trying to chain Arel queries using scopes, instead of just using some long-winded logic I wrote in the controller. But the scopes are slower than just getting all the records and then sifti
lenovo_yxw 开发者_StackOverflow中文版2022-04-20 12:21 张国荣出生地:香港九龙