fix instruments part of payload

This commit is contained in:
Brian Smith 2012-10-29 20:56:51 -04:00
parent 662fcf0112
commit 6ba6b7d595
2 changed files with 5 additions and 1 deletions

View File

@ -2,7 +2,7 @@ module JamRuby
class User < ActiveRecord::Base
attr_accessible :name, :email, :password, :password_confirmation
attr_accessor :updating_password, :online, :photo_url
attr_accessor :updating_password
self.primary_key = 'id'

View File

@ -6,5 +6,9 @@ module JamRuby
belongs_to :user
belongs_to :instrument
def description
@description = self.instrument.description
end
end
end