git diff '@~..@'
Code Snippets
There are 22 posts filed in Code Snippets (this is page 5 of 5).
Fix database collections
A new fix fo database collections (with supported emoticons)
ActiveRecord::Base.connection.tables.each do |table|
ActiveRecord::Base.connection.execute( "ALTER TABLE `#{table}` CONVERT TO CHARACTER SET utf8mb4;")
end