1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00

Do not show model exist message on revoke behavior, closes #334

This commit is contained in:
José Valim 2010-06-23 10:58:10 +02:00
parent e90732c8c3
commit fccde42f20

View file

@ -23,6 +23,8 @@ module Devise
class_option :migration, :type => :boolean, :default => orm_has_migration?
def invoke_orm_model
return unless behavior == :invoke
if model_exists?
say "* Model already exists. Adding Devise behavior."
elsif options[:orm].present?