integration/app/models/product.rb in rails3-jquery-autocomplete-0.6.6 vs integration/app/models/product.rb in rails3-jquery-autocomplete-0.7.0
- old
+ new
@@ -1,4 +1,15 @@
+# == Schema Information
+#
+# Table name: products
+#
+# id :integer not null, primary key
+# name :string(255)
+# brand_name :string(255)
+# created_at :datetime
+# updated_at :datetime
+#
+
class Product < ActiveRecord::Base
attr_accessor :brand_id
has_many :features
accepts_nested_attributes_for :features