Skip to content

Commit

Permalink
Mention that search params key is now configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
radar committed Apr 11, 2012
1 parent adf4044 commit 9ed7833
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9ed7833

Please sign in to comment.