This usually means you haven't loaded your ORM file or it's being loaded too late.
To fix it, be sure to require 'devise/orm/YOUR_ORM' inside 'config/initializers/devise.rb' or
before your application definition in 'config/application.rb' (RuntimeError)
なので下記のファイルに追加 vi config/initializers/devise.rb
require 'devise/orm/active_record'
0 件のコメント:
コメントを投稿