1
0
Fork 0
mirror of https://github.com/activerecord-hackery/ransack.git synced 2022-11-09 13:47:45 -05:00
Commit graph

11 commits

Author SHA1 Message Date
Jon Atack
67a605a0e2 Revert 846b168 2014-12-20 23:50:10 +01:00
Jon Atack
846b1687ec Avoid hash as a variable name
Not sure using `hash` poses any risk, but the Ruby docs use `h` or
`hsh`:

http://www.ruby-doc.org/core-2.1.5/Hash.html
2014-12-19 13:02:46 +01:00
Jon Atack
29428ae481 Remove unneeded namespacing 2014-11-21 20:03:20 +01:00
Jon Atack
a33ace336d Constants instead of string allocations for Ruby < 2.1
It costs a bit of code readability but avoids allocating
new string objects repeatedly.
2014-11-20 23:56:41 +01:00
Zhomart Mukhamejanov
12e1e4d4f0 new AR codes moved to inside adapters/active_record 2014-10-31 11:36:23 -07:00
Jon Atack
dccc871a72 Move string constants into Ransack::Constants 2014-10-09 23:48:38 +02:00
Jon Atack
46ab1030f7 Reference string constants rather than repeatedly
allocating the same string in order to deduplicate
commonly-used strings, reduce object allocations
and memory usage.
2014-10-06 23:27:55 +02:00
Zhomart Mukhamejanov
e5b6014a53 ActiveRecord and Arel abstracted 2014-07-31 23:36:12 -07:00
jonatack
fea42266cb More Ruby 1.9 hash syntax 2013-08-12 10:27:50 +02:00
Ernie Miller
1c41a3ea2c Add :only/:compound options to predicate_select, refactor ands/ors -> groupings 2011-06-05 14:29:54 -04:00
Ernie Miller
62cf765c12 Ransacker implementation improvements 2011-04-11 12:04:31 -04:00