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

12 commits

Author SHA1 Message Date
Andrew Premdas
3299f3aeaf Fixes #260 2013-07-25 16:13:22 +10:00
jonatack
e13853b2cf Merge spectator's escape brackets commit for Rails 3-0-stable
It seems that rails 3-0-stable doesn't escape these elements in the
URL, whereas later versions of Rails do.
2013-05-25 01:05:39 +02:00
jonatack
f536007960 Merge pull request #213 from piton/translate-common-attributes
I18n common attributes and Translate.attribute_name
2013-05-23 14:56:48 +02:00
Andrew Vit
9b9fd09915 Fix errors and warnings with specs on rails 4.0 2013-04-08 09:10:53 +10:00
Ryan Bigg
2856ac6343 Added custom search param key feature refs #43
Merges in #81
2012-04-11 11:58:27 -04:00
Ryan Bigg
25ba7e3a8f Add ability to use a named route when using sort_link
For example,

sort_link [:engine, Engine::Model.search]

Will use the engine's routing to determine where the route should go. The :engine symbol here should be the name of your engine, i.e. the engine_name setting which generally defaults to the downcased version of your engine's module.

Addresses problem discussed in #84.
2012-03-29 08:01:22 -05: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
e5c7d8be2b DRY up predicate detection, add some starter docs 2011-06-06 21:32:03 -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
742c638af6 3.0 backporting work in progress 2011-04-18 11:28:19 -04:00
Ernie Miller
294015309b Initial commit. 2011-03-30 20:31:39 -04:00