Sha256: 3ea4aeb4cf1e812aff82066635761899b319aba11eda2d46ad2a768b13927d26

Contents?: true

Size: 338 Bytes

Versions: 8

Compression:

Stored size: 338 Bytes

Contents

# == 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
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rails3-jquery-autocomplete-0.9.0 integration/app/models/product.rb
rails3-jquery-autocomplete-0.8.0 integration/app/models/product.rb
rails3-jquery-autocomplete-0.7.5 integration/app/models/product.rb
rails3-jquery-autocomplete-0.7.4 integration/app/models/product.rb
rails3-jquery-autocomplete-0.7.3 integration/app/models/product.rb
rails3-jquery-autocomplete-0.7.2 integration/app/models/product.rb
rails3-jquery-autocomplete-0.7.1 integration/app/models/product.rb
rails3-jquery-autocomplete-0.7.0 integration/app/models/product.rb