diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-09-20 04:15:13 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-09-20 04:15:13 +0300 |
commit | 69723d20024821fb4206e899ffa3acd2da690315 (patch) | |
tree | 55c9888c6652d9ca0ff78a6b584804cd47aed63e /db/fixtures | |
parent | ce8f78a57168bbacb1320a4dc4e9e79b878221d4 (diff) |
Devise 3.5.x deprecates `confirm!` in favor of `confirm`
Diffstat (limited to 'db/fixtures')
-rw-r--r-- | db/fixtures/production/001_admin.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/fixtures/production/001_admin.rb b/db/fixtures/production/001_admin.rb index 1c8740f6ba9..b0c0b6450f6 100644 --- a/db/fixtures/production/001_admin.rb +++ b/db/fixtures/production/001_admin.rb @@ -19,7 +19,7 @@ admin = User.create( admin.projects_limit = 10000 admin.admin = true admin.save! -admin.confirm! +admin.confirm if admin.valid? puts %Q[ |