I am new to active admin. I am using rails 3 and I create one resource
called product with the field of Name, Price, category.It runs good with
simple users but when i log in to admin and try to create new product
it gives me error like
Mysql2::Error in Admin/products#show
- where line #1 raised:
Table ‘demo2_development.active_admin_comments’ doesn’t exist
Extracted source (around line #1):
1: render renderer_for(:show)
Application Trace http://localhost:3000/admin/products/3# | Framework
Trace http://localhost:3000/admin/products/3# | Full
Show session dump http://localhost:3000/admin/products/3#
Show env dump http://localhost:3000/admin/products/3#
I think it is because there is no comment field in my database.
Is there any way to generate active_admin like devise?
If there then please tell me the command.
please tell me what to do?