beezwax/fmrest-ruby

Replace default_limit and default_sort with default_scope

pilaf opened this issue · 0 comments

pilaf commented

Currently you can set default_limit and default_sort on a model class.

Would be good to replace those settings with a general default_scope that took a block and allowed defining any default scopeable parameters.