Permalink
Browse files

Added the username attribute to attr_accessible in order to get the b…

…uild passing
  • Loading branch information...
batasrki committed Mar 13, 2013
1 parent 3583f49 commit 8e857690a86a07de5f3cffdac73f561c77dd68c2
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/rails3/app/models/user.rb
@@ -1,5 +1,5 @@
class User < ActiveRecord::Base
- attr_accessible :email, :password, :password_confirmation, :authentications_attributes
+ attr_accessible :username, :email, :password, :password_confirmation, :authentications_attributes
has_many :authentications, :dependent => :destroy
accepts_nested_attributes_for :authentications

0 comments on commit 8e85769

Please sign in to comment.