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.
11 lines
409 B
11 lines
409 B
Squeel.configure do |config| |
|
# To load hash extensions (to allow for AND (&), OR (|), and NOT (-) against |
|
# hashes of conditions) |
|
|
|
# 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 |
|
|
|
# Load both hash and symbol extensions |
|
config.load_core_extensions :hash, :symbol |
|
end
|
|
|