activerecord-hackery--ransack/lib
Jon Atack dd2679b6ab Move sorts instantiation to constructor in order
to maintain thread safety and prevent a potential race condition from
memoization.

Before this commit, freezing the search object ivar in the SortLink
class to verify that it is not being mutated was raising errors due to
this.

@ernie, @radar, let me know if this isn’t a good idea.
2014-12-14 21:22:01 +01:00
..
ransack Move sorts instantiation to constructor in order 2014-12-14 21:22:01 +01:00
ransack.rb by default loads ActiveRecord's CONSTANTS 2014-08-02 15:16:16 -07:00