motor-admin / motor-admin-rails

Low-code Admin panel and Business intelligence Rails engine. No DSL - configurable from the UI. Rails Admin, Active Admin, Blazer modern alternative.
https://app.getmotoradmin.com/demo/
MIT License
767 stars 77 forks source link

when submit a form, show Error Infomation"uninitialized constant ***" #170

Closed dongsheng88 closed 4 months ago

dongsheng88 commented 4 months ago

this is error picture: image

the docker logs

ERROR -- : [1e3ed21c-f0a0-4b3c-926d-df98d938922c] uninitialized constant Add ERROR -- : [1e3ed21c-f0a0-4b3c-926d-df98d938922c] /usr/local/bundle/gems/activesupport-7.0.4.3/lib/active_support/inflector/methods.rb:280:in constantize' /usr/local/bundle/gems/activesupport-7.0.4.3/lib/active_support/core_ext/string/inflections.rb:74:inconstantize' /opt/motor-admin/vendor/motor-admin/lib/motor/build_schema/utils.rb:23:in classify_slug' /opt/motor-admin/vendor/motor-admin/app/controllers/concerns/motor/load_and_authorize_dynamic_resource.rb:20:inblock in resource_class' /opt/motor-admin/vendor/motor-admin/app/controllers/concerns/motor/load_and_authorize_dynamic_resource.rb:18:in synchronize' /opt/motor-admin/vendor/motor-admin/app/controllers/concerns/motor/load_and_authorize_dynamic_resource.rb:18:inresource_class' /opt/motor-admin/vendor/motor-admin/app/controllers/concerns/motor/load_and_authorize_dynamic_resource.rb:32:in load_and_authorize_resource' /usr/local/bundle/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:400:inblock in make_lambda' /usr/local/bundle/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:199:in block (2 levels) in halting' /usr/local/bundle/gems/actionpack-7.0.4.3/lib/abstract_controller/callbacks.rb:34:inblock (2 levels) in ' /usr/local/bundle/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:200:in block in halting' /usr/local/bundle/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:595:inblock in invoke_before' /usr/local/bundle/gems/activesupport-7.0.4.3/lib/active_support/callbacks.rb:595:in `each' ……

dongsheng88 commented 4 months ago

the api url is wrong