activerecord-hackery--ransack/lib/ransack
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
..
adapters Pass a symbol as an argument instead of a block 2014-12-12 17:34:46 +01:00
helpers Set search ivar and pass params explicitly. 2014-12-14 21:16:17 +01:00
locale fix ro translation for predicate present 2014-09-10 12:38:51 +03:00
nodes Handle nil in options passed to sort_link, add test. 2014-12-11 18:31:54 +01:00
configuration.rb Document `search_key=(name)` method in the code. 2014-11-22 23:58:32 +01:00
constants.rb Derive ASC_DESC constant from ASC and DESC ones. 2014-12-01 23:45:00 +01:00
context.rb Remove unneeded namespacing 2014-11-21 20:03:20 +01:00
helpers.rb Initial commit. 2011-03-30 20:31:39 -04:00
naming.rb Remove unneeded namespacing 2014-11-21 20:03:20 +01:00
nodes.rb mongoid initialized 2014-07-31 23:42:22 -07:00
predicate.rb #none? should be much faster than select#empty? 2014-12-10 19:25:05 +01:00
ransacker.rb Maintain Ruby 1.8.7 syntax compatibility 2014-05-01 15:55:39 +02:00
search.rb Move sorts instantiation to constructor in order 2014-12-14 21:22:01 +01:00
translate.rb Remove unneeded namespacing 2014-11-21 20:03:20 +01:00
version.rb Bump version from 1.5.0 to 1.5.1 (bug fix release) 2014-10-30 20:19:16 +01:00
visitor.rb Remove unneeded namespacing 2014-11-21 20:03:20 +01:00