From d3ade19fd1f835d6ba0dc4fcef1806ce53d08b5f Mon Sep 17 00:00:00 2001 From: Holger Just Date: Sun, 22 Aug 2010 18:23:42 +0200 Subject: [PATCH] Rephrase comment --- app/controllers/admin_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb index 3bebeb658..1e65f6b59 100644 --- a/app/controllers/admin_controller.rb +++ b/app/controllers/admin_controller.rb @@ -106,7 +106,7 @@ class AdminController < ApplicationController when 'PostgreSQL' ActiveRecord::Base.connection.encoding when 'SQLite' - # copied straight from ActiveRecord::ConnectionAdapters::SQLite3Adapter.encoding + # works like ActiveRecord::ConnectionAdapters::SQLite3Adapter.encoding # of the Rails3 Sqlite3 adapter if ActiveRecord::Base.connection.respond_to?(:encoding) ActiveRecord::Base.connection.encoding[0]['encoding']