]> projects.mako.cc - selectricity/blobdiff - app/models/user.rb
Add a fix for a NoMethodError when WHOIS/DNS server(s) time out.
[selectricity] / app / models / user.rb
old mode 100755 (executable)
new mode 100644 (file)
index 64fd71c..78266ad
@@ -4,7 +4,8 @@ class User < ActiveRecord::Base
 
   # Virtual attribute for the unencrypted password
   attr_accessor :password
-
+  attr_accessor :current_user
+  
   validates_presence_of     :login, :email
   validates_presence_of     :password,                   :if => :password_required?
   validates_presence_of     :password_confirmation,      :if => :password_required?

Benjamin Mako Hill || Want to submit a patch?