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
ddf83a6d3d Cleanup
[skip ci]
2014-12-17 19:34:08 +01:00
Jon Atack
ed39f64e8b Add specs for attribute names with _or_ and _end 2014-10-24 10:41:37 +02:00
Timo Schilling
ffeecac6ed check exact matches before stripping (fixes #452)
fix is written with support form @jonatack
2014-10-24 00:57:22 +02:00
Joe Yates
d6e80f2e88 Check exact matches before splitting
* if the supplied name contains '_and_' or '_or_' we should check
  if it exists before splitting and checking the parts, this way we
  handle 'terms_and_conditions' as well as pairs of fields like
  'name_and_email'.
2014-10-17 14:02:16 +02:00
Jon Atack
a013ac9ab5 Readability [skip ci] 2014-09-05 23:11:14 +02:00
Jon Atack
0e8ad2a10f Merge pull request #373 from greysteil/no-predicate
Add a config option to ignore or raise on unknown predicates & attributes
2014-05-16 00:06:10 +02:00
irmiller22
9cd869431c updated rspec gemspec version to 2.14.0, changed old should syntax to newer expect syntax 2014-05-15 14:29:46 -04:00
Grey Baker
b835553aac Add ignore_unknown_conditions config options, and raise if it is false 2014-05-14 13:50:17 +01:00
Grey Baker
e54b691f13 Ignore conditions without a predicate (instead of raising an error) 2014-05-14 09:53:52 +01:00
Ernie Miller
d5b36a3aba Keep array values in "simple mode" when a predicate wants array (Fixes #20) 2011-09-02 12:42:58 -04:00
Ernie Miller
294015309b Initial commit. 2011-03-30 20:31:39 -04:00