1
我刚刚在linux中设置了我的rails开发环境并启动了一个新的rails应用程序。当浏览到localhost:3000或127.0.0.1:3000时,我收到错误消息:当连接到本地主机时,#<Class:0x0000000460c328>未定义的方法`raise_in_transactional_callbacks ='
undefined method `raise_in_transactional_callbacks=' for #<Class:0x0000000460c328>
我还没有编码任何东西。这发生在创建应用程序并浏览到本地主机之后。我能做些什么来解决这个问题?
的可能的复制[未定义方法加注\ _in \ _transactional \ _callbacks =” ActiveRecord的::基地:类(NoMethodError)产生时脚手架](HTTP ://stackoverflow.com/questions/28006358/undefined-method-raise-in-transactional-callbacks-for-activerecordbaseclass) – 2017-05-18 15:30:59