diff options
| author | luu stiles <luuduong@gmail.com> | 2012-05-22 00:16:07 -0600 |
|---|---|---|
| committer | luu stiles <luuduong@gmail.com> | 2012-05-22 00:16:07 -0600 |
| commit | 3dfaf4a9f25cd8cfb88d5c458adeab49bfb2ceff (patch) | |
| tree | 7267462b24e233a3bd521cd9b7e3cea1f467303f /app/models | |
| parent | f931d3ab78fd30f63547d91c1c560055ddc64342 (diff) | |
added fields for twitter and facebooks; view, model, updated with fields and migration script created and run
Diffstat (limited to 'app/models')
| -rw-r--r-- | app/models/user.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index 1cf4c8d1..33a9e8a1 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -2,7 +2,7 @@ class User < ActiveRecord::Base validates :name, :presence => true has_many :authentications devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable - attr_accessible :name, :email, :website, :password, :password_confirmation, :remember_me + attr_accessible :name, :email, :website, :twitter, :facebook, :password, :password_confirmation, :remember_me has_many :creations, :dependent => :destroy has_many :favorites, :dependent => :destroy |
