Skip to content

Instantly share code, notes, and snippets.

@deekshithh
Created July 17, 2019 11:46
Show Gist options
  • Save deekshithh/ee828165d3cff375990bcb2bc9fddf7e to your computer and use it in GitHub Desktop.
Save deekshithh/ee828165d3cff375990bcb2bc9fddf7e to your computer and use it in GitHub Desktop.
To add a session variable to mysql in rails using mysql2 gem
default: &default
adapter: mysql2
encoding: utf8
host: localhost
variables:
sql_mode: TRADITIONAL
group_concat_max_len: 100000
development:
<<: *default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment