mirror of
https://github.com/internetee/registry.git
synced 2025-07-27 13:06:18 +02:00
7 lines
No EOL
284 B
Ruby
7 lines
No EOL
284 B
Ruby
Ransack.configure do |config|
|
|
config.add_predicate 'contains_array',
|
|
arel_predicate: 'contains_array',
|
|
formatter: proc { |v| "{#{v}}" },
|
|
validator: proc { |v| v.present? },
|
|
type: :string
|
|
end |