Skip to content

Instantly share code, notes, and snippets.

@beverlynelson
Created November 26, 2012 04:39
Show Gist options
  • Save beverlynelson/4146638 to your computer and use it in GitHub Desktop.
Save beverlynelson/4146638 to your computer and use it in GitHub Desktop.
customer.rb
class Customer < ActiveRecord::Base
belongs_to :user
has_many :notes
attr_accessible :address_city, :address_state, :address_state, :address_street, :email, :id, :name_company, :name_first, :name_last, :phone, :postal_code, :image
mount_uploader :image, ImageUploader
attr_accessible :image
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment