Nicolae Claudius
13 years ago
5 changed files with 61 additions and 48 deletions
@ -1,12 +1,11 @@ |
|||||||
Squeel.configure do |config| |
Squeel.configure do |config| |
||||||
# To load hash extensions (to allow for AND (&), OR (|), and NOT (-) against |
# To load hash extensions (to allow for AND (&), OR (|), and NOT (-) against |
||||||
# hashes of conditions) |
# hashes of conditions) |
||||||
config.load_core_extensions :hash |
|
||||||
|
|
||||||
# To load symbol extensions (for a subset of the old MetaWhere functionality, |
# To load symbol extensions (for a subset of the old MetaWhere functionality, |
||||||
# via ARel predicate methods on Symbols: :name.matches, etc) |
# via ARel predicate methods on Symbols: :name.matches, etc) |
||||||
# config.load_core_extensions :symbol |
# config.load_core_extensions :symbol |
||||||
|
|
||||||
# To load both hash and symbol extensions |
# Load both hash and symbol extensions |
||||||
config.load_core_extensions :hash, :symbol |
config.load_core_extensions :hash, :symbol |
||||||
end |
end |
||||||
|
Loading…
Reference in new issue