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

28 commits

Author SHA1 Message Date
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
6957e6f5ba Bump version 2011-06-10 11:35:17 -04:00
Ernie Miller
2d897822f1 Update docs 2011-06-10 11:34:48 -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
ffb08e08a4 Version bump 2011-06-09 12:58:15 -04:00
Ernie Miller
fbcf2d9223 Merge pull request #2 from tallica-pl/patch-1
Add missing comma.
2011-06-09 04:56:21 -07:00
Michał Lipski
5b95e6c0b7 Add missing comma. 2011-06-09 04:29:14 -07:00
Ernie Miller
e5c7d8be2b DRY up predicate detection, add some starter docs 2011-06-06 21:32:03 -04:00
Ernie Miller
da6d4aa4aa Add i18n for any/all 2011-06-05 15:01:53 -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
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
cef7b8ecea Workaround for 3.0 not having param_key and fix valid? on attr/sort 2011-04-18 13:59:47 -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
2725cf28d4 Demonstrate use of functions in ransackers 2011-04-11 14:39:40 -04:00
Ernie Miller
d936136749 Test ransacker access via associations 2011-04-11 12:59:26 -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
09f489bdb4 Change default submit button text 2011-04-01 08:06:51 -04:00
Ernie Miller
294015309b Initial commit. 2011-03-30 20:31:39 -04:00