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-126.96.36.199/lib/active_support/dependencies.rb:293:in `require' from /opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-188.8.131.52/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-184.108.40.206/lib/active_support/dependencies.rb:259:in `load_depen dency'
Rails ActiveAdmin : How to place filters on the top in index action
change css styles of active admin
Active admin install with Rails 4
ActiveAdmin won't save has many and belongs to many field
Truncate data in ActiveAdmin index page
Active Admin: how to set filter label dynamically
How to add an HTML-class to an ActiveAdmin index table
How to use modules to split very long code in active admin?
Downloading all records of a paginated resource in ActiveAdmin
Can you use the Form() command in ActiveAdmin in the content of a custom page?
CollectionAction route being skipped, action treated as ID
Possible to “split” an ActiveAdmin resource between multiple menu items?
Rails: activeadmin, undefined method `per' for #<ActiveRecord::Relation:0x4d15ee0>
Active Admin create form in register_page
ActiveAdmin - how to customize edit action?
ActiveAdmin - Filter with default value