Rails 错误:incompatible with sql_mode=only_full_group_by in mysql

udasker_pictureudasker 86天前发布 0 浏览 1 关注

解决办法, 在config/database.yml中设置

development: # Or test, or production, or all of them.
  ...
  variables:
    sql_mode: TRADITIONAL