Permalink
Browse files

renamed class SQLiteColumn to SQLite3Column

  • Loading branch information...
1 parent 3cc9b5f commit dd05a49a4aa037ed2dc95339c5e0c8eab75f862e @aderyabin aderyabin committed Apr 27, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb
@@ -37,7 +37,7 @@ def sqlite3_connection(config) # :nodoc:
end
module ConnectionAdapters #:nodoc:
- class SQLiteColumn < Column #:nodoc:
+ class SQLite3Column < Column #:nodoc:
class << self
def binary_to_string(value)
if value.encoding != Encoding::ASCII_8BIT
@@ -380,7 +380,7 @@ def table_exists?(name)
name && tables('SCHEMA', name).any?
end
- # Returns an array of +SQLiteColumn+ objects for the table specified by +table_name+.
+ # Returns an array of +SQLite3Column+ objects for the table specified by +table_name+.
def columns(table_name) #:nodoc:
table_structure(table_name).map do |field|
case field["dflt_value"]
@@ -392,7 +392,7 @@ def columns(table_name) #:nodoc:
field["dflt_value"] = $1.gsub('""', '"')
end
- SQLiteColumn.new(field['name'], field['dflt_value'], field['type'], field['notnull'].to_i == 0)
+ SQLite3Column.new(field['name'], field['dflt_value'], field['type'], field['notnull'].to_i == 0)
end
end

0 comments on commit dd05a49

Please sign in to comment.