Sha256: d3f2c3222e64f15a9d9dcf35ff5717d6b010ce6b5726679c77d8996003db9e8d

Contents?: true

Size: 1.28 KB

Versions: 18

Compression:

Stored size: 1.28 KB

Contents

gem 'ransack'

create_file "config/initializers/ransack.rb", <<-RUBY
Ransack.configure do |config|
  # config.add_predicate 'equals_diddly', # Name your predicate
  #                      # What non-compound ARel predicate will it use? (eq, matches, etc)
  #                      :arel_predicate => 'eq',
  #                      # Format incoming values as you see fit. (Default: Don't do formatting)
  #                      :formatter => proc {|v| "#{v}-diddly"},
  #                      # Validate a value. An "invalid" value won't be used in a search.
  #                      # Below is default.
  #                      :validator => proc {|v| v.present?},
  #                      # Should compounds be created? Will use the compound (any/all) version
  #                      # of the arel_predicate to create a corresponding any/all version of
  #                      # your predicate. (Default: true)
  #                      :compounds => true,
  #                      # Force a specific column type for type-casting of supplied values.
  #                      # (Default: use type from DB column)
  #                      :type => :string
end
RUBY

__END__

name: Ransack
description: Extensible searching for Rails - successor to ransack

category: search
exclusive: search
tags: [search]


Version data entries

18 entries across 18 versions & 3 rubygems

Version Path
appscrolls-0.11.2 scrolls/untested/ransack.rb
appscrolls-0.11.1 scrolls/untested/ransack.rb
appscrolls-0.11.0 scrolls/untested/ransack.rb
appscrolls-0.10.1 scrolls/untested/ransack.rb
appscrolls-0.10.0 scrolls/untested/ransack.rb
appscrolls-0.9.0 scrolls/untested/ransack.rb
appscrolls-0.8.4 scrolls/zzz/ransack.rb
appscrolls-0.8.3 scrolls/zzz/ransack.rb
appscrolls-0.8.2 scrolls/zzz/ransack.rb
appscrolls-0.8.1 scrolls/zzz/ransack.rb
appscrolls-0.8.0 scrolls/zzz/ransack.rb
appscrolls-0.7.1 scrolls/zzz/ransack.rb
appscrolls-0.7.0 scrolls/zzz/ransack.rb
eldarscrolls-0.7.0 scrolls/zzz/ransack.rb
ey_rails_wizard-0.6.0 scrolls/zzz/ransack.rb
ey_rails_wizard-0.5.0 scrolls/ransack.rb
ey_rails_wizard-0.4.0 scrolls/ransack.rb
ey_rails_wizard-0.3.1 recipes/ransack.rb