Permalink
Browse files

Fix device to_json result

  • Loading branch information...
1 parent f8bae95 commit 057c9844313833ac14badff3c0681f1e6e0a57ac @amesel amesel committed May 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/models/user.rb
View
@@ -1,5 +1,5 @@
class User < ActiveRecord::Base
- attr_accessible :image, :name, :email, :password, :remember_me, :password_confirmation
+ attr_accessible :id, :image, :name, :email, :password, :remember_me, :password_confirmation
has_many :authentications
has_many :parties

0 comments on commit 057c984

Please sign in to comment.