I have the following tables
Ads - contains ads by people
Options - contains options (all are yes or no like a check box) for
each ad; examples (assuming it is a car ad) Air_condition,
Auto_Transmission, Keyless_entry, etc.
Each option will have a yes or no value.
the table ad_options will contain actual values for each ad for the
class Ad < ActiveRecord::Base
has_many :options, :through => :ad_options
Is the above statement correct? if yes how can I use the mtm
relationship in views to show and update options. This will give me
the flexibility to add options without changing the code.
Thanks a lot for your help