I am developing Rails application where used rails_admin gem
. But when I tried to create new user
at that time password field not display
in admin and Not able to create new user.
I got below error:
undefined method `new' for #<RailsAdmin::Config::Sections::Base:0x000000088d5d08>
Anyone have a idea or experience in it. Where I am missing or doing wrong.
Thanks in advance.
You are going to have to change new
to edit
: https://github.com/sferik/rails_admin/wiki/Fields#form-rendering . Both methods use the same partial and/or rendering logic.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.