From 9ed78331524770188e5f098a5667936b77f1ce5b Mon Sep 17 00:00:00 2001 From: Ryan Bigg Date: Wed, 11 Apr 2012 15:17:15 -0400 Subject: [PATCH] Mention that search params key is now configurable --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 11a17d634..d4a167875 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,8 @@ If you're coming from MetaSearch, things to note: 1. The default param key for search params is now `:q`, instead of `:search`. This is primarily to shorten query strings, though advanced queries (below) will still run afoul of URL length limits in most browsers and require a switch to HTTP - POST requests. + POST requests. This key is +[configurable](https://github.com/ernie/ransack/wiki/Configuration) 2. `form_for` is now `search_form_for`, and validates that a Ransack::Search object is passed to it. 3. Common ActiveRecord::Relation methods are no longer delegated by the search object.