This project is archived and is in readonly mode.
Patch: Access to more Arel predicate types from where condition hash
-
Ernie Miller
- No changes were found…
-
Ernie Miller
Actually, attaching my Arel patch as well, for reference.
-
Ernie Miller
Minor improvement to the check to valid comparison methods (check that method matches a method in Arel::Attribute::Predications instead of just checking if the attribute responds to the method)
-
Ernie Miller
Minor improvement to the check to valid comparison methods (check that method matches a method in Arel::Attribute::Predications instead of just checking if the attribute responds to the method)
-
Ernie Miller
Improvement to the way that I was checking for valid comparison method. Check for method in Arel::Attribute::Predicates instead of just checking if the attribute responds to the method.
-
Ernie Miller
Minor improvement to the check to valid comparison methods (check that method matches a method in Arel::Attribute::Predications instead of just checking if the attribute responds to the method)
-
Ernie Miller
- Tag changed from activerelation, arel, patch, predicate_builder to activerelation, arel, feature, patch, tests
Yikes. Sorry about the multiple posts. Lighthouse was "timing out" when I was posting earlier.
-
Ernie Miller
Small update to improved arel predicates.
-
Ernie Miller
- Assigned user set to Pratik
Pratik: Thanks again for the discussion today regarding this patch. Based on our talk, I've rolled the improved hash condition handling into a gem at http://github.com/ernie/meta_where.
Please feel free to check it out and give me feedback!
-
Rohit Arondekar
Any updates to this ticket? Does the plugin do what the patch intended to? Does this mean this ticket can be closed?
-
Ernie Miller
The gem does everything described in the patch and more. See http://metautonomo.us/projects/metawhere for details. Yes, this ticket can be closed. :)
-
Pratik
- State changed from new to wontfix
