Commit Graph

9 Commits

Author SHA1 Message Date
Ernie Miller 91c6ae0e8b Style cleanup 2012-10-11 09:11:39 -04:00
Sergey Nartimov 375a139c0e accept second argument in Search#respond_to?
See http://ruby-doc.org/core-1.9.3/Object.html#method-i-respond_to-3F
2012-10-11 15:50:08 +03:00
gleb 953ec1b502 inspect on Ransack::Search objects now will not load entire object graph
This means that:

1) inspect calls will be faster
2) inspect calls will be easier to understand
3) queries won't be executed until #result is called on the Search object

Fixes #115 with #121
2012-08-10 16:27:06 +10:00
Ernie Miller 3f9fa1c2bb Bump version, use polyamorous 2011-09-03 15:37:02 -04:00
Ernie Miller f6973b3a3b Initial work on sort_link. Mostly ported from MetaSearch, changes coming soon 2011-08-13 16:36:40 -04: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 5c937d628f SELECT DISTINCT instead of using group hack, and fix a glitch with grafting 2011-04-13 20:15:57 -04:00
Ernie Miller 77e570cf9c Ransackers get classy. Also, laying the groundwork for authorization 2011-04-11 20:07:23 -04:00
Ernie Miller 294015309b Initial commit. 2011-03-30 20:31:39 -04:00