Ruby on Rails Thursday, January 2, 2020

I'm thinking I'm getting this is because of mysql sql_mode traditional vs strict When I run select @@sql_mode on mysql console it returns a list of modes which include TRADITIONAL somewhere in the middle of the list

database.yml

default: &default
  adapter: mysql2
  encoding: utf8
  pool: 5
  socket: /var/run/mysqld/mysqld.sock


development:
  <<: *default
  database: mydb_development
  username: myusername
  password: mypassword
  sql_mode: TRADITIONAL

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/7349aa08-8212-4c18-981e-fb1412e8118d%40googlegroups.com.

No comments:

Post a Comment