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

20 commits

Author SHA1 Message Date
Ernie Miller
3f9fa1c2bb Bump version, use polyamorous 2011-09-03 15:37:02 -04:00
Ernie Miller
c156fa4a7a Don't let _ be contained in polymorphic class. Fixes #12 2011-08-04 17:10:33 -04:00
Ernie Miller
6a39ce6d42 Don't amc graft if Squeel is loaded (see #4) 2011-06-27 19:30:57 -04:00
Ernie Miller
61e455e8bc Update gem requirements and remove some useless comments. 2011-06-27 18:55:50 -04:00
Ernie Miller
28add8c195 On second thought, something is better than nothing.
Still, will need to avoid using association sorts when the DB doesn't support it.
Hoping someone brighter than me comes up with a solid way to do this in a more
flexible and cross-DB-compatible way.
2011-06-11 14:07:11 -04:00
Ernie Miller
567c70bd01 Cross-platform DISTINCT that doesn't work without surprises is a lost cause.
Implement this against the result if you desire.
2011-06-10 11:32:29 -04:00
Ernie Miller
2cfa803111 D'oh. class_attribute FAIL. 2011-06-10 09:33:02 -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
747b414110 Strip out inaccessible associations from form helper attribute collections 2011-05-30 13:00:59 -04:00
Ernie Miller
f151d62d22 API for ransackable_attributes should be to use super and filter in a method. 2011-05-30 11:14:30 -04:00
Ernie Miller
ee84a09337 Make sure we are using the adapter's column hash in AR 3.0 2011-04-18 14:34:48 -04:00
Ernie Miller
742c638af6 3.0 backporting work in progress 2011-04-18 11:28:19 -04:00
Ernie Miller
7264896d43 Thanks, @jonleighton! 2011-04-14 19:16:40 -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
62cf765c12 Ransacker implementation improvements 2011-04-11 12:04:31 -04:00
Ernie Miller
11dd0d63f4 WIP: refactor type casting behavior to better support ranasckers 2011-04-10 21:11:28 -04:00
Ernie Miller
ecd42f4a83 WIP: move away from contextualize, toward bind 2011-04-09 20:55:28 -04:00
Ernie Miller
10d720104d Initial support for polymorphic belongs_to associations 2011-04-08 11:33:10 -04:00
Ernie Miller
294015309b Initial commit. 2011-03-30 20:31:39 -04:00