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

README: update links to "activerecord-hackery"

This commit is contained in:
jonatack 2013-12-09 11:00:21 +01:00
parent 06f99e424c
commit b251fd1a0e

View file

@ -10,7 +10,7 @@ Ransack enables the creation of both simple and [advanced](http://ransack-demo.h
search forms against your application's models. If you're looking for something that
simplifies query generation at the model or controller layer, you're probably not looking
for Ransack (or MetaSearch, for that matter). Try
[Squeel](https://github.com/ernie/squeel) instead.
[Squeel](https://github.com/activerecord-hackery/squeel) instead.
## Getting started
@ -47,7 +47,7 @@ If you're coming from MetaSearch, things to note:
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. This key is
[configurable](https://github.com/ernie/ransack/wiki/Configuration)
[configurable](https://github.com/activerecord-hackery/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.
@ -84,7 +84,7 @@ In your view:
```
`cont` (contains) and `start` (starts with) are just two of the available search predicates.
See [Constants](https://github.com/ernie/ransack/blob/master/lib/ransack/constants.rb) for a full list and the [wiki](https://github.com/ernie/ransack/wiki/Basic-Searching) for more description.
See [Constants](https://github.com/activerecord-hackery/ransack/blob/master/lib/ransack/constants.rb) for a full list and the [wiki](https://github.com/activerecord-hackery/ransack/wiki/Basic-Searching) for more description.
### Advanced Mode