Browse files

Remove un-used method

Change-Id: I211d20581457da4c0deb458b2215a3c90d7743c5
Reviewed-on: https://gerrit.causes.com/5456
Reviewed-by: Adam Derewecki <adam@causes.com>
Tested-by: Adam Derewecki <adam@causes.com>
  • Loading branch information...
1 parent c401d43 commit c7d38414c55b6440e753c9039b8475a08d2f483b Adam Derewecki committed Apr 16, 2012
Showing with 0 additions and 8 deletions.
  1. +0 −8 app/models/user.rb
View
8 app/models/user.rb
@@ -11,14 +11,6 @@ class User < ActiveRecord::Base
validates_uniqueness_of :facebook_uid
- def self.activate!(facebook_uid, name)
- user = User.find_or_initialize_by_facebook_uid(facebook_uid)
- user.name = name
- user.active = true
- user.save
- user
- end
-
def first_name
name.to_s.split.first.to_s
end

0 comments on commit c7d3841

Please sign in to comment.