activeadmin
rails concerns - superclass mismatch error with active_admin in gems list
Any advise would help. We have an active_record model and a concern defined as shown below. When we start puma server locally, everything is working fine, But when its deployed to Elastic BeanStalk web environment (64bit Amazon Linux 2016.03 v2.1.6 running Ruby 2.3 (Puma)), We get superclass mismatch error for User We have tried commenting class User in the concern and deploy to Elastic BeanStalk, this worked fine. But we want to keep the way its mentioned below. app/models/user.rb ------------------ class User < ActiveRecord::Base include User::Authenticable end app/models/concerns/user/authenticable.rb ------------------------------------------ class User module Authenticable extend ActiveSupport::Concern end end Error log: /var/app/current/app/models/user.rb:1:in `<top (required)>': superclass mismatch for class User (TypeError) from /opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `require' from /opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in `block in r equire' from /opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in `load_depen dency'
Related Links
rails mountable engine I used rails 4.2.8 and try to install active admin, It's give me error like this
Is it possible to render subscript and superscript in ActiveAdmin pages?
How to make a form row's label into a selection input for a different attribute in ActiveAdmin?
How to use Money filter in active admin?
Can a rubocop check be disabled on certain paths only?
Render plain form html from ActiveAdmin instead of full page
Customize ActiveAdmin Page based on Roles
NoMethodError error for search_methods activeadmin
rails concerns - superclass mismatch error with active_admin in gems list
How to filter by “is not” in active admin/ransack
Active Admin image upload with refile
AuthorizationAdapter in ActiveAdmin
ActiveAdmin and Rails Engine. How do you keep the path name the same?
Active admin defining scope for custom page
ActiveAdmin: Can I redirect the user to the index after they create/edit something?
Active admin and Pundit