Browse files

Add :charset and :encoding options

Signed-off-by: Piotr Usewicz <piotr@layer22.com>
  • Loading branch information...
1 parent ffe6246 commit 8c17e86f83682f9886c2fc0898142224d4f89877 Paweł Kondzior committed with Jan 12, 2009
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/rails_sequel/rails_sequel.rb
View
2 lib/rails_sequel/rails_sequel.rb
@@ -33,6 +33,8 @@ def self.options
# MSSQL support
options[:db_type] = config[:db_type] if config[:db_type]
options[:socket] = config[:socket] if config[:socket]
+ options[:charset] = config[:charset] if config[:charset]
+ options[:encoding] = config[:encoding] if config[:encoding]
options[:loggers] = [Rails.logger]
options
end

0 comments on commit 8c17e86

Please sign in to comment.