我刚刚更新到 Rails 4.1,mailboxer 似乎对这个变化并不满意。以下是我尝试从控制台获取收件箱时发生的情况。
[18] snifme » Master.last.mailbox.inbox
Master Load (0.6ms) SELECT "masters".* FROM "masters" ORDER BY "masters"."id" DESC LIMIT 1
PG::Error: ERROR: relation "mailboxer_notifications" does not exist
LINE 5: WHERE a.attrelid = '"mailboxer_notifications"...
^
: 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 = '"mailboxer_notifications"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
(pry) output error: #<ActiveRecord::StatementInvalid: PG::Error: ERROR: relation "mailboxer_notifications" does not exist
LINE 5: WHERE a.attrelid = '"mailboxer_notifications"...
^
: 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 = '"mailboxer_notifications"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
有什么突出的可修复的吗?我在开发环境中。谢谢