Skip to content

Commit

Permalink
updated the devise gem and removed the after create email sending
Browse files Browse the repository at this point in the history
  • Loading branch information
hlee committed Aug 31, 2013
1 parent 27cec83 commit 846868e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ gem 'vacuum', '0.3.0'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'

gem 'devise', '3.0.0.rc'
gem 'devise' #, '3.0.0.rc'
gem 'protected_attributes'


Expand Down
12 changes: 6 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ GEM
thread_safe (~> 0.1)
tzinfo (~> 0.3.37)
arel (4.0.0)
atomic (1.1.12)
atomic (1.1.13)
awesome_print (1.1.0)
bcrypt-ruby (3.1.1)
bcrypt-ruby (3.1.2)
better_errors (0.9.0)
coderay (>= 1.0.0)
erubis (>= 2.6.6)
Expand Down Expand Up @@ -97,11 +97,11 @@ GEM
debugger-ruby_core_source (~> 1.2.3)
debugger-linecache (1.2.0)
debugger-ruby_core_source (1.2.3)
devise (3.0.0.rc)
devise (3.0.3)
bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 3.2.6, < 5)
warden (~> 1.2.1)
warden (~> 1.2.3)
diff-lcs (1.2.4)
erubis (2.7.0)
excon (0.16.10)
Expand All @@ -118,7 +118,7 @@ GEM
gherkin (2.12.1)
multi_json (~> 1.3)
hike (1.2.3)
i18n (0.6.4)
i18n (0.6.5)
jasmine (1.3.2)
jasmine-core (~> 1.3.1)
rack (~> 1.0)
Expand Down Expand Up @@ -250,7 +250,7 @@ DEPENDENCIES
cucumber-rails
cucumber-rails-training-wheels
database_cleaner
devise (= 3.0.0.rc)
devise
factory_girl_rails
faker (= 1.0.1)
jasmine
Expand Down
2 changes: 1 addition & 1 deletion app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

class User < ActiveRecord::Base
# before_create :set_user_blocked
after_create :email_admin_and_user
# after_create :email_admin_and_user

# Include default devise modules. Others available are:
# :token_authenticatable, :confirmable,
Expand Down

0 comments on commit 846868e

Please sign in to comment.