integration/app/models/product.rb in rails3-jquery-autocomplete-0.6.1 vs integration/app/models/product.rb in rails3-jquery-autocomplete-0.6.2
- old
+ new
@@ -1,3 +1,6 @@
class Product < ActiveRecord::Base
attr_accessor :brand_id
+
+ has_many :features
+ accepts_nested_attributes_for :features
end