activerecord-hackery--ransack/spec/ransack
Steve Richert e55e99fe89 Use class attributes properly so that inheritance is respected
This fixes two bugs:

1. Subclasses were not properly inheriting their parents' Ransack
   aliases in Mongoid because each class defined its very own set of
   aliases.
2. In Active Record, Ransack aliases were defined in such a way that the
   parent's (and grandparent's, etc.) aliases were overwritten by the
   child, meaning that all aliases were ultimately kept on
   ActiveRecord::Base. This has the unfortunate effect of enforcing
   uniqueness of Ransack alias names across all models rather than per
   model. Depending on the load order of models, earlier definitions of
   an alias in other models would be clobbered.
2016-08-26 13:48:59 -04:00
..
adapters/active_record Use class attributes properly so that inheritance is respected 2016-08-26 13:48:59 -04:00
helpers Standardize form_helper_spec formatting after PR #706 2016-07-30 13:59:26 +02:00
nodes Clean up specs added in PR #665 2016-05-12 21:47:56 +02:00
configuration_spec.rb allowing ':wants_array' to be passed as 'false' in predicate options 2015-03-24 09:01:37 +00:00
dependencies_spec.rb Comment out this test for now. TODO: examine this. 2015-07-26 23:49:42 +02:00
predicate_spec.rb Escape underscore wildcard for pg and mysql. 2015-09-08 16:03:15 +03:00
search_spec.rb Continuing on with / follow-up to previous commit 2015-09-25 16:26:47 +02:00
translate_spec.rb Use Model#ransack instead of Model#search in tests 2014-12-04 23:51:59 +01:00