mirror of
https://github.com/heartcombo/devise.git
synced 2026-01-10 08:08:00 -05:00
Merge pull request #5258 from deivid-rodriguez/fix_thor_warning
The `:orm` option can also have string values. Fixes #5252.
This commit is contained in:
@@ -13,7 +13,7 @@ module Devise
|
||||
desc "Generates a model with the given NAME (if one does not exist) with devise " \
|
||||
"configuration plus a migration file and devise routes."
|
||||
|
||||
hook_for :orm, type: :boolean
|
||||
hook_for :orm, required: true
|
||||
|
||||
class_option :routes, desc: "Generate routes", type: :boolean, default: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user