OSDN Git Service

t#30200:update i18n devise
[pettanr/pettanr.git] / app / models / user.rb
index ff5f34e..90958af 100644 (file)
@@ -9,10 +9,6 @@ class User < ActiveRecord::Base
   # Setup accessible (or protected) attributes for your model
   attr_accessible :id, :name, :password, :password_confirmation, :remember_me , :email
 
-  before_create do |r|
-    r.build_author :name => 'no name'
-  end
-  
   def create_token
     self.ensure_authentication_token
     self.save