Created
October 28, 2014 19:13
-
-
Save rodolfoasantos/e91a739d2d1064e2ca4d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| def available_options_for(item) | |
| validate_available_options(item.product).tap do |options| | |
| options << item.option unless options.include?(item.option) | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment