Closed jdurand closed 10 years ago
@scarver2 I don't see reimplementing deprecated AR code in my own code base as a good solution.
Hi,
This pull request should be merged. I Complete agree with @jdurand
Agreed. This is a must for Rails 4.1 compatibility.
+1 Please merge
Thank you so much @jdurand ! Just stumbled on this error after upgrading. Maybe it's time to do a little gem maintenance...
I assume you are referring to the
undefined method sort_by! for #<Model::ActiveRecord_Relation:0x007ff81fd44508>
If so, define the sort_by method on in your model and return the position column.