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.
In Active Admin, all of my models form views seem to refer just one of those models
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?