-
Notifications
You must be signed in to change notification settings - Fork 369
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Grant Hutchins & Rachel Heaton
committed
Jan 14, 2011
1 parent
75961fd
commit 89d6127
Showing
4 changed files
with
9 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,3 @@ | ||
### 0.0.3 | ||
### 0.0.1 | ||
|
||
Do not accept :joins as an option to pg_search_scope | ||
|
||
### 0.0.2 | ||
|
||
Changed the DSL for searching associated models to allow for searching | ||
multiple associations. | ||
|
||
has_many :things | ||
pg_search_scope :search, :against => :name, :against_associated => {:things => :title} | ||
|
||
against_associated accepts a hash where the key is the name of an association | ||
and the value is structured like against. For example, the value can be a | ||
symbol, an array with weights, etc... | ||
Initial release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module PgSearch | ||
VERSION = "0.0.3" | ||
VERSION = "0.0.1" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters