Commit Graph

16 Commits

Author SHA1 Message Date
Zhomart Mukhamejanov 59920feb59 by default loads ActiveRecord's CONSTANTS 2014-08-02 15:16:16 -07:00
Zhomart Mukhamejanov b3234d20f3 load DERIVED_PREDICATES only if it has been defined 2014-08-01 21:12:27 -07:00
Zhomart Mukhamejanov d16c8b0c1b mongoid initialized 2014-07-31 23:42:22 -07:00
Zhomart Mukhamejanov e5b6014a53 ActiveRecord and Arel abstracted 2014-07-31 23:36:12 -07: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 575003e23f Explicitly define and require dependencies 2013-12-15 19:41:13 +01:00
Sean Linsley bb1bd746bc require the whole of Active Support's core extensions
this is a follow-up to #318
2013-12-15 11:37:23 -06:00
Tyler Hunt b1a8e020b0 Explicitly define and require dependencies. 2013-12-10 09:00:44 -05:00
Johnny Shields 9eedfb2f3d ORM agnosticism: do not `require activerecord`, and instead only load the ransack AR adapters if AR has already been defined
Fixes #296
2013-10-31 09:41:00 -04:00
Johnny Shields ff617be573 ORM agnosticism: do not `require activerecord`, and instead only load the ransack AR adapters if AR has already been defined 2013-10-30 06:46:43 +09:00
jonatack fea42266cb More Ruby 1.9 hash syntax 2013-08-12 10:27:50 +02:00
Ernie Miller 747b414110 Strip out inaccessible associations from form helper attribute collections 2011-05-30 13:00:59 -04:00
Ernie Miller 77e570cf9c Ransackers get classy. Also, laying the groundwork for authorization 2011-04-11 20:07:23 -04:00
Ernie Miller 10d720104d Initial support for polymorphic belongs_to associations 2011-04-08 11:33:10 -04:00
Ernie Miller 294015309b Initial commit. 2011-03-30 20:31:39 -04:00