Closed Sankalp-Dwivedi closed 1 year ago
Use the bug report issue template. Especially omitting the full stack trace is very bad idea.
Pjax was removed in https://github.com/railsadminteam/rails_admin/pull/3435.
You can remove that pjax { false }
line from your config/initializers/rails_admin.rb
.
I tried updating to rails 7 but struck on this. rails - 7.0.4 ruby - 3.2.0 gem 'rails_admin', '~> 3.0'
undefined method 'pjax' for #<RailsAdmin::Config::Actions::Dropzone:0x000055802fe78e98> (NoMethodError)
1815
Reproduction steps
rails app:update
rails g rails_admin:install
Added sprockets-rails to gem also for webpacker as it now optional in rails 7
Here full stach trace
undefined method
pjax' for #My rails_admin.rb looks like this `RailsAdmin.config do |config| config.asset_source = :webpacker