目前我有这样的:
class Group < ActiveRecord::Base
delegate :publish_group_creation, :to => 'MyAppModules::Publisher'
after_create :publish_group_creation
end
的事情是,Publisher.publish_group_crea
我部署了一个Web应用程序到CloudBees,并使用一键GUI创建了一个MySQL数据库。它看起来像auto_increment_increment选项设置为10(表中的id在每个新行中增加10)。我试图改变auto_increment_increment: SET GLOBAL auto_increment_increment=1;
但我得到了一个错误:Error Code: 1227.