For me, the big advantage the last has is that the conditions are abstracted away from SQL, and in a format that's easy to manipulate. That said, I've got no strong desire to see it in rails core; I can get this functionality through my plugin easily enough.
I'm sold on the part that just gives you and easy option of turning hashes into AND structures. So that'll go in core.
What would be nice though (for this and other plugins) would be some refactoring of parts of rails to make it easier to write plugins. If 'make a plugin' is going to be the default response to patches, then making plugin creation easier has got to be a worthwhile goal.
What parts in particular would you like to see refactored? -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal information manager http://www.rubyonrails.com -- Web-application framework _______________________________________________ Rails-core mailing list [email protected] http://lists.rubyonrails.org/mailman/listinfo/rails-core
