Active Admin problem

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 then it gives me error like

Error

have u ran command
rake db:migrate

yes i have
I think it is because there is no comment field in my database and
active admin show page is going for the comment and not found comment
in database.
is there anyway to generate views in active admin?

You have to generate active admin migrations first and then need to migrate those tables in db.

rails generate active_admin:install
rake db:migrate

I am doing exactly that.
I have run
rails generate active_admin:install
rake db:migrate command.
there is command like rails generate devise_views is there command for
active_admin???