uninitialized constant [Active Admin]
I have error message "uninitialized constant Slideapp::Appinfos" My database have 2 table is appinfo and slideapp.This is code in my model class Appinfo < ActiveRecord::Base has_many :slideapps accepts_nested_attributes_for :slideapps end class Slideapp < ActiveRecord::Base belongs_to :appinfos end How do I fix this problem ?
This is unrelated to ActiveAdmin. Your belongs_to should use the singular form of Appinfo: class Slideapp < ActiveRecord::Base belongs_to :appinfo # <= use of singular Appinfo end As it is now Rails is trying to autoload the class Appinfos, which doesn't exist.
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
Sortable for has_many does not sort properly
select2 remove tag_list item
Adding Numeric Range Filtering to ActiveAdmin
undefined method `destroy_user_session_path' for active admin with cancancan and sorcery
Active admin not working in production mode
ActiveAdmin cannot authorize in rails-api project
How can I create an ActiveAdmin filter that will show only objects without a value specified?