irmiller22
9cd869431c
updated rspec gemspec version to 2.14.0, changed old should syntax to newer expect syntax
2014-05-15 14:29:46 -04:00
Jon Atack
1abf8f6086
Maintain Ruby 1.8.7 syntax compatibility
...
since Rails 3.x stills supports Ruby 1.8.7 as per
http://guides.rubyonrails.org/v3.2.17/getting_started.html :
“Ruby language version 1.8.7 or higher.”
2014-05-01 15:55:39 +02:00
Washington Luiz
b4973315e9
Merge branch 'master' into bring-rails-3
...
Conflicts:
.travis.yml
Gemfile
README.md
lib/ransack/adapters/active_record/3.0/context.rb
lib/ransack/adapters/active_record/3.1/context.rb
lib/ransack/adapters/active_record/3.2/context.rb
lib/ransack/adapters/active_record/base.rb
lib/ransack/adapters/active_record/context.rb
lib/ransack/constants.rb
lib/ransack/context.rb
lib/ransack/helpers/form_builder.rb
lib/ransack/helpers/form_helper.rb
lib/ransack/nodes/attribute.rb
lib/ransack/nodes/condition.rb
lib/ransack/nodes/grouping.rb
lib/ransack/nodes/sort.rb
lib/ransack/predicate.rb
lib/ransack/translate.rb
ransack.gemspec
spec/blueprints/people.rb
spec/ransack/adapters/active_record/base_spec.rb
spec/ransack/adapters/active_record/context_spec.rb
spec/ransack/configuration_spec.rb
spec/ransack/dependencies_spec.rb
spec/ransack/helpers/form_builder_spec.rb
spec/ransack/helpers/form_helper_spec.rb
spec/ransack/predicate_spec.rb
spec/ransack/search_spec.rb
spec/ransack/translate_spec.rb
spec/support/schema.rb
2014-04-10 00:28:29 -03:00
jonatack
787eb3c1d1
Code cleanup
2013-12-15 19:27:50 +01:00
jonatack
1e24b60906
Code cleanup
2013-12-15 13:30:27 +01:00
jonatack
49c1e3134c
Use Ruby 1.9 hash syntax
2013-08-04 15:13:41 +02:00
Asfand Qazi
afdd357fae
Allow adding of custom predicates that take arrays (like IN/NOT IN)
2012-05-02 07:54:12 +01:00
Ryan Bigg
e69031b78a
Correct search_key= usage in configuration_spec
...
Fixes broken build #30
2012-04-11 16:44:10 -04:00
Marek Hulan
9a71cbf8b8
Added custom search param key feature refs #43
...
Including specs. I didn't find any other sane place where a behaviour
should be changed. I don't understand why you define :q in
Ransack::Naming::Name so I ignored it. Still seems to work pretty good
in sort_link helper.
Enabled global search_key configuration refs #81
You can configure new default search key parameter
(default is still :q). Specs are included as well.
New functionality is documented in README.md
I also removed my specifis lines from .gitignore.
2012-04-11 14:29:30 -04:00
Ernie Miller
62b7bd2de8
Enable TravisCI, add spec for add_predicate
2011-07-17 19:04:00 -04:00
Ernie Miller
cec4e3d64f
Fix/add specs, remove duplicate base.rb for edge and 3.0
2011-06-04 18:01:12 -04:00
Ernie Miller
294015309b
Initial commit.
2011-03-30 20:31:39 -04:00