You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
448 B
13 lines
448 B
13 years ago
|
Squeel.configure do |config|
|
||
|
# To load hash extensions (to allow for AND (&), OR (|), and NOT (-) against
|
||
|
# hashes of conditions)
|
||
|
config.load_core_extensions :hash
|
||
|
|
||
|
# To load symbol extensions (for a subset of the old MetaWhere functionality,
|
||
|
# via ARel predicate methods on Symbols: :name.matches, etc)
|
||
|
# config.load_core_extensions :symbol
|
||
|
|
||
|
# To load both hash and symbol extensions
|
||
|
config.load_core_extensions :hash, :symbol
|
||
|
end
|