jeudi 9 juillet 2015

ActiveRecord::StatementInvalid in Ckeditor::AttachmentFilesController#index

I have ckeditor istalled on my ruby on rails app but getting this error when try to upload image through link button

ActiveRecord::StatementInvalid in Ckeditor::AttachmentFilesController#index 


PG::Error: ERROR:  relation "ckeditor_assets" does not exist
LINE 5:              WHERE a.attrelid = '"ckeditor_assets"'::regclas...
                                        ^
:             SELECT a.attname, format_type(a.atttypid, a.atttypmod),
                     pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
              FROM pg_attribute a LEFT JOIN pg_attrdef d
                ON a.attrelid = d.adrelid AND a.attnum = d.adnum
             WHERE a.attrelid = '"ckeditor_assets"'::regclass
               AND a.attnum > 0 AND NOT a.attisdropped
             ORDER BY a.attnum

Aucun commentaire:

Enregistrer un commentaire