search for: option_sets

Displaying 2 results from an estimated 2 matches for "option_sets".

Did you mean: option_set
2005 Apr 13
2
Creating multiple option groups
...that are selected when a user adds the item to their cart. An OptionSet is a group of options ("Size", "Color", etc), and an ItemOption is the option itself ("12 oz", "red"). Here''s what I have so far: class Item < ActiveRecord::Base has_many :option_sets end class OptionSet < ActiveRecord::Base has_many :item_options belongs_to :item end # Has fields ''name'' and ''value'' class ItemOption < ActiveRecord::Base belongs_to :option_set end When the user chooses an item and its options, it creates an OrderIte...
2003 May 16
4
[RFC] report options
I have hinted in the past of wanting to go to a more selective control of the output of rsync. Here it is. PROBLEMS with the existing --verbose et al. The simple incrementing verbose doesn't allow one to restrict stdout to what actually is of interest. For instance inside dirvish i don't care about directories, or any kind of non-regular file because they show up every time even if