Class KotobaUtf8::SetNamesUtf8
In: lib/kotoba_utf8.rb
Parent: Object

Methods

filter  

Public Class methods

[Source]

   # File lib/kotoba_utf8.rb, line 3
3:     def self.filter(controller)
4:       suppress(ActiveRecord::StatementInvalid) do
5:         ActiveRecord::Base.connection.execute 'SET NAMES UTF8'
6:       end
7:       
8:       true
9:     end

[Validate]