Skip to content

Instantly share code, notes, and snippets.

Avatar

Vincent Durand madwork

View GitHub Profile
View database.yml.example mysql2
# MySQL. Versions 4.1 and 5.0 are recommended.
#
# Install the MySQL driver:
# gem install mysql2
#
# And be sure to use new-style password hashing:
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
development:
adapter: mysql2
encoding: utf8
@madwork
madwork / decode_session_cookie.rb
Last active Oct 22, 2020 — forked from profh/decode_session_cookie.rb
Rails 4.1+ Decode Session
View decode_session_cookie.rb