且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

未定义的方法`mysql_connection'为的ActiveRecord :: Base的:类

更新时间:2023-02-07 19:06:00

感谢的所有人 错误是决心有宝石的依赖问题 我已经使用宝石mysql2,ActiveRecord的-mysql2适配器,MySQL的所以有冲突的错误,而不是它,我有只使用mysql2宝石更改适配器MySQL来mysql2

Thank's everyone The error was resolve there is gem dependency issue i have use gem mysql2 , activerecord-mysql2-adapter , mysql so there is conflicts error instead of it I have use only mysql2 gem change the adapter mysql to mysql2