Jon Atack
a7fdc51da4
Follow up to #373 . Fix Rspec deprecation error in test.
2014-05-16 00:23:06 +02:00
Grey Baker
b835553aac
Add ignore_unknown_conditions config options, and raise if it is false
2014-05-14 13:50:17 +01:00
Jon Atack
7e68db08d8
Follow up to #370 .
2014-05-13 12:10:47 +02:00
Artem Baguinski
99840fcc28
arel_predicate can be a proc...
...
...accepting typecasted, but yet unformatted, value
2014-05-12 16:58:33 +02:00
Jon Atack
1abf8f6086
Maintain Ruby 1.8.7 syntax compatibility
...
since Rails 3.x stills supports Ruby 1.8.7 as per
http://guides.rubyonrails.org/v3.2.17/getting_started.html :
“Ruby language version 1.8.7 or higher.”
2014-05-01 15:55:39 +02:00
jonatack
49c1e3134c
Use Ruby 1.9 hash syntax
2013-08-04 15:13:41 +02:00
Asfand Qazi
afdd357fae
Allow adding of custom predicates that take arrays (like IN/NOT IN)
2012-05-02 07:54:12 +01:00
Ryan Bigg
adf40447c9
Change set_search_key_name Configuration method to be a true setter, renamed to search_key=
...
Related to #81
2012-04-11 16:35:54 -04:00
Marek Hulan
9a71cbf8b8
Added custom search param key feature refs #43
...
Including specs. I didn't find any other sane place where a behaviour
should be changed. I don't understand why you define :q in
Ransack::Naming::Name so I ignored it. Still seems to work pretty good
in sort_link helper.
Enabled global search_key configuration refs #81
You can configure new default search key parameter
(default is still :q). Specs are included as well.
New functionality is documented in README.md
I also removed my specifis lines from .gitignore.
2012-04-11 14:29:30 -04:00
Ernie Miller
e5c7d8be2b
DRY up predicate detection, add some starter docs
2011-06-06 21:32:03 -04:00
Ernie Miller
cec4e3d64f
Fix/add specs, remove duplicate base.rb for edge and 3.0
2011-06-04 18:01:12 -04:00
Ernie Miller
294015309b
Initial commit.
2011-03-30 20:31:39 -04:00