Created
June 20, 2010 12:58
-
-
Save pmoran/445818 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Product | |
def self.select_satisfying(specification) | |
satisfying = specification.all | |
# apply more complex selection, such as selecting across different combination of model objects | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment